Version Description
- internal code improvements
Download this release
Release Info
Developer | artemopinionstage |
Plugin | Poll, Survey, Quiz, Slideshow, Form, Story & Landing Page |
Version | 19.8.9 |
Comparing to | |
See all releases |
Code changes from version 19.8.8 to 19.8.9
- admin/content-popup-template.html.php +33 -145
- admin/content-popup.php +29 -23
- admin/css/menu-page.css +1 -1
- admin/js/content-popup.js +5 -5
- admin/js/menu-page.js +18 -151
- admin/menu-page.php +15 -0
- admin/resources/common.php +13 -13
- admin/template-parts/my-items-tbody-element.php +0 -51
- admin/template-parts/vue/create-screen.php +104 -0
- admin/template-parts/vue/widget-list.php +157 -0
- admin/views/settings.php +30 -159
- assets/admin/src/menu-page.scss +15 -189
- assets/content-popup/app/components/popup-content.js +1 -1
- assets/content-popup/app/index.js +4 -1
- assets/content-popup/index.js +27 -0
- assets/content-popup/styles/content-popup.scss +53 -32
- assets/content-popup/webpack.config.js +1 -1
- assets/content-popup/widget-list.js +41 -0
- includes/opinionstage-ajax-functions.php +0 -96
- opinionstage-polls.php +1 -1
- plugin.php +2 -2
- readme.txt +3 -1
admin/content-popup-template.html.php
CHANGED
@@ -10,7 +10,8 @@ defined( 'ABSPATH' ) || die();
|
|
10 |
require_once plugin_dir_path( __FILE__ ) . '../includes/opinionstage-client-session.php';
|
11 |
|
12 |
$opinionstage_user_logged_in = opinionstage_user_logged_in();
|
13 |
-
|
|
|
14 |
// Note: all html put here (not moved to js build system) in order to preserve ability to use WordPress translate APIs.
|
15 |
?>
|
16 |
<style type="text/css">
|
@@ -23,14 +24,22 @@ $opinionstage_user_logged_in = opinionstage_user_logged_in();
|
|
23 |
<template data-opinionstage-content-popup-template>
|
24 |
<div class='opinionstage-content-popup-contents' data-opinionstage-content-popup data-opinionstage-client-logged-in="<?php echo esc_attr( $opinionstage_user_logged_in ); ?>">
|
25 |
<header class='header'>
|
26 |
-
<div class='header__container'>
|
27 |
<div class='header__logo'>
|
28 |
<a href='<?php echo esc_url( OPINIONSTAGE_SERVER_BASE ); ?>' target='_blank'>
|
29 |
<img src='<?php echo esc_url( plugins_url( 'admin/images/os-logo-header.png', plugin_dir_path( __FILE__ ) ) ); ?>'>
|
30 |
</a>
|
31 |
</div>
|
32 |
<div class='header__action'>
|
33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
</div>
|
35 |
</div>
|
36 |
</header>
|
@@ -38,6 +47,7 @@ $opinionstage_user_logged_in = opinionstage_user_logged_in();
|
|
38 |
<popup-content
|
39 |
:client-is-logged-in="isClientLoggedIn"
|
40 |
:modal-is-opened="isModalOpened"
|
|
|
41 |
:widget-type="widgetType"
|
42 |
@widget-selected="selectWidgetAndExit"
|
43 |
client-widgets-url="<?php echo esc_url( OPINIONSTAGE_CONTENT_POPUP_CLIENT_WIDGETS_API ); ?>"
|
@@ -51,138 +61,7 @@ $opinionstage_user_logged_in = opinionstage_user_logged_in();
|
|
51 |
</template>
|
52 |
|
53 |
<template id="opinionstage-widget-list">
|
54 |
-
|
55 |
-
<div class='content-actions'>
|
56 |
-
<div class='content-actions__left'>
|
57 |
-
<h1 class="main-title"><?php esc_html_e( 'My Items', 'social-polls-by-opinionstage' ); ?></h1>
|
58 |
-
</div>
|
59 |
-
<div class="content-actions__right">
|
60 |
-
<div class='filter'>
|
61 |
-
<div class="dropdown dropdown_items">
|
62 |
-
<button class="dropbtn"><span>{{ selectedWidgetTitle }}</span></button>
|
63 |
-
<div class="dropdown-content">
|
64 |
-
<div class='filter__itm'
|
65 |
-
@click="selectWidgetType('all')"
|
66 |
-
:class="{ active: selectedWidgetType === 'all' }"
|
67 |
-
><?php esc_html_e( 'all items', 'social-polls-by-opinionstage' ); ?></div>
|
68 |
-
<div class='filter__itm'
|
69 |
-
@click="selectWidgetType('poll')"
|
70 |
-
:class="{ active: selectedWidgetType === 'poll' }"
|
71 |
-
><?php esc_html_e( 'poll', 'social-polls-by-opinionstage' ); ?></div>
|
72 |
-
<div class='filter__itm'
|
73 |
-
@click="selectWidgetType('survey')"
|
74 |
-
:class="{ active: selectedWidgetType === 'survey' }"
|
75 |
-
><?php esc_html_e( 'survey', 'social-polls-by-opinionstage' ); ?></div>
|
76 |
-
<div class='filter__itm'
|
77 |
-
@click="selectWidgetType('trivia')"
|
78 |
-
:class="{ active: selectedWidgetType === 'trivia' }"
|
79 |
-
><?php esc_html_e( 'trivia quiz', 'social-polls-by-opinionstage' ); ?></div>
|
80 |
-
<div class='filter__itm'
|
81 |
-
@click="selectWidgetType('outcome')"
|
82 |
-
:class="{ active: selectedWidgetType === 'outcome' }"
|
83 |
-
><?php esc_html_e( 'personality quiz', 'social-polls-by-opinionstage' ); ?></div>
|
84 |
-
<div class='filter__itm'
|
85 |
-
@click="selectWidgetType('form')"
|
86 |
-
:class="{ active: selectedWidgetType === 'form' }"
|
87 |
-
><?php esc_html_e( 'standard form', 'social-polls-by-opinionstage' ); ?></div>
|
88 |
-
</div>
|
89 |
-
</div>
|
90 |
-
</div>
|
91 |
-
<div class="os-search" :class='{ hidden: !showSearch }'>
|
92 |
-
<input
|
93 |
-
class='os-search__input'
|
94 |
-
placeholder='Search...'
|
95 |
-
type='search'
|
96 |
-
v-model='widgetTitleSearch'
|
97 |
-
>
|
98 |
-
<span class="os-search__icon icon-os-plugin-common-search"></span>
|
99 |
-
</div>
|
100 |
-
<div class="content-actions__sep"></div>
|
101 |
-
|
102 |
-
<a href="<?php echo esc_url( add_query_arg( 'w_type', 'all', OPINIONSTAGE_REDIRECT_CREATE_WIDGET_API_UTM ) ); ?>" class="opinionstage-blue-btn" target="_blank"><?php esc_html_e( 'Create', 'social-polls-by-opinionstage' ); ?></a>
|
103 |
-
</div>
|
104 |
-
</div>
|
105 |
-
<div class='content__list'>
|
106 |
-
<div v-if='hasData'>
|
107 |
-
<div class='content__itm' v-for="widget in widgets">
|
108 |
-
<a target="_blank" :href='widget.landingPageUrl'>
|
109 |
-
<div class='content__image'>
|
110 |
-
<img :src='widget.imageUrl'>
|
111 |
-
<div class='content__label'>{{ widget.type }}</div>
|
112 |
-
</div>
|
113 |
-
</a>
|
114 |
-
<div class='content__info'>
|
115 |
-
<span v-if="widget.isDraft" class="opinionstage-draft"><?php esc_html_e( 'draft', 'social-polls-by-opinionstage' ); ?></span>
|
116 |
-
<a target="_blank" :href='widget.editUrl'>
|
117 |
-
<span class="content__info-title">{{ widget.title }}</span>
|
118 |
-
<div class="content__info-details">
|
119 |
-
<span class="os-icon-plugin icon-os-common-date"></span>
|
120 |
-
{{ widget.updatedAt | moment('DD MMMM YYYY') }}
|
121 |
-
<span v-if="widget.isClosed">
|
122 |
-
<span class="opinionstage-with-separator">
|
123 |
-
<span class="icon-os-status-closed"></span>
|
124 |
-
<?php esc_html_e( 'closed', 'social-polls-by-opinionstage' ); ?>
|
125 |
-
</span>
|
126 |
-
</span>
|
127 |
-
<span v-if="widget.isOpen">
|
128 |
-
<span class="opinionstage-with-separator">
|
129 |
-
<span class="icon-os-status-open"></span>
|
130 |
-
<?php esc_html_e( 'open', 'social-polls-by-opinionstage' ); ?>
|
131 |
-
</span>
|
132 |
-
</span>
|
133 |
-
</div>
|
134 |
-
</a>
|
135 |
-
</div>
|
136 |
-
<div class='content__links'>
|
137 |
-
<button class='popup-content-btn content__links-itm' @click="select(widget)" ><?php esc_html_e( 'insert', 'social-polls-by-opinionstage' ); ?></button>
|
138 |
-
<div class="dropdown dropdown-popup-action">
|
139 |
-
<div class="popup-action popup-content-btn"></div>
|
140 |
-
<div class="popup-action-dropdown dropdown-content">
|
141 |
-
<a class='content__links-itm' target="_blank" :href='widget.landingPageUrl'><?php esc_html_e( 'view', 'social-polls-by-opinionstage' ); ?></a>
|
142 |
-
<a class='content__links-itm' target="_blank" :href='widget.editUrl' v-show="!widget.template"><?php esc_html_e( 'edit', 'social-polls-by-opinionstage' ); ?></a>
|
143 |
-
<a class='content__links-itm' target="_blank" :href='widget.statsUrl' v-show="!widget.template"><?php esc_html_e( 'Results', 'social-polls-by-opinionstage' ); ?></a>
|
144 |
-
</div>
|
145 |
-
</div>
|
146 |
-
</div>
|
147 |
-
</div>
|
148 |
-
<div class='content__loading' v-if='dataLoading'>
|
149 |
-
<?php esc_html_e( 'loading...', 'social-polls-by-opinionstage' ); ?>
|
150 |
-
</div>
|
151 |
-
<div v-else>
|
152 |
-
<button
|
153 |
-
class='btn-show-more'
|
154 |
-
v-if='!noMoreData'
|
155 |
-
@click='showMore'
|
156 |
-
><?php esc_html_e( 'Click for more', 'social-polls-by-opinionstage' ); ?></button>
|
157 |
-
</div>
|
158 |
-
</div>
|
159 |
-
<div v-else>
|
160 |
-
<?php esc_html_e( 'No items found', 'social-polls-by-opinionstage' ); ?>
|
161 |
-
</div>
|
162 |
-
</div>
|
163 |
-
<div class="selected-draft" v-if="selectedDraftWidget.editUrl">
|
164 |
-
<div class="selected-draft__container">
|
165 |
-
<div>
|
166 |
-
<span id="opinionstage-dialog-close" class="opinionstage-close" @click="selectedDraftWidget = !selectedDraftWidget"></span>
|
167 |
-
<div class="selected-draft__message">
|
168 |
-
<p>
|
169 |
-
<?php
|
170 |
-
printf(
|
171 |
-
'%s <a :href="selectedDraftWidget.editUrl" target="_ blank">%s</a> %s',
|
172 |
-
esc_html__( 'Widget is not published yet. Please', 'social-polls-by-opinionstage' ),
|
173 |
-
esc_html__( 'edit', 'social-polls-by-opinionstage' ),
|
174 |
-
esc_html__( 'the widget to publish it', 'social-polls-by-opinionstage' )
|
175 |
-
);
|
176 |
-
?>
|
177 |
-
</p>
|
178 |
-
<p>
|
179 |
-
<?php esc_html_e( 'Need Help?', 'social-polls-by-opinionstage' ); ?>
|
180 |
-
<a href="<?php echo esc_url( OPINIONSTAGE_LIVE_CHAT_URL_UTM ); ?>" target="_blank"><?php esc_html_e( 'Contact Us' ); ?></a></p>
|
181 |
-
</div>
|
182 |
-
</div>
|
183 |
-
</div>
|
184 |
-
</div>
|
185 |
-
</div>
|
186 |
</template>
|
187 |
|
188 |
<template id="opinionstage-popup-content">
|
@@ -190,16 +69,25 @@ $opinionstage_user_logged_in = opinionstage_user_logged_in();
|
|
190 |
<div v-if="newWidgetsAvailable" class="notification-container">
|
191 |
<notification v-on:update-btn-click='reloadAndRestartCheckingForUpdates'>
|
192 |
</div>
|
193 |
-
<
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
</div>
|
204 |
<div class='page-content' v-else>
|
205 |
<h1 class='main-title'>
|
10 |
require_once plugin_dir_path( __FILE__ ) . '../includes/opinionstage-client-session.php';
|
11 |
|
12 |
$opinionstage_user_logged_in = opinionstage_user_logged_in();
|
13 |
+
$os_options = (array) get_option( OPINIONSTAGE_OPTIONS_KEY );
|
14 |
+
$is_my_items_admin_page = opinionstage_is_my_items_admin_page();
|
15 |
// Note: all html put here (not moved to js build system) in order to preserve ability to use WordPress translate APIs.
|
16 |
?>
|
17 |
<style type="text/css">
|
24 |
<template data-opinionstage-content-popup-template>
|
25 |
<div class='opinionstage-content-popup-contents' data-opinionstage-content-popup data-opinionstage-client-logged-in="<?php echo esc_attr( $opinionstage_user_logged_in ); ?>">
|
26 |
<header class='header'>
|
27 |
+
<div class='header__container <?php echo $is_my_items_admin_page ? 'mw-1000' : ''; ?>'>
|
28 |
<div class='header__logo'>
|
29 |
<a href='<?php echo esc_url( OPINIONSTAGE_SERVER_BASE ); ?>' target='_blank'>
|
30 |
<img src='<?php echo esc_url( plugins_url( 'admin/images/os-logo-header.png', plugin_dir_path( __FILE__ ) ) ); ?>'>
|
31 |
</a>
|
32 |
</div>
|
33 |
<div class='header__action'>
|
34 |
+
<?php if ( $is_my_items_admin_page ) { ?>
|
35 |
+
<div class="opinionstage-connectivity-status"><?php echo esc_html( $os_options['email'] ); ?>
|
36 |
+
<form method="POST" action="<?php echo esc_url( get_admin_url( null, 'admin.php?page=' . OPINIONSTAGE_DISCONNECT_PAGE ) ); ?>" class="opinionstage-connect-form">
|
37 |
+
<button class="opinionstage-disconnect" type="submit"><?php esc_html_e( 'Disconnect', 'social-polls-by-opinionstage' ); ?></button>
|
38 |
+
</form>
|
39 |
+
</div>
|
40 |
+
<?php } else { ?>
|
41 |
+
<div class='btn-close' @click="closePopup">✕</div>
|
42 |
+
<?php } ?>
|
43 |
</div>
|
44 |
</div>
|
45 |
</header>
|
47 |
<popup-content
|
48 |
:client-is-logged-in="isClientLoggedIn"
|
49 |
:modal-is-opened="isModalOpened"
|
50 |
+
:is-my-items-page="isMyItemsPage"
|
51 |
:widget-type="widgetType"
|
52 |
@widget-selected="selectWidgetAndExit"
|
53 |
client-widgets-url="<?php echo esc_url( OPINIONSTAGE_CONTENT_POPUP_CLIENT_WIDGETS_API ); ?>"
|
61 |
</template>
|
62 |
|
63 |
<template id="opinionstage-widget-list">
|
64 |
+
<?php require dirname( __FILE__ ) . '/template-parts/vue/widget-list.php'; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
</template>
|
66 |
|
67 |
<template id="opinionstage-popup-content">
|
69 |
<div v-if="newWidgetsAvailable" class="notification-container">
|
70 |
<notification v-on:update-btn-click='reloadAndRestartCheckingForUpdates'>
|
71 |
</div>
|
72 |
+
<div v-if="widgets == undefined">
|
73 |
+
<p class="failed-load-items-request"><?php esc_html_e( 'An error occurred while loading the items.', 'social-polls-by-opinionstage' ); ?>
|
74 |
+
<a href="<?php echo esc_url( OPINIONSTAGE_LIVE_CHAT_URL_UTM ); ?>" target="_blank"><?php esc_html_e( 'Please contact our chat support for help', 'social-polls-by-opinionstage' ); ?></a></p>
|
75 |
+
</div>
|
76 |
+
<template v-else>
|
77 |
+
<div v-if="!dataLoading && isMyItemsPage && widgets !== undefined && widgets.length === 0 && searchCriteria.type === 'all' && searchCriteria.title === ''">
|
78 |
+
<?php require dirname( __FILE__ ) . '/template-parts/vue/create-screen.php'; ?>
|
79 |
+
</div>
|
80 |
+
<widget-list v-else
|
81 |
+
:widgets='widgets'
|
82 |
+
:pre-selected-widget-type='searchCriteria.type'
|
83 |
+
:data-loading='dataLoading'
|
84 |
+
:show-search='true'
|
85 |
+
:no-more-data='noMoreData'
|
86 |
+
@widget-selected="widgetSelected"
|
87 |
+
@widgets-search-update='reloadData'
|
88 |
+
@load-more-widgets='appendData'
|
89 |
+
>
|
90 |
+
</template>
|
91 |
</div>
|
92 |
<div class='page-content' v-else>
|
93 |
<h1 class='main-title'>
|
admin/content-popup.php
CHANGED
@@ -1,10 +1,13 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
2 |
defined( 'ABSPATH' ) || die();
|
3 |
|
4 |
add_action( 'media_buttons', 'opinionstage_content_popup_add_editor_button' );
|
5 |
add_action( 'admin_enqueue_scripts', 'opinionstage_content_popup_js' );
|
6 |
add_action( 'admin_enqueue_scripts', 'opinionstage_enqueue_widgets_page_js' );
|
7 |
-
add_action( 'admin_footer', 'opinionstage_content_popup_html' );
|
8 |
|
9 |
/**
|
10 |
* Include content popup button
|
@@ -18,34 +21,37 @@ function opinionstage_content_popup_add_editor_button() {
|
|
18 |
*/
|
19 |
function opinionstage_content_popup_js( $hook_suffix ) {
|
20 |
|
21 |
-
if( ! in_array( $hook_suffix, array( 'post.php', 'widgets.php', 'post-new.php' ) )) {
|
22 |
return;
|
23 |
}
|
24 |
|
25 |
// asset loader hotfix TODO: improve this loader machanism.
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
|
|
|
|
|
|
35 |
}
|
36 |
|
37 |
-
function opinionstage_enqueue_widgets_page_js( $hook_suffix ){
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
}
|
50 |
|
51 |
/**
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Popup
|
4 |
+
*/
|
5 |
+
|
6 |
defined( 'ABSPATH' ) || die();
|
7 |
|
8 |
add_action( 'media_buttons', 'opinionstage_content_popup_add_editor_button' );
|
9 |
add_action( 'admin_enqueue_scripts', 'opinionstage_content_popup_js' );
|
10 |
add_action( 'admin_enqueue_scripts', 'opinionstage_enqueue_widgets_page_js' );
|
|
|
11 |
|
12 |
/**
|
13 |
* Include content popup button
|
21 |
*/
|
22 |
function opinionstage_content_popup_js( $hook_suffix ) {
|
23 |
|
24 |
+
if ( ! in_array( $hook_suffix, array( 'post.php', 'widgets.php', 'post-new.php', 'toplevel_page_opinionstage-settings' ) ) ) {
|
25 |
return;
|
26 |
}
|
27 |
|
28 |
// asset loader hotfix TODO: improve this loader machanism.
|
29 |
+
opinionstage_register_javascript_asset(
|
30 |
+
'content-popup',
|
31 |
+
'content-popup.js',
|
32 |
+
array( 'jquery' )
|
33 |
+
);
|
34 |
+
|
35 |
+
opinionstage_enqueue_js_asset( 'content-popup' );
|
36 |
+
opinionstage_register_css_asset( 'icon-font', 'icon-font.css' );
|
37 |
+
opinionstage_enqueue_css_asset( 'icon-font' );
|
38 |
+
|
39 |
+
add_action( 'admin_footer', 'opinionstage_content_popup_html' );
|
40 |
+
|
41 |
}
|
42 |
|
43 |
+
function opinionstage_enqueue_widgets_page_js( $hook_suffix ) {
|
44 |
+
if ( 'widgets.php' !== $hook_suffix ) {
|
45 |
+
return;
|
46 |
+
}
|
47 |
+
|
48 |
+
opinionstage_register_javascript_asset(
|
49 |
+
'widgets-page',
|
50 |
+
'widgets-page.js',
|
51 |
+
array( 'jquery', opinionstage_asset_name( 'content-popup' ) )
|
52 |
+
);
|
53 |
+
|
54 |
+
opinionstage_enqueue_js_asset( 'widgets-page' );
|
55 |
}
|
56 |
|
57 |
/**
|
admin/css/menu-page.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@font-face{font-family:'os-icon-plugin-plugin-font';src:url("fonts/os-icon-font.eot?frvqyp");src:url("fonts/os-icon-font.eot?frvqyp#iefix") format("embedded-opentype"),url("fonts/os-icon-font.ttf?frvqyp") format("truetype"),url("fonts/os-icon-font.woff?frvqyp") format("woff"),url("fonts/os-icon-font.svg?frvqyp#os-iconn-font") format("svg");font-weight:normal;font-style:normal}.opinionstage-content-popup-contents [class^="icon-"],.opinionstage-content-popup-contents [class*=" icon-"],#wpwrap [class^="icon-"],#wpwrap [class*=" icon-"]{font-family:'os-icon-plugin-plugin-font' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-os-common-date:before{content:"\E91A"}.icon-os-status-closed:before{content:"\e95f"}.icon-os-status-open:before{content:"\e961"}.icon-os-plugin-form-address:before{content:"\e900"}.icon-os-plugin-form-email:before{content:"\e901"}.icon-os-plugin-form-name:before{content:"\e902"}.icon-os-plugin-form-phone:before{content:"\e903"}.icon-os-plugin-common-arrow-left2:before{content:"\e904"}.icon-os-plugin-common-arrow-right2:before{content:"\e905"}.icon-os-plugin-reports-list:before{content:"\e906"}.icon-os-plugin-reports-personality:before{content:"\e907"}.icon-os-plugin-reports-poll:before{content:"\e908"}.icon-os-plugin-reports-set:before{content:"\e909"}.icon-os-plugin-widget-slideshow:before{content:"\e90a"}.icon-os-plugin-reports-trivia:before{content:"\e90b"}.icon-os-plugin-common-up:before{content:"\e90c"}.icon-os-plugin-layout-image-poll:before{content:"\e90d"}.icon-os-plugin-common-arrow-left:before{content:"\e90e"}.icon-os-plugin-common-arrow-right:before{content:"\e90f"}.icon-os-plugin-form-user:before{content:"\e910"}.icon-os-plugin-sn-pinterest:before{content:"\e911"}.icon-os-plugin-sn-reddit:before{content:"\e912"}.icon-os-plugin-sn-whatsapp:before{content:"\e913"}.icon-os-plugin-brand-logo-small:before{content:"\e914"}.icon-os-plugin-brand-logo:before{content:"\e915"}.icon-os-plugin-common-addnew:before{content:"\e916"}.icon-os-plugin-common-checkbox-blank:before{content:"\e917"}.icon-os-plugin-common-checkbox-checked:before{content:"\e918"}.icon-os-plugin-common-close:before{content:"\e919"}.icon-os-plugin-common-date:before{content:"\e91a"}.icon-os-plugin-common-dot:before{content:"\e91b"}.icon-os-plugin-common-down:before{content:"\e91c"}.icon-os-plugin-common-help:before{content:"\e91d"}.icon-os-plugin-common-link:before{content:"\e91e"}.icon-os-plugin-common-menu-dd-closed:before{content:"\e91f"}.icon-os-plugin-common-menu-dd-open:before{content:"\e920"}.icon-os-plugin-common-menu-medium:before{content:"\e921"}.icon-os-plugin-common-menu:before{content:"\e922"}.icon-os-plugin-common-minimize:before{content:"\e923"}.icon-os-plugin-common-more:before{content:"\e924"}.icon-os-plugin-common-plus:before{content:"\e925"}.icon-os-plugin-common-poll:before{content:"\e926"}.icon-os-plugin-common-search:before{content:"\e927"}.icon-os-plugin-common-settings:before{content:"\e928"}.icon-os-plugin-common-tip:before{content:"\e929"}.icon-os-plugin-filter-all:before{content:"\e92a"}.icon-os-plugin-filter-facebook:before{content:"\e92b"}.icon-os-plugin-filter-female:before{content:"\e92c"}.icon-os-plugin-filter-friends:before{content:"\e92d"}.icon-os-plugin-filter-gplus:before{content:"\e92e"}.icon-os-plugin-filter-hidden:before{content:"\e92f"}.icon-os-plugin-filter-male:before{content:"\e930"}.icon-os-plugin-filter-public:before{content:"\e931"}.icon-os-plugin-filter-seperator:before{content:"\e932"}.icon-os-plugin-filter-twitter:before{content:"\e933"}.icon-os-plugin-form-check:before{content:"\e934"}.icon-os-plugin-form-drag:before{content:"\e935"}.icon-os-plugin-form-error:before{content:"\e936"}.icon-os-plugin-form-image:before{content:"\e937"}.icon-os-plugin-form-success:before{content:"\e938"}.icon-os-plugin-form-video:before{content:"\e939"}.icon-os-plugin-hp-engagement:before{content:"\e93a"}.icon-os-plugin-hp-insights:before{content:"\e93b"}.icon-os-plugin-hp-revenue:before{content:"\e93c"}.icon-os-plugin-hp-traffic:before{content:"\e93d"}.icon-os-plugin-layout-h2h:before{content:"\e93e"}.icon-os-plugin-layout-mc:before{content:"\e93f"}.icon-os-plugin-layout-thumbnails:before{content:"\e940"}.icon-os-plugin-menu-content:before{content:"\e941"}.icon-os-plugin-menu-placements:before{content:"\e942"}.icon-os-plugin-menu-reports:before{content:"\e943"}.icon-os-plugin-menu-revenue:before{content:"\e944"}.icon-os-plugin-pinterest:before{content:"\e945"}.icon-os-plugin-poll-client:before{content:"\e946"}.icon-os-plugin-poll-voter:before{content:"\e947"}.icon-os-plugin-quiz-correct:before{content:"\e948"}.icon-os-plugin-quiz-restart:before{content:"\e949"}.icon-os-plugin-quiz-wrong:before{content:"\e94a"}.icon-os-plugin-report-contacts:before{content:"\e94b"}.icon-os-plugin-report-discovery:before{content:"\e94c"}.icon-os-plugin-report-revenue:before{content:"\e94d"}.icon-os-plugin-report-stats:before{content:"\e94e"}.icon-os-plugin-report-time:before{content:"\e94f"}.icon-os-plugin-report-views:before{content:"\e950"}.icon-os-plugin-reports-emails:before{content:"\e951"}.icon-os-plugin-reports-polls:before{content:"\e952"}.icon-os-plugin-reports-revenue:before{content:"\e953"}.icon-os-plugin-reports-sets:before{content:"\e954"}.icon-os-plugin-reports-time:before{content:"\e955"}.icon-os-plugin-reports-traffic:before{content:"\e956"}.icon-os-plugin-reports-votes:before{content:"\e957"}.icon-os-plugin-set-arrow-left:before{content:"\e958"}.icon-os-plugin-set-arrow-right:before{content:"\e959"}.icon-os-plugin-sn-embed:before{content:"\e95a"}.icon-os-plugin-sn-facebook:before{content:"\e95b"}.icon-os-plugin-sn-gplus:before{content:"\e95c"}.icon-os-plugin-sn-tumblr:before{content:"\e95d"}.icon-os-plugin-sn-twitter:before{content:"\e95e"}.icon-os-plugin-status-closed:before{content:"\e95f"}.icon-os-plugin-status-draft:before{content:"\e960"}.icon-os-plugin-status-open:before{content:"\e961"}.icon-os-plugin-status-published:before{content:"\e962"}.icon-os-plugin-widget-form:before{content:"\e963"}.icon-os-icon-plugin-story:before{content:"\e964"}.opinionstage-button{border-radius:3px;display:inline-block;border-style:hidden;color:#fff;font-size:15px;font-weight:600;min-width:100px;padding:9px 10px;text-decoration:none;text-align:center;transition:0.2s ease;cursor:pointer}.opinionstage-button:hover{color:#fff}.opinionstage-button__pink{background-color:#F46368}.opinionstage-button__blue{background-color:#32adbc}.opinionstage-button__white{background-color:#fff;border:1px solid #DDDDDD;color:#32373c}.opinionstage-button__white:hover{color:#32373c}.opinionstage-button__uppercase{text-transform:uppercase}#opinionstage-content{height:auto;margin:0;min-height:100%;overflow:hidden;padding-top:20px;width:100%}#opinionstage-content .opinionstage-header-wrapper{background:#232121;margin-right:20px;overflow:hidden;position:relative}#opinionstage-content .opinionstage-logo-wrapper{padding:10px 30px}#opinionstage-content .opinionstage-logo{background:url("../images/os-logo-header.png") no-repeat 0 0;background-size:contain;display:inline-block;height:30px;width:150px}#opinionstage-content .opinionstage-logo__dark{background:url("../images/logo-dark-font.svg") no-repeat 0 0;background-size:contain}#opinionstage-content .opinionstage-status-content{background-color:#fff;border-bottom:3px solid #32adbc;color:#000;height:109px;padding:20px 35px 0}#opinionstage-content .opinionstage-status-content-connected{color:#fff;height:115px;padding:30px 30px 0}#opinionstage-content .opinionstage-connect-form{display:inline-block}#opinionstage-content .opinionstage-connect-btn{padding-bottom:14.2px !important;padding-top:14.2px !important;position:relative;cursor:pointer}#opinionstage-content .opinionstage-status-title{font-size:24px;font-weight:bold;line-height:25px;margin-bottom:14px}#opinionstage-content .opinionstage-status-title .opinionstage-title{font-size:20px}#opinionstage-content .opinionstage-status-content .os-icon-plugin{font-size:19px;margin-right:7px}#opinionstage-content #os-switch-email{font-size:14px;padding:11px 0}#opinionstage-content .opinionstage-blue-btn{background-color:#32adbc;border-radius:3px;border-style:hidden;color:#ffffff;display:inline-block;font-size:15px;font-weight:600;min-width:100px;padding:9px 10px;text-decoration:none;text-align:center;transition:0.2s ease}#opinionstage-content .opinionstage-blue-btn:hover{background-color:#2f9fad}#opinionstage-content .opinionstage-blue-btn.border{background:#fff;color:#32adbc;border:1px solid #32adbc}#opinionstage-content .opinionstage-blue-btn.border:hover{background-color:rgba(49,174,190,0.1)}#opinionstage-content .opinionstage-create-btn{width:100px}#opinionstage-content a.opinionstage-blue-bordered-btn{border:1px solid #32adbc;border-radius:2px;color:#32adbc;display:block;padding:10px 5px;text-align:center;text-decoration:none}#opinionstage-content .opinionstage-dashboard-right a.opinionstage-blue-bordered-btn{float:left;margin-right:5px}#opinionstage-content a.opinionstage-blue-bordered-btn.disabled{color:#cacac8;border:1px solid #cacac8}#opinionstage-content a.opinionstage-blue-bordered-btn.disabled:hover{background-color:#f9f9f9;color:#cacac8;cursor:default}#opinionstage-content .opinionstage-dashboard{background-color:#fff;margin-right:20px;min-height:800px;overflow:hidden}#opinionstage-content .opinionstage-dashboard-left,#opinionstage-content .opinionstage-dashboard-right{width:1000px}#opinionstage-content .opinionstage-dashboard-left{margin:30px}#opinionstage-content .opinionstage-dashboard-left .opinionstage-section-header .opinionstage-section-title{float:left;font-size:30px;padding:0;line-height:1}#opinionstage-content .opinionstage-dashboard-section{margin-bottom:30px}#opinionstage-content .opinionstage-dashboard-section .opinionstage-section-header{height:58px;margin-top:10px;overflow:hidden}#opinionstage-content .opinionstage-dashboard-section .opinionstage-section-header a{margin:0;padding:10px}#opinionstage-content .opinionstage-dashboard-section .opinionstage-section-header a:focus{box-shadow:none}#opinionstage-content .opinionstage-section-content{display:table;border-collapse:collapse;width:100%;position:relative}#opinionstage-content a.opinionstage-help-link{font-size:18px;text-decoration:none}#opinionstage-content #opinionstage-section-create .opinionstage-section-content{height:435px}#opinionstage-content #opinionstage-section-create .opinionstage-section-raw{border:1px solid #c8c8c9;display:table-row;border-left:none;border-right:none}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell{display:table-cell;padding:20px 0;vertical-align:middle}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-icon-cell{color:#3499c2;font-size:35px;text-align:center;width:7%}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-btn-cell{text-align:right;width:36%}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-description-cell{width:57%}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-description-cell .title{font-size:22px;font-weight:600;margin-bottom:5px;color:#3c434a;text-decoration:none}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-description-cell .example{color:#b1b1b1;font-size:14px;line-height:normal}#opinionstage-content #opinionstage-section-create .opinionstage-blue-btn{padding:12px 10px;text-transform:capitalize;min-width:150px}#opinionstage-content #opinionstage-section-create .opinionstage-blue-btn:not(:last-child){margin-right:10px}@media (max-width: 1230px){#opinionstage-content #opinionstage-section-create .opinionstage-blue-btn{display:block;width:auto}#opinionstage-content #opinionstage-section-create .opinionstage-blue-btn:not(:last-child){margin-right:0;margin-bottom:10px}}#opinionstage-content .opinionstage-help-row{border-bottom:1px solid #c8c8c9;margin:0 10px;padding:25px 0 25px 10px}#opinionstage-content .opinionstage-help-row:last-child{border-bottom:none}.opinionstage-dashboard-left .opinionstage-create-btn{padding:12px 10px !important}#opinionstage-content a.opinionstage-blue-bordered-btn :hover,.opinionstage-sidebar-widget a.opinionstage-blue-bordered-btn :hover{background-color:rgba(49,174,190,0.1)}#opinionstage-content a.opinionstage-blue-bordered-btn:focus,.opinionstage-sidebar-widget a.opinionstage-blue-bordered-btn:focus{box-shadow:none}.opinionstage-my-items-message{display:none;font-size:16px;text-align:center}#opinionstage-failed-load-items-request{display:none;font-size:15px;text-align:center}.toplevel_page_opinionstage-getting-started{background:#F5F7FA}.toplevel_page_opinionstage-getting-started #wpcontent{padding-left:0}.opinionstage-grey-link{display:inline-block;color:#6E6E6E;font-size:14px}.opinionstage-grey-link:hover{color:#6E6E6E}.opinionstage-getting-started-section{padding:25px;max-width:950px;color:#6E6E6E;margin-left:170px}@media (max-width: 1024px){.opinionstage-getting-started-section{margin-left:30px}}@media (max-width: 768px){.opinionstage-getting-started-section{margin-left:0}}.opinionstage-getting-started-section__no-padding{padding:0 !important}.opinionstage-getting-started-section .opinionstage-connect-form .opinionstage-button{font-weight:400}.opinionstage-getting-started-section .opinionstage-logo{margin-left:25px;margin-top:25px}.opinionstage-getting-started-section .opinionstage-button{border-radius:0;margin-right:.5em;min-width:165px}.opinionstage-two-columns{color:#6E6E6E;display:flex;flex-wrap:wrap;padding-bottom:85px}@media (max-width: 768px){.opinionstage-two-columns{text-align:center}}.opinionstage-two-columns__title{font-size:30px;line-height:1.3;font-weight:600;margin-top:-5px}.opinionstage-two-columns__text{width:47%}@media (max-width: 768px){.opinionstage-two-columns__text{width:100%;margin-bottom:55px}}.opinionstage-two-columns__text p{color:#25282B;font-size:18px;margin-bottom:42px}.opinionstage-two-columns__img{padding-left:30px;width:53%;box-sizing:border-box}@media (max-width: 768px){.opinionstage-two-columns__img{width:100%}}.opinionstage-two-columns__img img{width:100%}.opinionstage-bg-white{background:#fff}.opinionstage-getting-started-footer{background-color:#F5F7FA}.opinionstage-getting-started-footer__title{text-align:center;font-size:18px;font-weight:600}@media (max-width: 500px){.opinionstage-getting-started-footer__title{text-align:left}}.opinionstage-getting-started-footer__items{display:flex;padding-top:25px;justify-content:space-between}@media (max-width: 500px){.opinionstage-getting-started-footer__items{flex-direction:column}}.opinionstage-getting-started-footer__item__title{font-size:14px;line-height:20px}.opinionstage-getting-started-footer__list{font-size:14px;line-height:30px}.opinionstage-getting-started-footer__list a{color:#25282B}.opinionstage-connect-form .opinionstage-button{min-height:50px}.opinionstage-connect-form__disconnect button[type=submit]{margin-bottom:0;min-height:auto}.gettingStartedSection{background:#fff;margin-right:20px;min-height:500px;overflow:hidden;padding:30px}.gettingStartedSection p{font-size:20px;margin:0;margin-bottom:20px}h1.gettingStartedHeading{font-size:30px;letter-spacing:1px;line-height:35px;margin:0 auto;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;width:100%}#opinionstage-content a.gettingStartedCreate.button{background:#3499c2;box-shadow:0 0 0 0;color:#ffffff;display:block;font-size:20px;height:auto;letter-spacing:1px;margin-top:20px;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;padding:11px 10px;width:100%}@media only screen and (max-width: 375px){.gettingStartedSection{padding-left:0 !important;padding-right:0 !important;padding-top:20px !important}#opinionstage-content .opinionstage-status-content{height:160px !important}#opinionstage-content .opinionstage-status-content-connected{height:162px !important}.gettingStartedSection p{text-align:center}#opinionstage-content .opinionstage-blue-btn{margin-left:30px;margin-top:15px}#opinionstage-content a.gettingStartedCreate.button{margin:20px auto 0 !important}.text-section-getting-stared-os p{text-align:left}}.opinionstage-dashboard-left .os_use_template_btn{margin:0;padding:12px 15px !important}td.long{padding-left:10px;width:48%}td.long>div{position:relative;width:90%;height:85px}td.long table{bottom:0;color:#b1b1b1;line-height:normal;position:absolute;width:100%}td.long table td{max-width:300px}td.long a{color:#212120;display:block;font-size:16px;font-weight:normal;line-height:normal;max-height:3.6em;max-width:100%;overflow:hidden;position:absolute;text-decoration:none;text-overflow:ellipsis;word-wrap:break-word;white-space:nowrap}td.action{width:30%}td.action a.opinionstage-blue-bordered-btn{font-size:15px;margin-right:9px}span.os-icon-plugin.icon-os-common-date{float:left;margin-right:4px}.label{line-height:15px}.content-item-label{background-color:#222120;color:#fff;font-size:12px;padding:2px 4px}a.opinionstage-blue-bordered-btn{float:left;margin-right:5px;border:1px solid #3aaebd;border-radius:3px;color:#3aaebd;display:block;font-size:14px;padding:10px 30px;text-align:center;text-decoration:none;text-transform:uppercase;transition:.2s ease}.content-item-image.quiz{height:90px;position:relative;width:120px;background-repeat:no-repeat;background-size:cover}.content-item-image.quiz img{bottom:0;display:block;height:90px;opacity:0.8;position:absolute;right:0;width:120px}.content-item-label{background-color:#222120;color:white;font-size:12px;left:0;padding:1px 5px;position:absolute;text-transform:uppercase;top:0}tr.item-wrapper{border-top:1px #e5e5e5 solid;display:table-cell;padding:10px 0;transition:.2s ease}tr.item-wrapper:hover{background-color:#f7f7f7}tr.item-wrapper .opinionstage-item-title{font-weight:600}tr.item-wrapper .icon-os-status-closed,tr.item-wrapper .icon-os-status-open{margin-right:5px}tr.item-wrapper .icon-os-status-closed{color:#f46368}tr.item-wrapper .icon-os-status-open{color:#31aebe}tr.item-wrapper .opinionstage-draft{color:#f46368;text-transform:capitalize;font-size:80%}@media only screen and (max-width: 768px){tr.item-wrapper>td{display:block;width:100%}}.opinionstage-with-separator:before{content:"";margin:0 10px;height:100%;border-left:1px solid #b1b1b1}.opinionstage-section-header{font-size:23px;height:40px;overflow:visible}.opinionstage-anchors-list{position:absolute;z-index:10;top:100%;left:0;width:100%;background:white;border:1px solid #e5e5e5;opacity:0;visibility:hidden;transition:all .5s ease;margin-top:17px;margin-bottom:0}.opinionstage-anchors-list.opened{opacity:1;visibility:visible}.opinionstage-anchors-list a{width:100%}div#container .opinionstage-section-header{width:100%}.opinionstage-section-title{float:left;font-size:30px;padding:10px 0}.opinionstage-need-help-link{float:right !important}.opinionstage-section-header a{color:#32adbc;float:right;font-size:14px;font-weight:600;line-height:normal;margin:10px 25px;margin-right:0;text-decoration:none}div#opinionstage-load-more{display:none;cursor:pointer;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:14px;line-height:38px;border:1px solid #dededd;border-radius:3px;padding:0 10px;text-decoration:none;outline:none;transition:0.2s ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:baseline;color:#38aebd;background-color:transparent;border-color:#38aebd;width:100%;max-width:1000px;margin-bottom:20px;margin-left:20px}div#opinionstage-load-more:hover{text-decoration:none;opacity:0.8}td.image{width:12%}.opinionstage-connectivity-status{color:#fff;float:right;font-size:15px;margin:5px 0}.opinionstage-disconnect{background-color:transparent;border:none;color:#32adbc;cursor:pointer}.opinionstage-disconnect:focus{border:none}.opinionstage-disconnect:focus{outline:0 none}.opinionstage-title{font-weight:bold}#overlay{background-color:#fdfdfdc7;display:block;height:100%;filter:alpha(opacity=70);opacity:0.7;position:absolute;width:100%;z-index:100;top:0}.opinionstage-item-view-dashboard{margin:30px;width:1000px}.opinionstage-header-inner-container{float:right}.opinionstage-header-inner-container .select-wrapper{padding:0 9px;display:inline-block}.opinionstage-header-inner-container .select-wrapper:last-child{padding-right:0}.opinionstage-header-inner-container .opinionstage-header-inner-section{border-right:1px solid #f3f3f3;float:left;padding-right:4px}.opinionstage-header-inner-section a,.os-long-text a{text-decoration:none}.search-container{background-color:transparent;display:inline-block;width:150px}.opinionstage-section-header #itemList{font-size:12px;font-weight:bold;height:auto;padding:10px;width:100%}.opinionstage-section-header #opinionstage-my-items-search-field{color:#797979;height:auto;padding:8.5px 10px;width:100%}.opinionstage-item-view-dashboard .opinionstage-dashboard-section{margin:0}.opinionstage-item-view-dashboard #opinionstage-items-table tbody:last-child tr.item-wrapper{border-bottom:1px #e5e5e5 solid}.opinionstage-item-view-dashboard #opinionstage-items-table tbody .action .opinionstage-edit-content:last-child{margin-right:0}.opinionstage-item-action-container{float:right}.opinionstage-item-action-container .opinionstage-edit-content{padding:13px 17px !important}div#opinionstage-load-more{background-color:#f1f1f1;border-color:#f1f1f1;color:#444;margin:0}.gettingStartedContainer{background:url(../images/bitmap_top.png) no-repeat 0 0;background-color:#32adbc;background-position:right;height:170px;width:760px}.opinionstage-resources-title{padding:40px 0}.gettingBlockContainer{width:760px}.gettingTemplateTutorial{margin-right:10px}.gettingTemplateGallery,.gettingTemplateTutorial,a.help-center-os{border:2px solid #32adbc;color:#32adbc;font-size:15px;font-weight:bold;margin-top:10px;padding:20px 0;text-align:center;text-decoration:none;width:100%;float:left}.gettingTemplateGallery:hover,.gettingTemplateTutorial:hover,a.help-center-os:hover{background-color:rgba(49,174,190,0.1);color:#32adbc}.gettingTemplateGallery:focus,.gettingTemplateTutorial:focus,a.help-center-os:focus{background-color:rgba(49,174,190,0.1);box-shadow:none;color:#32adbc}@media (min-width: 769px){.gettingTemplateGallery,.gettingTemplateTutorial,a.help-center-os{max-width:370px}}a.help-center-os{padding:29px 0}.opinionstage-item-view-dashboard #opinionstage-items-table{width:100%}.opinionstage-item-view-dashboard #opinionstage-items-table div.label{font-size:13px}#opinionstage-content .opinionstage-item-view-dashboard .opinionstage-dashboard-section{margin-bottom:5px}#opinionistage-my-items-page-modal-wrapper{display:none;position:fixed;height:100%;width:100%;bottom:0;left:0;border-radius:6px / 6px;background-color:rgba(0,0,0,0.8);z-index:9999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#opinionistage-my-items-page-modal-wrapper .inner{background:#f5f5f5;padding:1px 15px 10px 15px;margin-top:20px}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal{background-color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);border-radius:6px;overflow:hidden;width:650px;padding:25px 35px;font-size:16px}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal a{color:#32adbc}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal a:focus{outline:none;box-shadow:none}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal a.no-text-decoration{text-decoration:none}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal p{font-size:16px}#opinionistage-my-items-page-modal-wrapper .opinionstage-textarea-wrapper{display:flex;align-items:center}#opinionistage-my-items-page-modal-wrapper .opinionstage-textarea-wrapper textarea{resize:none;margin:10px 10px 10px 0;padding:10px;width:500px;border-radius:0 0 3px 3px;border:1px solid #3aaebd;background:#fff}#opinionistage-my-items-page-modal-wrapper .opinionstage-textarea-wrapper textarea:focus{box-shadow:none}#opinionistage-my-items-page-modal-wrapper .opinionstage-close{position:absolute;right:16px;top:12px;width:20px;height:20px;cursor:pointer}#opinionistage-my-items-page-modal-wrapper .opinionstage-close:before,#opinionistage-my-items-page-modal-wrapper .opinionstage-close:after{position:absolute;left:15px;content:' ';height:17px;width:2px;background-color:#b1b1b1}#opinionistage-my-items-page-modal-wrapper .opinionstage-close:after{transform:rotate(-45deg)}#opinionistage-my-items-page-modal-wrapper .opinionstage-close:before{transform:rotate(45deg)}#opinionistage-my-items-page-modal-wrapper ul{margin-left:17px;list-style:disc}#opinionistage-my-items-page-modal-wrapper ul li{margin-bottom:15px}@media only screen and (max-width: 1230px){#opinionstage-content .opinionstage-dashboard-left,#opinionstage-content .opinionstage-dashboard-right{float:none;width:auto}#opinionstage-content .opinionstage-dashboard{overflow-y:scroll}#opinionstage-content .opinionstage-item-view-dashboard .opinionstage-section-header .opinionstage-section-title{padding:25px 0}#opinionstage-content .opinionstage-item-view-dashboard .opinionstage-dashboard-section .opinionstage-section-header{height:95px}#opinionstage-content .opinionstage-dashboard-section .opinionstage-section-header .opinionstage-header-inner-section a{display:block;float:none}.opinionstage-create-btn{margin-bottom:10px;margin-right:0}.opinionstage-item-action-container{float:none}#opinionstage-items-table .action .opinionstage-item-action-container a{display:block;float:none;margin-bottom:10px;width:80%}.opinionstage-item-view-dashboard{width:auto}}.opinionstage-no-items{font-weight:600;font-size:15px;color:#212120}a.opinionstage-add-our-first-item{font-weight:600;font-size:15px;color:#3499c2}@media only screen and (max-width: 768px){.gettingStartedSection{width:auto}.gettingStartedContainer,.gettingBlockContainer{width:100%}.gettingBlockContainer .gettingTemplateGallery,.gettingBlockContainer .gettingTemplateTutorial{display:block;float:none;width:100%}}
|
1 |
+
@font-face{font-family:'os-icon-plugin-plugin-font';src:url("fonts/os-icon-font.eot?frvqyp");src:url("fonts/os-icon-font.eot?frvqyp#iefix") format("embedded-opentype"),url("fonts/os-icon-font.ttf?frvqyp") format("truetype"),url("fonts/os-icon-font.woff?frvqyp") format("woff"),url("fonts/os-icon-font.svg?frvqyp#os-iconn-font") format("svg");font-weight:normal;font-style:normal}.opinionstage-content-popup-contents [class^="icon-"],.opinionstage-content-popup-contents [class*=" icon-"],#wpwrap [class^="icon-"],#wpwrap [class*=" icon-"]{font-family:'os-icon-plugin-plugin-font' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-os-common-date:before{content:"\E91A"}.icon-os-status-closed:before{content:"\e95f"}.icon-os-status-open:before{content:"\e961"}.icon-os-plugin-form-address:before{content:"\e900"}.icon-os-plugin-form-email:before{content:"\e901"}.icon-os-plugin-form-name:before{content:"\e902"}.icon-os-plugin-form-phone:before{content:"\e903"}.icon-os-plugin-common-arrow-left2:before{content:"\e904"}.icon-os-plugin-common-arrow-right2:before{content:"\e905"}.icon-os-plugin-reports-list:before{content:"\e906"}.icon-os-plugin-reports-personality:before{content:"\e907"}.icon-os-plugin-reports-poll:before{content:"\e908"}.icon-os-plugin-reports-set:before{content:"\e909"}.icon-os-plugin-widget-slideshow:before{content:"\e90a"}.icon-os-plugin-reports-trivia:before{content:"\e90b"}.icon-os-plugin-common-up:before{content:"\e90c"}.icon-os-plugin-layout-image-poll:before{content:"\e90d"}.icon-os-plugin-common-arrow-left:before{content:"\e90e"}.icon-os-plugin-common-arrow-right:before{content:"\e90f"}.icon-os-plugin-form-user:before{content:"\e910"}.icon-os-plugin-sn-pinterest:before{content:"\e911"}.icon-os-plugin-sn-reddit:before{content:"\e912"}.icon-os-plugin-sn-whatsapp:before{content:"\e913"}.icon-os-plugin-brand-logo-small:before{content:"\e914"}.icon-os-plugin-brand-logo:before{content:"\e915"}.icon-os-plugin-common-addnew:before{content:"\e916"}.icon-os-plugin-common-checkbox-blank:before{content:"\e917"}.icon-os-plugin-common-checkbox-checked:before{content:"\e918"}.icon-os-plugin-common-close:before{content:"\e919"}.icon-os-plugin-common-date:before{content:"\e91a"}.icon-os-plugin-common-dot:before{content:"\e91b"}.icon-os-plugin-common-down:before{content:"\e91c"}.icon-os-plugin-common-help:before{content:"\e91d"}.icon-os-plugin-common-link:before{content:"\e91e"}.icon-os-plugin-common-menu-dd-closed:before{content:"\e91f"}.icon-os-plugin-common-menu-dd-open:before{content:"\e920"}.icon-os-plugin-common-menu-medium:before{content:"\e921"}.icon-os-plugin-common-menu:before{content:"\e922"}.icon-os-plugin-common-minimize:before{content:"\e923"}.icon-os-plugin-common-more:before{content:"\e924"}.icon-os-plugin-common-plus:before{content:"\e925"}.icon-os-plugin-common-poll:before{content:"\e926"}.icon-os-plugin-common-search:before{content:"\e927"}.icon-os-plugin-common-settings:before{content:"\e928"}.icon-os-plugin-common-tip:before{content:"\e929"}.icon-os-plugin-filter-all:before{content:"\e92a"}.icon-os-plugin-filter-facebook:before{content:"\e92b"}.icon-os-plugin-filter-female:before{content:"\e92c"}.icon-os-plugin-filter-friends:before{content:"\e92d"}.icon-os-plugin-filter-gplus:before{content:"\e92e"}.icon-os-plugin-filter-hidden:before{content:"\e92f"}.icon-os-plugin-filter-male:before{content:"\e930"}.icon-os-plugin-filter-public:before{content:"\e931"}.icon-os-plugin-filter-seperator:before{content:"\e932"}.icon-os-plugin-filter-twitter:before{content:"\e933"}.icon-os-plugin-form-check:before{content:"\e934"}.icon-os-plugin-form-drag:before{content:"\e935"}.icon-os-plugin-form-error:before{content:"\e936"}.icon-os-plugin-form-image:before{content:"\e937"}.icon-os-plugin-form-success:before{content:"\e938"}.icon-os-plugin-form-video:before{content:"\e939"}.icon-os-plugin-hp-engagement:before{content:"\e93a"}.icon-os-plugin-hp-insights:before{content:"\e93b"}.icon-os-plugin-hp-revenue:before{content:"\e93c"}.icon-os-plugin-hp-traffic:before{content:"\e93d"}.icon-os-plugin-layout-h2h:before{content:"\e93e"}.icon-os-plugin-layout-mc:before{content:"\e93f"}.icon-os-plugin-layout-thumbnails:before{content:"\e940"}.icon-os-plugin-menu-content:before{content:"\e941"}.icon-os-plugin-menu-placements:before{content:"\e942"}.icon-os-plugin-menu-reports:before{content:"\e943"}.icon-os-plugin-menu-revenue:before{content:"\e944"}.icon-os-plugin-pinterest:before{content:"\e945"}.icon-os-plugin-poll-client:before{content:"\e946"}.icon-os-plugin-poll-voter:before{content:"\e947"}.icon-os-plugin-quiz-correct:before{content:"\e948"}.icon-os-plugin-quiz-restart:before{content:"\e949"}.icon-os-plugin-quiz-wrong:before{content:"\e94a"}.icon-os-plugin-report-contacts:before{content:"\e94b"}.icon-os-plugin-report-discovery:before{content:"\e94c"}.icon-os-plugin-report-revenue:before{content:"\e94d"}.icon-os-plugin-report-stats:before{content:"\e94e"}.icon-os-plugin-report-time:before{content:"\e94f"}.icon-os-plugin-report-views:before{content:"\e950"}.icon-os-plugin-reports-emails:before{content:"\e951"}.icon-os-plugin-reports-polls:before{content:"\e952"}.icon-os-plugin-reports-revenue:before{content:"\e953"}.icon-os-plugin-reports-sets:before{content:"\e954"}.icon-os-plugin-reports-time:before{content:"\e955"}.icon-os-plugin-reports-traffic:before{content:"\e956"}.icon-os-plugin-reports-votes:before{content:"\e957"}.icon-os-plugin-set-arrow-left:before{content:"\e958"}.icon-os-plugin-set-arrow-right:before{content:"\e959"}.icon-os-plugin-sn-embed:before{content:"\e95a"}.icon-os-plugin-sn-facebook:before{content:"\e95b"}.icon-os-plugin-sn-gplus:before{content:"\e95c"}.icon-os-plugin-sn-tumblr:before{content:"\e95d"}.icon-os-plugin-sn-twitter:before{content:"\e95e"}.icon-os-plugin-status-closed:before{content:"\e95f"}.icon-os-plugin-status-draft:before{content:"\e960"}.icon-os-plugin-status-open:before{content:"\e961"}.icon-os-plugin-status-published:before{content:"\e962"}.icon-os-plugin-widget-form:before{content:"\e963"}.icon-os-icon-plugin-story:before{content:"\e964"}.opinionstage-button{border-radius:3px;display:inline-block;border-style:hidden;color:#fff;font-size:15px;font-weight:600;min-width:100px;padding:9px 10px;text-decoration:none;text-align:center;transition:0.2s ease;cursor:pointer}.opinionstage-button:hover{color:#fff}.opinionstage-button__pink{background-color:#F46368}.opinionstage-button__blue{background-color:#32adbc}.opinionstage-button__white{background-color:#fff;border:1px solid #DDDDDD;color:#32373c}.opinionstage-button__white:hover{color:#32373c}.opinionstage-button__uppercase{text-transform:uppercase}#opinionstage-content{height:auto;margin:0;min-height:100%;overflow:hidden;padding-top:20px;width:100%}#opinionstage-content .opinionstage-header-wrapper{background:#232121;margin-right:20px;overflow:hidden;position:relative}#opinionstage-content .opinionstage-logo-wrapper{padding:10px 30px;max-width:780px}#opinionstage-content .opinionstage-logo{background:url("../images/os-logo-header.png") no-repeat 0 0;background-size:contain;display:inline-block;height:30px;width:150px}#opinionstage-content .opinionstage-logo__dark{background:url("../images/logo-dark-font.svg") no-repeat 0 0;background-size:contain}#opinionstage-content .opinionstage-status-content{background-color:#fff;border-bottom:3px solid #32adbc;color:#000;height:109px;padding:20px 35px 0}#opinionstage-content .opinionstage-status-content-connected{color:#fff;height:115px;padding:30px 30px 0}#opinionstage-content .opinionstage-connect-form{display:inline-block}#opinionstage-content .opinionstage-status-title{font-size:24px;font-weight:bold;line-height:25px;margin-bottom:14px}#opinionstage-content .opinionstage-status-title .opinionstage-title{font-size:20px}#opinionstage-content .opinionstage-status-content .os-icon-plugin{font-size:19px;margin-right:7px}#opinionstage-content .opinionstage-blue-btn{background-color:#32adbc;border-radius:3px;border-style:hidden;color:#ffffff;display:inline-block;font-size:15px;font-weight:600;min-width:100px;padding:11px 10px;text-decoration:none;text-align:center;transition:0.2s ease}#opinionstage-content .opinionstage-blue-btn:hover{background-color:#2f9fad}#opinionstage-content .opinionstage-blue-btn.border{background:#fff;color:#32adbc;border:1px solid #32adbc}#opinionstage-content .opinionstage-blue-btn.border:hover{background-color:rgba(49,174,190,0.1)}#opinionstage-content a.opinionstage-blue-bordered-btn{border:1px solid #32adbc;border-radius:2px;color:#32adbc;display:block;padding:10px 5px;text-align:center;text-decoration:none}#opinionstage-content .opinionstage-dashboard-right a.opinionstage-blue-bordered-btn{float:left;margin-right:5px}#opinionstage-content a.opinionstage-blue-bordered-btn.disabled{color:#cacac8;border:1px solid #cacac8}#opinionstage-content a.opinionstage-blue-bordered-btn.disabled:hover{background-color:#f9f9f9;color:#cacac8;cursor:default}#opinionstage-content .opinionstage-dashboard{background-color:#fff;margin-right:20px;min-height:800px;overflow:hidden}#opinionstage-content .opinionstage-dashboard-left{margin:30px}#opinionstage-content .opinionstage-dashboard-left .opinionstage-section-header .opinionstage-section-title{float:left;font-size:30px;padding:0;line-height:1}#opinionstage-content #opinionstage-section-create .opinionstage-section-content{height:435px}#opinionstage-content #opinionstage-section-create .opinionstage-section-raw{border:1px solid #c8c8c9;display:table-row;border-left:none;border-right:none}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell{display:table-cell;padding:20px 0;vertical-align:middle}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-icon-cell{color:#3499c2;font-size:35px;text-align:center;width:7%}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-btn-cell{text-align:right;width:36%}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-description-cell{width:57%}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-description-cell .title{font-size:22px;font-weight:600;margin-bottom:5px;color:#3c434a;text-decoration:none}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-description-cell .example{color:#b1b1b1;font-size:14px;line-height:normal}#opinionstage-content #opinionstage-section-create .opinionstage-blue-btn{padding:12px 10px;text-transform:capitalize;min-width:150px}#opinionstage-content #opinionstage-section-create .opinionstage-blue-btn:not(:last-child){margin-right:10px}@media (max-width: 1230px){#opinionstage-content #opinionstage-section-create .opinionstage-blue-btn{display:block;width:auto}#opinionstage-content #opinionstage-section-create .opinionstage-blue-btn:not(:last-child){margin-right:0;margin-bottom:10px}}#opinionstage-content .opinionstage-help-row{border-bottom:1px solid #c8c8c9;margin:0 10px;padding:25px 0 25px 10px}#opinionstage-content .opinionstage-help-row:last-child{border-bottom:none}#opinionstage-content a.opinionstage-blue-bordered-btn :hover,.opinionstage-sidebar-widget a.opinionstage-blue-bordered-btn :hover{background-color:rgba(49,174,190,0.1)}#opinionstage-content a.opinionstage-blue-bordered-btn:focus,.opinionstage-sidebar-widget a.opinionstage-blue-bordered-btn:focus{box-shadow:none}p.failed-load-items-request{text-align:center;font-size:16px;padding:15px 0;max-width:1000px}.toplevel_page_opinionstage-getting-started{background:#F5F7FA}.toplevel_page_opinionstage-getting-started #wpcontent{padding-left:0}.opinionstage-getting-started-section{padding:25px;max-width:950px;color:#6E6E6E;margin-left:170px}@media (max-width: 1024px){.opinionstage-getting-started-section{margin-left:30px}}@media (max-width: 768px){.opinionstage-getting-started-section{margin-left:0}}.opinionstage-getting-started-section__no-padding{padding:0 !important}.opinionstage-getting-started-section .opinionstage-connect-form .opinionstage-button{font-weight:400}.opinionstage-getting-started-section .opinionstage-logo{margin-left:25px;margin-top:25px}.opinionstage-getting-started-section .opinionstage-button{border-radius:0;margin-right:.5em;min-width:165px}.opinionstage-two-columns{color:#6E6E6E;display:flex;flex-wrap:wrap;padding-bottom:85px}@media (max-width: 768px){.opinionstage-two-columns{text-align:center}}.opinionstage-two-columns__title{font-size:30px;line-height:1.3;font-weight:600;margin-top:-5px}.opinionstage-two-columns__text{width:47%}@media (max-width: 768px){.opinionstage-two-columns__text{width:100%;margin-bottom:55px}}.opinionstage-two-columns__text p{color:#25282B;font-size:18px;margin-bottom:42px}.opinionstage-two-columns__img{padding-left:30px;width:53%;box-sizing:border-box}@media (max-width: 768px){.opinionstage-two-columns__img{width:100%}}.opinionstage-two-columns__img img{width:100%}.opinionstage-bg-white{background:#fff}.opinionstage-getting-started-footer{background-color:#F5F7FA}.opinionstage-getting-started-footer__title{text-align:center;font-size:18px;font-weight:600}@media (max-width: 500px){.opinionstage-getting-started-footer__title{text-align:left}}.opinionstage-getting-started-footer__items{display:flex;padding-top:25px;justify-content:space-between}@media (max-width: 500px){.opinionstage-getting-started-footer__items{flex-direction:column}}.opinionstage-getting-started-footer__item__title{font-size:14px;line-height:20px}.opinionstage-getting-started-footer__list{font-size:14px;line-height:30px}.opinionstage-getting-started-footer__list a{color:#25282B}.opinionstage-connect-form .opinionstage-button{min-height:50px}.opinionstage-connect-form__disconnect button[type=submit]{margin-bottom:0;min-height:auto}.gettingStartedSection{background:#fff;margin-right:20px;min-height:500px;overflow:hidden;padding:30px}.gettingStartedSection p{font-size:20px;margin:0;margin-bottom:20px}h1.gettingStartedHeading{font-size:30px;letter-spacing:1px;line-height:35px;margin:0 auto;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;width:100%}#opinionstage-content a.gettingStartedCreate.button{background:#3499c2;box-shadow:0 0 0 0;color:#ffffff;display:block;font-size:20px;height:auto;letter-spacing:1px;margin-top:20px;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;padding:11px 10px;width:100%}@media only screen and (max-width: 375px){.gettingStartedSection{padding-left:0 !important;padding-right:0 !important;padding-top:20px !important}#opinionstage-content .opinionstage-status-content{height:160px !important}#opinionstage-content .opinionstage-status-content-connected{height:162px !important}.gettingStartedSection p{text-align:center}#opinionstage-content .opinionstage-blue-btn{margin-left:30px;margin-top:15px}#opinionstage-content a.gettingStartedCreate.button{margin:20px auto 0 !important}.text-section-getting-stared-os p{text-align:left}}.opinionstage-dashboard-left .os_use_template_btn{margin:0;padding:12px 15px !important}td.long{padding-left:10px;width:48%}td.long>div{position:relative;width:90%;height:85px}td.long table{bottom:0;color:#b1b1b1;line-height:normal;position:absolute;width:100%}td.long table td{max-width:300px}td.long a{color:#212120;display:block;font-size:16px;font-weight:normal;line-height:normal;max-height:3.6em;max-width:100%;overflow:hidden;position:absolute;text-decoration:none;text-overflow:ellipsis;word-wrap:break-word;white-space:nowrap}td.action{width:30%}td.action a.opinionstage-blue-bordered-btn{font-size:15px;margin-right:9px}span.os-icon-plugin.icon-os-common-date{float:left;margin-right:4px}.label{line-height:15px}.content-item-label{background-color:#222120;color:#fff;font-size:12px;padding:2px 4px}a.opinionstage-blue-bordered-btn{float:left;margin-right:5px;border:1px solid #3aaebd;border-radius:3px;color:#3aaebd;display:block;font-size:14px;padding:10px 30px;text-align:center;text-decoration:none;text-transform:uppercase;transition:.2s ease}.content-item-label{background-color:#222120;color:white;font-size:12px;left:0;padding:1px 5px;position:absolute;text-transform:uppercase;top:0}.opinionstage-with-separator:before{content:"";margin:0 10px;height:100%;border-left:1px solid #b1b1b1}.opinionstage-section-header{font-size:23px;height:40px;overflow:visible}.opinionstage-anchors-list{position:absolute;z-index:10;top:100%;left:0;width:100%;background:white;border:1px solid #e5e5e5;opacity:0;visibility:hidden;transition:all .5s ease;margin-top:17px;margin-bottom:0}.opinionstage-anchors-list.opened{opacity:1;visibility:visible}.opinionstage-anchors-list a{width:100%}div#container .opinionstage-section-header{width:100%}.opinionstage-section-title{float:left;font-size:30px;padding:10px 0}.opinionstage-need-help-link{float:right !important}.opinionstage-section-header a{color:#32adbc;float:right;font-size:14px;font-weight:600;line-height:normal;margin:10px 25px;margin-right:0;text-decoration:none}.opinionstage-connectivity-status{color:#fff !important;float:right;font-size:15px;margin:5px 0}.opinionstage-disconnect{background-color:transparent;border:none;color:#32adbc !important;cursor:pointer}.opinionstage-disconnect:focus{border:none}.opinionstage-disconnect:focus{outline:0 none}.opinionstage-title{font-weight:bold}#overlay{background-color:#fdfdfdc7;display:block;height:100%;filter:alpha(opacity=70);opacity:0.7;position:absolute;width:100%;z-index:100;top:0}.opinionstage-item-view-dashboard{margin:30px;width:1000px}.opinionstage-header-inner-container{float:right}.opinionstage-header-inner-container .select-wrapper{padding:0 9px;display:inline-block}.opinionstage-header-inner-container .select-wrapper:last-child{padding-right:0}.opinionstage-header-inner-container .opinionstage-header-inner-section{border-right:1px solid #f3f3f3;float:left;padding-right:4px}.opinionstage-header-inner-section a,.os-long-text a{text-decoration:none}.search-container{background-color:transparent;display:inline-block;width:150px}.opinionstage-section-header #itemList{font-size:12px;font-weight:bold;height:auto;padding:10px;width:100%}.opinionstage-section-header #opinionstage-my-items-search-field{color:#797979;height:auto;padding:8.5px 10px;width:100%}.opinionstage-item-action-container{float:right}.opinionstage-item-action-container .opinionstage-edit-content{padding:13px 17px !important}div#opinionstage-load-more{background-color:#f1f1f1;border-color:#f1f1f1;color:#444;margin:0}.gettingStartedContainer{background:url(../images/bitmap_top.png) no-repeat 0 0;background-color:#32adbc;background-position:right;height:170px;width:760px}.opinionstage-resources-title{padding:40px 0}.gettingBlockContainer{width:760px}.gettingTemplateTutorial{margin-right:10px}.gettingTemplateGallery,.gettingTemplateTutorial,a.help-center-os{border:2px solid #32adbc;color:#32adbc;font-size:15px;font-weight:bold;margin-top:10px;padding:20px 0;text-align:center;text-decoration:none;width:100%;float:left}.gettingTemplateGallery:hover,.gettingTemplateTutorial:hover,a.help-center-os:hover{background-color:rgba(49,174,190,0.1);color:#32adbc}.gettingTemplateGallery:focus,.gettingTemplateTutorial:focus,a.help-center-os:focus{background-color:rgba(49,174,190,0.1);box-shadow:none;color:#32adbc}@media (min-width: 769px){.gettingTemplateGallery,.gettingTemplateTutorial,a.help-center-os{max-width:370px}}a.help-center-os{padding:29px 0}.opinionstage-item-view-dashboard #opinionstage-items-table{width:100%}.opinionstage-item-view-dashboard #opinionstage-items-table div.label{font-size:13px}#opinionstage-content .opinionstage-item-view-dashboard .opinionstage-dashboard-section{margin-bottom:5px}#opinionistage-my-items-page-modal-wrapper{display:none;position:fixed;height:100%;width:100%;bottom:0;left:0;border-radius:6px / 6px;background-color:rgba(0,0,0,0.8);z-index:9999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#opinionistage-my-items-page-modal-wrapper .inner{background:#f5f5f5;padding:1px 15px 10px 15px;margin-top:20px}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal{background-color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);border-radius:6px;overflow:hidden;width:650px;padding:25px 35px;font-size:16px}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal a{color:#32adbc}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal a:focus{outline:none;box-shadow:none}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal a.no-text-decoration{text-decoration:none}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal p{font-size:16px}#opinionistage-my-items-page-modal-wrapper .opinionstage-textarea-wrapper{display:flex;align-items:center}#opinionistage-my-items-page-modal-wrapper .opinionstage-textarea-wrapper textarea{resize:none;margin:10px 10px 10px 0;padding:10px;width:500px;border-radius:0 0 3px 3px;border:1px solid #3aaebd;background:#fff}#opinionistage-my-items-page-modal-wrapper .opinionstage-textarea-wrapper textarea:focus{box-shadow:none}#opinionistage-my-items-page-modal-wrapper .opinionstage-close{position:absolute;right:16px;top:12px;width:20px;height:20px;cursor:pointer}#opinionistage-my-items-page-modal-wrapper .opinionstage-close:before,#opinionistage-my-items-page-modal-wrapper .opinionstage-close:after{position:absolute;left:15px;content:' ';height:17px;width:2px;background-color:#b1b1b1}#opinionistage-my-items-page-modal-wrapper .opinionstage-close:after{transform:rotate(-45deg)}#opinionistage-my-items-page-modal-wrapper .opinionstage-close:before{transform:rotate(45deg)}#opinionistage-my-items-page-modal-wrapper ul{margin-left:17px;list-style:disc}#opinionistage-my-items-page-modal-wrapper ul li{margin-bottom:15px}.toplevel_page_opinionstage-settings .selected-draft__container{position:fixed !important}@media only screen and (max-width: 1230px){#opinionstage-content .opinionstage-dashboard-left,#opinionstage-content .opinionstage-dashboard-right{float:none;width:auto}#opinionstage-content .opinionstage-dashboard{overflow-y:scroll}#opinionstage-content .opinionstage-item-view-dashboard .opinionstage-section-header .opinionstage-section-title{padding:25px 0}#opinionstage-content .opinionstage-item-view-dashboard .opinionstage-dashboard-section .opinionstage-section-header{height:95px}#opinionstage-content .opinionstage-dashboard-section .opinionstage-section-header .opinionstage-header-inner-section a{display:block;float:none}.opinionstage-create-btn{margin-bottom:10px;margin-right:0}.opinionstage-item-action-container{float:none}#opinionstage-items-table .action .opinionstage-item-action-container a{display:block;float:none;margin-bottom:10px;width:80%}.opinionstage-item-view-dashboard{width:auto}}.opinionstage-no-items{font-weight:600;font-size:15px;color:#212120}a.opinionstage-add-our-first-item{font-weight:600;font-size:15px;color:#3499c2}@media only screen and (max-width: 768px){.gettingStartedSection{width:auto}.gettingStartedContainer,.gettingBlockContainer{width:100%}.gettingBlockContainer .gettingTemplateGallery,.gettingBlockContainer .gettingTemplateTutorial{display:block;float:none;width:100%}}
|
admin/js/content-popup.js
CHANGED
@@ -1,20 +1,20 @@
|
|
1 |
-
!function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},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 r(t){return void 0===t||null===t}function o(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 d(t){return o(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function p(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 m(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}function v(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function g(t,e){return Ci.call(t,e)}function y(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function _(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function b(t,e){return t.bind(e)}function w(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}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 S(t,e,n){}function O(t,e){if(t===e)return!0;var n=c(t),r=c(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var o=Array.isArray(t),i=Array.isArray(e);if(o&&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(o||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(t,e){for(var n=0;n<t.length;n++)if(O(t[n],e))return n;return-1}function M(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function C(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function D(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function $(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 A(t){return"function"==typeof t&&/native code/.test(t.toString())}function E(t){la.push(t),ua.target=t}function j(){la.pop(),ua.target=la[la.length-1]}function L(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 I(t){ga=t}function Y(t,e){t.__proto__=e}function N(t,e,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];D(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&&!oa()&&(Array.isArray(t)||u(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new ya(t)),e&&n&&n.vmCount++,n}}function W(t,e,n,r,o){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=!o&&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)&&H(e))),e},set:function(e){var r=s?s.call(t):n;e===r||e!==e&&r!==r||s&&!c||(c?c.call(t,e):n=e,u=!o&&R(e),i.notify())}})}}function F(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 r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(W(r.value,e,n),r.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 H(t){for(var e=void 0,n=0,r=t.length;n<r;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&H(e)}function G(t,e){if(!e)return t;for(var n,r,o,i=aa?Reflect.ownKeys(e):Object.keys(e),a=0;a<i.length;a++)"__ob__"!==(n=i[a])&&(r=t[n],o=e[n],g(t,n)?r!==o&&u(r)&&u(o)&&G(r,o):F(t,n,o));return t}function V(t,e,n){return n?function(){var r="function"==typeof e?e.call(n,n):e,o="function"==typeof t?t.call(n,n):t;return r?G(r,o):o}:e?t?function(){return G("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function B(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?z(n):n}function z(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function Z(t,e,n,r){var o=Object.create(t||null);return e?x(o,e):o}function q(t,e){var n=t.props;if(n){var r,o,i,a={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(o=n[r])&&(i=$i(o),a[i]={type:null});else if(u(n))for(var s in n)o=n[s],i=$i(s),a[i]=u(o)?o:{type:o};t.props=a}}function J(t,e){var n=t.inject;if(n){var r=t.inject={};if(Array.isArray(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(u(n))for(var i in n){var a=n[i];r[i]=u(a)?x({from:i},a):{from:a}}}}function K(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}function Q(t,e,n){function r(r){var o=_a[r]||wa;s[r]=o(t[r],e[r],n,r)}if("function"==typeof e&&(e=e.options),q(e,n),J(e,n),K(e),!e._base&&(e.extends&&(t=Q(t,e.extends,n)),e.mixins))for(var o=0,i=e.mixins.length;o<i;o++)t=Q(t,e.mixins[o],n);var a,s={};for(a in t)r(a);for(a in e)g(t,a)||r(a);return s}function X(t,e,n,r){if("string"==typeof n){var o=t[e];if(g(o,n))return o[n];var i=$i(n);if(g(o,i))return o[i];var a=Ai(i);if(g(o,a))return o[a];return o[n]||o[i]||o[a]}}function tt(t,e,n,r){var o=e[t],i=!g(n,t),a=n[t],s=ot(Boolean,o.type);if(s>-1)if(i&&!g(o,"default"))a=!1;else if(""===a||a===ji(t)){var c=ot(String,o.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=et(r,o,t);var u=ga;I(!0),R(a),I(u)}return a}function et(t,e,n){if(g(e,"default")){var r=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"==typeof r&&"Function"!==nt(e.type)?r.call(t):r}}function nt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function rt(t,e){return nt(t)===nt(e)}function ot(t,e){if(!Array.isArray(e))return rt(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(rt(e[n],t))return n;return-1}function it(t,e,n){E();try{if(e)for(var r=e;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{var a=!1===o[i].call(r,t,e,n);if(a)return}catch(t){st(t,r,"errorCaptured hook")}}st(t,e,n)}finally{j()}}function at(t,e,n,r,o){var i;try{i=n?t.apply(e,n):t.call(e),i&&!i._isVue&&d(i)&&!i._handled&&(i.catch(function(t){return it(t,r,o+" (Promise/async)")}),i._handled=!0)}catch(t){it(t,r,o)}return i}function st(t,e,n){if(Wi.errorHandler)try{return Wi.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(!Gi&&!Vi||"undefined"==typeof console)throw t;console.error(t)}function ut(){Sa=!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)}),Sa||(Sa=!0,ba()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){n=t})}function ft(t){dt(t,Da),Da.clear()}function dt(t,e){var n,r,o=Array.isArray(t);if(!(!o&&!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(o)for(n=t.length;n--;)dt(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)dt(t[r[n]],e)}}function pt(t,e){function n(){var t=arguments,r=n.fns;if(!Array.isArray(r))return at(r,null,arguments,e,"v-on handler");for(var o=r.slice(),i=0;i<o.length;i++)at(o[i],null,t,e,"v-on handler")}return n.fns=t,n}function ht(t,e,n,o,a,s){var c,u,l,f;for(c in t)u=t[c],l=e[c],f=$a(c),r(u)||(r(l)?(r(u.fns)&&(u=t[c]=pt(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)r(t[c])&&(f=$a(c),o(f.name,e[c],f.capture))}function mt(t,e,n){function a(){n.apply(this,arguments),v(s.fns,a)}t instanceof fa&&(t=t.data.hook||(t.data.hook={}));var s,c=t[e];r(c)?s=pt([a]):o(c.fns)&&i(c.merged)?(s=c,s.fns.push(a)):s=pt([c,a]),s.merged=!0,t[e]=s}function vt(t,e,n){var i=e.options.props;if(!r(i)){var a={},s=t.attrs,c=t.props;if(o(s)||o(c))for(var u in i){var l=ji(u);gt(a,c,u,l,!0)||gt(a,s,u,l,!1)}return a}}function gt(t,e,n,r,i){if(o(e)){if(g(e,n))return t[n]=e[n],i||delete e[n],!0;if(g(e,r))return t[n]=e[r],i||delete e[r],!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 _t(t){return s(t)?[L(t)]:Array.isArray(t)?wt(t):void 0}function bt(t){return o(t)&&o(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],r(a)||"boolean"==typeof a||(c=l.length-1,u=l[c],Array.isArray(a)?a.length>0&&(a=wt(a,(e||"")+"_"+n),bt(a[0])&&bt(u)&&(l[c]=L(u.text+a[0].text),a.shift()),l.push.apply(l,a)):s(a)?bt(u)?l[c]=L(u.text+a):""!==a&&l.push(L(a)):bt(a)&&bt(u)?l[c]=L(u.text+a.text):(i(t._isVList)&&o(a.tag)&&r(a.key)&&o(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=St(t.$options.inject,t);e&&(I(!1),Object.keys(e).forEach(function(n){W(t,n,e[n])}),I(!0))}function St(t,e){if(t){for(var n=Object.create(null),r=aa?Reflect.ownKeys(t):Object.keys(t),o=0;o<r.length;o++){var i=r[o];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={},r=0,o=t.length;r<o;r++){var i=t[r],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(Tt)&&delete n[u];return n}function Tt(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Mt(t,e,n){var r,o=Object.keys(e).length>0,i=t?!!t.$stable:!o,a=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(i&&n&&n!==Si&&a===n.$key&&!o&&!n.$hasNormal)return n;r={};for(var s in t)t[s]&&"$"!==s[0]&&(r[s]=Ct(e,s,t[s]))}else r={};for(var c in e)c in r||(r[c]=Dt(e,c));return t&&Object.isExtensible(t)&&(t._normalized=r),D(r,"$stable",i),D(r,"$key",a),D(r,"$hasNormal",o),r}function Ct(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:_t(t),t&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function Dt(t,e){return function(){return t[e]}}function $t(t,e){var n,r,i,a,s;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,i=t.length;r<i;r++)n[r]=e(t[r],r);else if("number"==typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);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),r=0,i=a.length;r<i;r++)s=a[r],n[r]=e(t[s],s,r);return o(n)||(n=[]),n._isVList=!0,n}function At(t,e,n,r){var o,i=this.$scopedSlots[t];i?(n=n||{},r&&(n=x(x({},r),n)),o=i(n)||e):o=this.$slots[t]||e;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function Et(t){return X(this.$options,"filters",t,!0)||Ii}function jt(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function Lt(t,e,n,r,o){var i=Wi.keyCodes[e]||n;return o&&r&&!Wi.keyCodes[e]?jt(o,r):i?jt(i,t):r?ji(r)!==e:void 0}function Pt(t,e,n,r,o){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||Mi(a))i=t;else{var s=t.attrs&&t.attrs.type;i=r||Wi.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=$i(a),u=ji(a);if(!(c in i||u in i)&&(i[a]=n[a],o)){(t.on||(t.on={}))["update:"+a]=function(t){n[a]=t}}}(a)}else;return t}function It(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e?r:(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),Nt(r,"__static__"+t,!1),r)}function Yt(t,e,n){return Nt(t,"__once__"+e+(n?"_"+n:""),!0),t}function Nt(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&Rt(t[r],e+"_"+r,n);else Rt(t,e,n)}function Rt(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Wt(t,e){if(e)if(u(e)){var n=t.on=t.on?x({},t.on):{};for(var r in e){var o=n[r],i=e[r];n[r]=o?[].concat(o,i):i}}else;return t}function Ft(t,e,n,r){e=e||{$stable:!n};for(var o=0;o<t.length;o++){var i=t[o];Array.isArray(i)?Ft(i,e,n):i&&(i.proxy&&(i.fn.proxy=!0),e[i.key]=i.fn)}return r&&(e.$key=r),e}function Ut(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"==typeof r&&r&&(t[e[n]]=e[n+1])}return t}function Ht(t,e){return"string"==typeof t?e+t:t}function Gt(t){t._o=Yt,t._n=h,t._s=p,t._l=$t,t._t=At,t._q=O,t._i=T,t._m=It,t._f=Et,t._k=Lt,t._b=Pt,t._v=L,t._e=pa,t._u=Ft,t._g=Wt,t._d=Ut,t._p=Ht}function Vt(t,e,n,r,o){var a,s=this,c=o.options;g(r,"_uid")?(a=Object.create(r),a._original=r):(a=r,r=r._original);var u=i(c._compiled),l=!u;this.data=t,this.props=e,this.children=n,this.parent=r,this.listeners=t.on||Si,this.injections=St(c.inject,r),this.slots=function(){return s.$slots||Mt(t.scopedSlots,s.$slots=Ot(n,r)),s.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Mt(t.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=Mt(t.scopedSlots,this.$slots)),c._scopeId?this._c=function(t,e,n,o){var i=te(a,t,e,n,o,l);return i&&!Array.isArray(i)&&(i.fnScopeId=c._scopeId,i.fnContext=r),i}:this._c=function(t,e,n,r){return te(a,t,e,n,r,l)}}function Bt(t,e,n,r,i){var a=t.options,s={},c=a.props;if(o(c))for(var u in c)s[u]=tt(u,c,e||Si);else o(n.attrs)&&Zt(s,n.attrs),o(n.props)&&Zt(s,n.props);var l=new Vt(n,s,i,r,t),f=a.render.call(null,l._c,l);if(f instanceof fa)return zt(f,n,l.parent,a,l);if(Array.isArray(f)){for(var d=_t(f)||[],p=new Array(d.length),h=0;h<d.length;h++)p[h]=zt(d[h],n,l.parent,a,l);return p}}function zt(t,e,n,r,o){var i=P(t);return i.fnContext=n,i.fnOptions=r,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function Zt(t,e){for(var n in e)t[$i(n)]=e[n]}function qt(t,e,n,a,s){if(!r(t)){var u=n.$options._base;if(c(t)&&(t=u.extend(t)),"function"==typeof t){var l;if(r(t.cid)&&(l=t,void 0===(t=se(l,u))))return ae(l,e,n,a,s);e=e||{},Ue(t),o(e.model)&&Xt(t.options,e);var f=vt(e,t,s);if(i(t.options.functional))return Bt(t,f,e,n,a);var d=e.on;if(e.on=e.nativeOn,i(t.options.abstract)){var p=e.slot;e={},p&&(e.slot=p)}Kt(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:d,tag:s,children:a},l)}}}function Jt(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;return o(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new t.componentOptions.Ctor(n)}function Kt(t){for(var e=t.hook||(t.hook={}),n=0;n<ja.length;n++){var r=ja[n],o=e[r],i=Ea[r];o===i||o&&o._merged||(e[r]=o?Qt(i,o):i)}}function Qt(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}function Xt(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var i=e.on||(e.on={}),a=i[r],s=e.model.callback;o(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(i[r]=[s].concat(a)):i[r]=s}function te(t,e,n,r,o,a){return(Array.isArray(n)||s(n))&&(o=r,r=n,n=void 0),i(a)&&(o=Pa),ee(t,e,n,r,o)}function ee(t,e,n,r,i){if(o(n)&&o(n.__ob__))return pa();if(o(n)&&o(n.is)&&(e=n.is),!e)return pa();Array.isArray(r)&&"function"==typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),i===Pa?r=_t(r):i===La&&(r=yt(r));var a,s;if("string"==typeof e){var c;s=t.$vnode&&t.$vnode.ns||Wi.getTagNamespace(e),a=Wi.isReservedTag(e)?new fa(Wi.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!o(c=X(t.$options,"components",e))?new fa(e,n,r,void 0,void 0,t):qt(c,n,t,r,e)}else a=qt(e,n,t,r);return Array.isArray(a)?a:o(a)?(o(s)&&ne(a,s),o(n)&&re(n),a):pa()}function ne(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),o(t.children))for(var a=0,s=t.children.length;a<s;a++){var c=t.children[a];o(c.tag)&&(r(c.ns)||i(n)&&"svg"!==c.tag)&&ne(c,e,n)}}function re(t){c(t.style)&&ft(t.style),c(t.class)&&ft(t.class)}function oe(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=Ot(e._renderChildren,r),t.$scopedSlots=Si,t._c=function(e,n,r,o){return te(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return te(t,e,n,r,o,!0)};var o=n&&n.data;W(t,"$attrs",o&&o.attrs||Si,null,!0),W(t,"$listeners",e._parentListeners||Si,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,r,o){var i=pa();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}function se(t,e){if(i(t.error)&&o(t.errorComp))return t.errorComp;if(o(t.resolved))return t.resolved;var n=Ia;if(n&&o(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),i(t.loading)&&o(t.loadingComp))return t.loadingComp;if(n&&!o(t.owners)){var a=t.owners=[n],s=!0,u=null,l=null;n.$on("hook:destroyed",function(){return v(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))},p=M(function(n){t.resolved=ie(n,e),s?a.length=0:f(!0)}),h=M(function(e){o(t.errorComp)&&(t.error=!0,f(!0))}),m=t(p,h);return c(m)&&(d(m)?r(t.resolved)&&m.then(p,h):d(m.component)&&(m.component.then(p,h),o(m.error)&&(t.errorComp=ie(m.error,e)),o(m.loading)&&(t.loadingComp=ie(m.loading,e),0===m.delay?t.loading=!0:u=setTimeout(function(){u=null,r(t.resolved)&&r(t.error)&&(t.loading=!0,f(!1))},m.delay||200)),o(m.timeout)&&(l=setTimeout(function(){l=null,r(t.resolved)&&h(null)},m.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(o(n)&&(o(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){Aa.$on(t,e)}function de(t,e){Aa.$off(t,e)}function pe(t,e){var n=Aa;return function r(){null!==e.apply(null,arguments)&&n.$off(t,r)}}function he(t,e,n){Aa=t,ht(e,n||{},fe,de,pe,t),Aa=void 0}function me(t){var e=Ya;return Ya=t,function(){Ya=e}}function ve(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=pa),xe(t,"beforeMount");var r;return r=function(){t._update(t._render(),n)},new Za(t,r,S,{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,r,o){var i=r.data.scopedSlots,a=t.$scopedSlots,s=!!(i&&!i.$stable||a!==Si&&!a.$stable||i&&t.$scopedSlots.$key!==i.$key),c=!!(o||t.$options._renderChildren||s);if(t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=o,t.$attrs=r.data.attrs||Si,t.$listeners=n||Si,e&&t.$options.props){I(!1);for(var u=t._props,l=t.$options._propKeys||[],f=0;f<l.length;f++){var d=l[f],p=t.$options.props;u[d]=tt(d,p,e,t)}I(!0),t.$options.propsData=e}n=n||Si;var h=t.$options._parentListeners;t.$options._parentListeners=n,he(t,n,h),c&&(t.$slots=Ot(o,r.context),t.$forceUpdate())}function _e(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function be(t,e){if(e){if(t._directInactive=!1,_e(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++)be(t.$children[n]);xe(t,"activated")}}function we(t,e){if(!(e&&(t._directInactive=!0,_e(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){E();var n=t.$options[e],r=e+" hook";if(n)for(var o=0,i=n.length;o<i;o++)at(n[o],t,null,t,r);t._hasHookEvent&&t.$emit("hook:"+e),j()}function ke(){Ha=Na.length=Ra.length=0,Wa={},Fa=Ua=!1}function Se(){Ga=Va(),Ua=!0;var t,e;for(Na.sort(function(t,e){return t.id-e.id}),Ha=0;Ha<Na.length;Ha++)t=Na[Ha],t.before&&t.before(),e=t.id,Wa[e]=null,t.run();var n=Ra.slice(),r=Na.slice();ke(),Me(n),Oe(r),ia&&Wi.devtools&&ia.emit("flush")}function Oe(t){for(var e=t.length;e--;){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&xe(r,"updated")}}function Te(t){t._inactive=!1,Ra.push(t)}function Me(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,be(t[e],!0)}function Ce(t){var e=t.id;if(null==Wa[e]){if(Wa[e]=!0,Ua){for(var n=Na.length-1;n>Ha&&Na[n].id>t.id;)n--;Na.splice(n+1,0,t)}else Na.push(t);Fa||(Fa=!0,lt(Se))}}function De(t,e,n){qa.get=function(){return this[e][n]},qa.set=function(t){this[e][n]=t},Object.defineProperty(t,n,qa)}function $e(t){t._watchers=[];var e=t.$options;e.props&&Ae(t,e.props),e.methods&&Ne(t,e.methods),e.data?Ee(t):R(t._data={},!0),e.computed&&Le(t,e.computed),e.watch&&e.watch!==Xi&&Re(t,e.watch)}function Ae(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[],i=!t.$parent;i||I(!1);for(var a in e)!function(i){o.push(i);var a=tt(i,e,n,t);W(r,i,a),i in t||De(t,"_props",i)}(a);I(!0)}function Ee(t){var e=t.$options.data;e=t._data="function"==typeof e?je(e,t):e||{},u(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);o--;){var i=n[o];r&&g(r,i)||C(i)||De(t,"_data",i)}R(e,!0)}function je(t,e){E();try{return t.call(e,e)}catch(t){return it(t,e,"data()"),{}}finally{j()}}function Le(t,e){var n=t._computedWatchers=Object.create(null),r=oa();for(var o in e){var i=e[o],a="function"==typeof i?i:i.get;r||(n[o]=new Za(t,a||S,S,Ja)),o in t||Pe(t,o,i)}}function Pe(t,e,n){var r=!oa();"function"==typeof n?(qa.get=r?Ie(e):Ye(n),qa.set=S):(qa.get=n.get?r&&!1!==n.cache?Ie(e):Ye(n.get):S,qa.set=n.set||S),Object.defineProperty(t,e,qa)}function Ie(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ua.target&&e.depend(),e.value}}function Ye(t){return function(){return t.call(this,this)}}function Ne(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?S:Li(e[n],t)}function Re(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)We(t,n,r[o]);else We(t,n,r)}}function We(t,e,n,r){return u(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function Fe(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.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 r=He(t);r&&x(t.extendOptions,r),e=t.options=Q(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function He(t){var e,n=t.options,r=t.sealedOptions;for(var o in n)n[o]!==r[o]&&(e||(e={}),e[o]=n[o]);return e}function Ge(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 Be(t){t.mixin=function(t){return this.options=Q(this.options,t),this}}function ze(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];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&&Ze(a),a.options.computed&&qe(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Ni.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),o[r]=a,a}}function Ze(t){var e=t.options.props;for(var n in e)De(t.prototype,"_props",n)}function qe(t){var e=t.options.computed;for(var n in e)Pe(t.prototype,n,e[n])}function Je(t){Ni.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 Ke(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,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=Ke(a.componentOptions);s&&!e(s)&&tn(n,i,r,o)}}}function tn(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,v(n,e)}function en(t){for(var e=t.data,n=t,r=t;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=nn(r.data,e));for(;o(n=n.parent);)n&&n.data&&(e=nn(e,n.data));return rn(e.staticClass,e.class)}function nn(t,e){return{staticClass:on(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function rn(t,e){return o(t)||o(e)?on(t,an(e)):""}function on(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="",r=0,i=t.length;r<i;r++)o(e=an(t[r]))&&""!==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 Ss(t)?"svg":"math"===t?"math":void 0}function ln(t){if(!Gi)return!0;if(Ts(t))return!1;if(t=t.toLowerCase(),null!=Ms[t])return Ms[t];var e=document.createElement(t);return t.indexOf("-")>-1?Ms[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Ms[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 dn(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 pn(t,e){return document.createElementNS(xs[t],e)}function hn(t){return document.createTextNode(t)}function mn(t){return document.createComment(t)}function vn(t,e,n){t.insertBefore(e,n)}function gn(t,e){t.removeChild(e)}function yn(t,e){t.appendChild(e)}function _n(t){return t.parentNode}function bn(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 Sn(t,e){var n=t.data.ref;if(o(n)){var r=t.context,i=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?v(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&&o(t.data)===o(e.data)&&Tn(t,e)||i(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&r(e.asyncFactory.error))}function Tn(t,e){if("input"!==t.tag)return!0;var n,r=o(n=t.data)&&o(n=n.attrs)&&n.type,i=o(n=e.data)&&o(n=n.attrs)&&n.type;return r===i||Cs(r)&&Cs(i)}function Mn(t,e,n){var r,i,a={};for(r=e;r<=n;++r)i=t[r].key,o(i)&&(a[i]=r);return a}function Cn(t,e){(t.data.directives||e.data.directives)&&Dn(t,e)}function Dn(t,e){var n,r,o,i=t===As,a=e===As,s=$n(t.data.directives,t.context),c=$n(e.data.directives,e.context),u=[],l=[];for(n in c)r=s[n],o=c[n],r?(o.oldValue=r.value,o.oldArg=r.arg,En(o,"update",e,t),o.def&&o.def.componentUpdated&&l.push(o)):(En(o,"bind",e,t),o.def&&o.def.inserted&&u.push(o));if(u.length){var f=function(){for(var n=0;n<u.length;n++)En(u[n],"inserted",e,t)};i?mt(e,"insert",f):f()}if(l.length&&mt(e,"postpatch",function(){for(var n=0;n<l.length;n++)En(l[n],"componentUpdated",e,t)}),!i)for(n in s)c[n]||En(s[n],"unbind",t,t,a)}function $n(t,e){var n=Object.create(null);if(!t)return n;var r,o;for(r=0;r<t.length;r++)o=t[r],o.modifiers||(o.modifiers=Ls),n[An(o)]=o,o.def=X(e.$options,"directives",o.name,!0);return n}function An(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function En(t,e,n,r,o){var i=t.def&&t.def[e];if(i)try{i(n.elm,t,n,r,o)}catch(r){it(r,n.context,"directive "+t.name+" "+e+" hook")}}function jn(t,e){var n=e.componentOptions;if(!(o(n)&&!1===n.Ctor.options.inheritAttrs||r(t.data.attrs)&&r(e.data.attrs))){var i,a,s=e.elm,c=t.data.attrs||{},u=e.data.attrs||{};o(u.__ob__)&&(u=e.data.attrs=x({},u));for(i in u)a=u[i],c[i]!==a&&Ln(s,i,a);(Zi||Ji)&&u.value!==c.value&&Ln(s,"value",u.value);for(i in c)r(u[i])&&(_s(i)?s.removeAttributeNS(ys,bs(i)):hs(i)||s.removeAttribute(i))}}function Ln(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,vs(e,n)):_s(e)?ws(n)?t.removeAttributeNS(ys,bs(e)):t.setAttributeNS(ys,e,n):Pn(t,e,n)}function Pn(t,e,n){if(ws(n))t.removeAttribute(e);else{if(Zi&&!qi&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}function In(t,e){var n=e.elm,i=e.data,a=t.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=en(e),c=n._transitionClasses;o(c)&&(s=on(s,an(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}function Yn(t){function e(){(a||(a=[])).push(t.slice(h,o).trim()),h=o+1}var n,r,o,i,a,s=!1,c=!1,u=!1,l=!1,f=0,d=0,p=0,h=0;for(o=0;o<t.length;o++)if(r=n,n=t.charCodeAt(o),s)39===n&&92!==r&&(s=!1);else if(c)34===n&&92!==r&&(c=!1);else if(u)96===n&&92!==r&&(u=!1);else if(l)47===n&&92!==r&&(l=!1);else if(124!==n||124===t.charCodeAt(o+1)||124===t.charCodeAt(o-1)||f||d||p){switch(n){case 34:c=!0;break;case 39:s=!0;break;case 96:u=!0;break;case 40:p++;break;case 41:p--;break;case 91:d++;break;case 93:d--;break;case 123:f++;break;case 125:f--}if(47===n){for(var m=o-1,v=void 0;m>=0&&" "===(v=t.charAt(m));m--);v&&Ns.test(v)||(l=!0)}}else void 0===i?(h=o+1,i=t.slice(0,o).trim()):e();if(void 0===i?i=t.slice(0,o).trim():0!==h&&e(),a)for(o=0;o<a.length;o++)i=Nn(i,a[o]);return i}function Nn(t,e){var n=e.indexOf("(");if(n<0)return'_f("'+e+'")('+t+")";var r=e.slice(0,n),o=e.slice(n+1);return'_f("'+r+'")('+t+(")"!==o?","+o:o)}function Rn(t,e){console.error("[Vue compiler]: "+t)}function Wn(t,e){return t?t.map(function(t){return t[e]}).filter(function(t){return t}):[]}function Fn(t,e,n,r,o){(t.props||(t.props=[])).push(Kn({name:e,value:n,dynamic:o},r)),t.plain=!1}function Un(t,e,n,r,o){(o?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[])).push(Kn({name:e,value:n,dynamic:o},r)),t.plain=!1}function Hn(t,e,n,r){t.attrsMap[e]=n,t.attrsList.push(Kn({name:e,value:n},r))}function Gn(t,e,n,r,o,i,a,s){(t.directives||(t.directives=[])).push(Kn({name:e,rawName:n,value:r,arg:o,isDynamicArg:i,modifiers:a},s)),t.plain=!1}function Vn(t,e,n){return n?"_p("+e+',"'+t+'")':t+e}function Bn(t,e,n,r,o,i,a,s){r=r||Si,r.right?s?e="("+e+")==='click'?'contextmenu':("+e+")":"click"===e&&(e="contextmenu",delete r.right):r.middle&&(s?e="("+e+")==='click'?'mouseup':("+e+")":"click"===e&&(e="mouseup")),r.capture&&(delete r.capture,e=Vn("!",e,s)),r.once&&(delete r.once,e=Vn("~",e,s)),r.passive&&(delete r.passive,e=Vn("&",e,s));var c;r.native?(delete r.native,c=t.nativeEvents||(t.nativeEvents={})):c=t.events||(t.events={});var u=Kn({value:n.trim(),dynamic:s},a);r!==Si&&(u.modifiers=r);var l=c[e];Array.isArray(l)?o?l.unshift(u):l.push(u):c[e]=l?o?[u,l]:[l,u]:u,t.plain=!1}function zn(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}function Zn(t,e,n){var r=qn(t,":"+e)||qn(t,"v-bind:"+e);if(null!=r)return Yn(r);if(!1!==n){var o=qn(t,e);if(null!=o)return JSON.stringify(o)}}function qn(t,e,n){var r;if(null!=(r=t.attrsMap[e]))for(var o=t.attrsList,i=0,a=o.length;i<a;i++)if(o[i].name===e){o.splice(i,1);break}return n&&delete t.attrsMap[e],r}function Jn(t,e){for(var n=t.attrsList,r=0,o=n.length;r<o;r++){var i=n[r];if(e.test(i.name))return n.splice(r,1),i}}function Kn(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 r=n||{},o=r.number,i=r.trim,a="$$v";i&&(a="(typeof $$v === 'string'? $$v.trim(): $$v)"),o&&(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=tr(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function tr(t){if(t=t.trim(),es=t.length,t.indexOf("[")<0||t.lastIndexOf("]")<es-1)return os=t.lastIndexOf("."),os>-1?{exp:t.slice(0,os),key:'"'+t.slice(os+1)+'"'}:{exp:t,key:null};for(ns=t,os=is=as=0;!nr();)rs=er(),rr(rs)?ir(rs):91===rs&&or(rs);return{exp:t.slice(0,is),key:t.slice(is+1,as)}}function er(){return ns.charCodeAt(++os)}function nr(){return os>=es}function rr(t){return 34===t||39===t}function or(t){var e=1;for(is=os;!nr();)if(t=er(),rr(t))ir(t);else if(91===t&&e++,93===t&&e--,0===e){as=os;break}}function ir(t){for(var e=t;!nr()&&(t=er())!==e;);}function ar(t,e,n){ss=n;var r=e.value,o=e.modifiers,i=t.tag,a=t.attrsMap.type;if(t.component)return Qn(t,r,o),!1;if("select"===i)ur(t,r,o);else if("input"===i&&"checkbox"===a)sr(t,r,o);else if("input"===i&&"radio"===a)cr(t,r,o);else if("input"===i||"textarea"===i)lr(t,r,o);else if(!Wi.isReservedTag(i))return Qn(t,r,o),!1;return!0}function sr(t,e,n){var r=n&&n.number,o=Zn(t,"value")||"null",i=Zn(t,"true-value")||"true",a=Zn(t,"false-value")||"false";Fn(t,"checked","Array.isArray("+e+")?_i("+e+","+o+")>-1"+("true"===i?":("+e+")":":_q("+e+","+i+")")),Bn(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+o+")":o)+",$$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 cr(t,e,n){var r=n&&n.number,o=Zn(t,"value")||"null";o=r?"_n("+o+")":o,Fn(t,"checked","_q("+e+","+o+")"),Bn(t,"change",Xn(e,o),null,!0)}function ur(t,e,n){var r=n&&n.number,o='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 '+(r?"_n(val)":"val")+"})",i="var $$selectedVal = "+o+";";i=i+" "+Xn(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Bn(t,"change",i,null,!0)}function lr(t,e,n){var r=t.attrsMap.type,o=n||{},i=o.lazy,a=o.number,s=o.trim,c=!i&&"range"!==r,u=i?"change":"range"===r?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),Fn(t,"value","("+e+")"),Bn(t,u,f,null,!0),(s||a)&&Bn(t,"blur","$forceUpdate()")}function fr(t){if(o(t[Rs])){var e=Zi?"change":"input";t[e]=[].concat(t[Rs],t[e]||[]),delete t[Rs]}o(t[Ws])&&(t.change=[].concat(t[Ws],t.change||[]),delete t[Ws])}function dr(t,e,n){var r=cs;return function o(){null!==e.apply(null,arguments)&&hr(t,o,n,r)}}function pr(t,e,n,r){if(Fs){var o=Ga,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}cs.addEventListener(t,e,ta?{capture:n,passive:r}:n)}function hr(t,e,n,r){(r||cs).removeEventListener(t,e._wrapper||e,n)}function mr(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},o=t.data.on||{};cs=e.elm,fr(n),ht(n,o,pr,hr,dr,e.context),cs=void 0}}function vr(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,i,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};o(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=r(i)?"":String(i);gr(a,u)&&(a.value=u)}else if("innerHTML"===n&&Ss(a.tagName)&&r(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 gr(t,e){return!t.composing&&("OPTION"===t.tagName||yr(t,e)||_r(t,e))}function yr(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}function _r(t,e){var n=t.value,r=t._vModifiers;if(o(r)){if(r.number)return h(n)!==h(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}function br(t){var e=wr(t.style);return t.staticStyle?x(t.staticStyle,e):e}function wr(t){return Array.isArray(t)?k(t):"string"==typeof t?Gs(t):t}function xr(t,e){var n,r={};if(e)for(var o=t;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=br(o.data))&&x(r,n);(n=br(t.data))&&x(r,n);for(var i=t;i=i.parent;)i.data&&(n=br(i.data))&&x(r,n);return r}function kr(t,e){var n=e.data,i=t.data;if(!(r(n.staticStyle)&&r(n.style)&&r(i.staticStyle)&&r(i.style))){var a,s,c=e.elm,u=i.staticStyle,l=i.normalizedStyle||i.style||{},f=u||l,d=wr(e.data.style)||{};e.data.normalizedStyle=o(d.__ob__)?x({},d):d;var p=xr(e,!0);for(s in f)r(p[s])&&zs(c,s,"");for(s in p)(a=p[s])!==f[s]&&zs(c,s,null==a?"":a)}}function Sr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ks).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 Or(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ks).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")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Tr(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 Mr(t){ac(function(){ac(t)})}function Cr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Sr(t,e))}function Dr(t,e){t._transitionClasses&&v(t._transitionClasses,e),Or(t,e)}function $r(t,e,n){var r=Ar(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===tc?rc: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 Ar(t,e){var n,r=window.getComputedStyle(t),o=(r[nc+"Delay"]||"").split(", "),i=(r[nc+"Duration"]||"").split(", "),a=Er(o,i),s=(r[oc+"Delay"]||"").split(", "),c=(r[oc+"Duration"]||"").split(", "),u=Er(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(r[nc+"Property"])}}function Er(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return jr(e)+jr(t[n])}))}function jr(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Lr(t,e){var n=t.elm;o(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=Tr(t.data.transition);if(!r(i)&&!o(n._enterCb)&&1===n.nodeType){for(var a=i.css,s=i.type,u=i.enterClass,l=i.enterToClass,f=i.enterActiveClass,d=i.appearClass,p=i.appearToClass,m=i.appearActiveClass,v=i.beforeEnter,g=i.enter,y=i.afterEnter,_=i.enterCancelled,b=i.beforeAppear,w=i.appear,x=i.afterAppear,k=i.appearCancelled,S=i.duration,O=Ya,T=Ya.$vnode;T&&T.parent;)O=T.context,T=T.parent;var C=!O._isMounted||!t.isRootInsert;if(!C||w||""===w){var D=C&&d?d:u,$=C&&m?m:f,A=C&&p?p:l,E=C?b||v:v,j=C&&"function"==typeof w?w:g,L=C?x||y:y,P=C?k||_:_,I=h(c(S)?S.enter:S),Y=!1!==a&&!qi,N=Yr(j),R=n._enterCb=M(function(){Y&&(Dr(n,A),Dr(n,$)),R.cancelled?(Y&&Dr(n,D),P&&P(n)):L&&L(n),n._enterCb=null});t.data.show||mt(t,"insert",function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),j&&j(n,R)}),E&&E(n),Y&&(Cr(n,D),Cr(n,$),Mr(function(){Dr(n,D),R.cancelled||(Cr(n,A),N||(Ir(I)?setTimeout(R,I):$r(n,s,R)))})),t.data.show&&(e&&e(),j&&j(n,R)),Y||N||R()}}}function Pr(t,e){function n(){k.cancelled||(!t.data.show&&i.parentNode&&((i.parentNode._pending||(i.parentNode._pending={}))[t.key]=t),p&&p(i),b&&(Cr(i,l),Cr(i,d),Mr(function(){Dr(i,l),k.cancelled||(Cr(i,f),w||(Ir(x)?setTimeout(k,x):$r(i,u,k)))})),m&&m(i,k),b||w||k())}var i=t.elm;o(i._enterCb)&&(i._enterCb.cancelled=!0,i._enterCb());var a=Tr(t.data.transition);if(r(a)||1!==i.nodeType)return e();if(!o(i._leaveCb)){var s=a.css,u=a.type,l=a.leaveClass,f=a.leaveToClass,d=a.leaveActiveClass,p=a.beforeLeave,m=a.leave,v=a.afterLeave,g=a.leaveCancelled,y=a.delayLeave,_=a.duration,b=!1!==s&&!qi,w=Yr(m),x=h(c(_)?_.leave:_),k=i._leaveCb=M(function(){i.parentNode&&i.parentNode._pending&&(i.parentNode._pending[t.key]=null),b&&(Dr(i,f),Dr(i,d)),k.cancelled?(b&&Dr(i,l),g&&g(i)):(e(),v&&v(i)),i._leaveCb=null});y?y(n):n()}}function Ir(t){return"number"==typeof t&&!isNaN(t)}function Yr(t){if(r(t))return!1;var e=t.fns;return o(e)?Yr(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Nr(t,e){!0!==e.data.show&&Lr(e)}function Rr(t,e,n){Wr(t,e,n),(Zi||Ji)&&setTimeout(function(){Wr(t,e,n)},0)}function Wr(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,c=t.options.length;s<c;s++)if(a=t.options[s],o)i=T(r,Ur(a))>-1,a.selected!==i&&(a.selected=i);else if(O(Ur(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Fr(t,e){return e.every(function(e){return!O(e,t)})}function Ur(t){return"_value"in t?t._value:t.value}function Hr(t){t.target.composing=!0}function Gr(t){t.target.composing&&(t.target.composing=!1,Vr(t.target,"input"))}function Vr(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Br(t){return!t.componentInstance||t.data&&t.data.transition?t:Br(t.componentInstance._vnode)}function zr(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?zr(ue(e.children)):t}function Zr(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[$i(i)]=o[i];return e}function qr(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Jr(t){for(;t=t.parent;)if(t.data.transition)return!0}function Kr(t,e){return e.key===t.key&&e.tag===t.tag}function Qr(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Xr(t){t.data.newPos=t.elm.getBoundingClientRect()}function to(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}function eo(t,e){var n=e?Yc(e):Pc;if(n.test(t)){for(var r,o,i,a=[],s=[],c=n.lastIndex=0;r=n.exec(t);){o=r.index,o>c&&(s.push(i=t.slice(c,o)),a.push(JSON.stringify(i)));var u=Yn(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=o+r[0].length}return c<t.length&&(s.push(i=t.slice(c)),a.push(JSON.stringify(i))),{expression:a.join("+"),tokens:s}}}function no(t,e){var n=(e.warn,qn(t,"class"));n&&(t.staticClass=JSON.stringify(n));var r=Zn(t,"class",!1);r&&(t.classBinding=r)}function ro(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}function oo(t,e){var n=(e.warn,qn(t,"style"));if(n){t.staticStyle=JSON.stringify(Gs(n))}var r=Zn(t,"style",!1);r&&(t.styleBinding=r)}function io(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}function ao(t,e){var n=e?ou:ru;return t.replace(n,function(t){return nu[t]})}function so(t,e){function n(e){l+=e,t=t.substring(e)}function r(t,n,r){var o,s;if(null==n&&(n=l),null==r&&(r=l),t)for(s=t.toLowerCase(),o=a.length-1;o>=0&&a[o].lowerCasedTag!==s;o--);else o=0;if(o>=0){for(var c=a.length-1;c>=o;c--)e.end&&e.end(a[c].tag,n,r);a.length=o,i=o&&a[o-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,r):"p"===s&&(e.start&&e.start(t,[],!1,n,r),e.end&&e.end(t,n,r))}for(var o,i,a=[],s=e.expectHTML,c=e.isUnaryTag||Pi,u=e.canBeLeftOpenTag||Pi,l=0;t;){if(o=t,i&&tu(i)){var f=0,d=i.toLowerCase(),p=eu[d]||(eu[d]=new RegExp("([\\s\\S]*?)(</"+d+"[^>]*>)","i")),h=t.replace(p,function(t,n,r){return f=r.length,tu(d)||"noscript"===d||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),au(d,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});l+=t.length-h.length,t=h,r(d,l-f,l)}else{var m=t.indexOf("<");if(0===m){if(Qc.test(t)){var v=t.indexOf("--\x3e");if(v>=0){e.shouldKeepComment&&e.comment(t.substring(4,v),l,l+v+3),n(v+3);continue}}if(Xc.test(t)){var g=t.indexOf("]>");if(g>=0){n(g+2);continue}}var y=t.match(Kc);if(y){n(y[0].length);continue}var _=t.match(Jc);if(_){var b=l;n(_[0].length),r(_[1],b,l);continue}var w=function(){var e=t.match(Zc);if(e){var r={tagName:e[1],attrs:[],start:l};n(e[0].length);for(var o,i;!(o=t.match(qc))&&(i=t.match(Vc)||t.match(Gc));)i.start=l,n(i[0].length),i.end=l,r.attrs.push(i);if(o)return r.unarySlash=o[1],n(o[0].length),r.end=l,r}}();if(w){!function(t){var n=t.tagName,o=t.unarySlash;s&&("p"===i&&Hc(n)&&r(i),u(n)&&i===n&&r(n));for(var l=c(n)||!!o,f=t.attrs.length,d=new Array(f),p=0;p<f;p++){var h=t.attrs[p],m=h[3]||h[4]||h[5]||"",v="a"===n&&"href"===h[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;d[p]={name:h[1],value:ao(m,v)}}l||(a.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:d,start:t.start,end:t.end}),i=n),e.start&&e.start(n,d,l,t.start,t.end)}(w),au(w.tagName,t)&&n(1);continue}}var x=void 0,k=void 0,S=void 0;if(m>=0){for(k=t.slice(m);!(Jc.test(k)||Zc.test(k)||Qc.test(k)||Xc.test(k)||(S=k.indexOf("<",1))<0);)m+=S,k=t.slice(m);x=t.substring(0,m)}m<0&&(x=t),x&&n(x.length),e.chars&&x&&e.chars(x,l-x.length,l)}if(t===o){e.chars&&e.chars(t);break}}r()}function co(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:$o(e),rawAttrsMap:{},parent:n,children:[]}}function uo(t,e){function n(t){if(r(t),l||t.processed||(t=po(t,e)),s.length||t===i||i.if&&(t.elseif||t.else)&&wo(i,{exp:t.elseif,block:t}),a&&!t.forbidden)if(t.elseif||t.else)_o(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}),r(t),t.pre&&(l=!1),Cc(t.tag)&&(f=!1);for(var o=0;o<Mc.length;o++)Mc[o](t,e)}function r(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,Cc=e.isPreTag||Pi,Dc=e.mustUseProp||Pi,$c=e.getTagNamespace||Pi;var o=e.isReservedTag||Pi;Ac=function(t){return!!t.component||!o(t.tag)},Oc=Wn(e.modules,"transformNode"),Tc=Wn(e.modules,"preTransformNode"),Mc=Wn(e.modules,"postTransformNode"),Sc=e.delimiters;var i,a,s=[],c=!1!==e.preserveWhitespace,u=e.whitespace,l=!1,f=!1;return so(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,r,o,c,u){var d=a&&a.ns||$c(t);Zi&&"svg"===d&&(r=jo(r));var p=co(t,r,a);d&&(p.ns=d),Eo(p)&&!oa()&&(p.forbidden=!0);for(var h=0;h<Tc.length;h++)p=Tc[h](p,e)||p;l||(lo(p),p.pre&&(l=!0)),Cc(p.tag)&&(f=!0),l?fo(p):p.processed||(vo(p),yo(p),xo(p)),i||(i=p),o?n(p):(a=p,s.push(p))},end:function(t,e,r){var o=s[s.length-1];s.length-=1,a=s[s.length-1],n(o)},chars:function(t,e,n){if(a&&(!Zi||"textarea"!==a.tag||a.attrsMap.placeholder!==t)){var r=a.children;if(t=f||t.trim()?Ao(a)?t:_u(t):r.length?u?"condense"===u&&gu.test(t)?"":" ":c?" ":"":""){f||"condense"!==u||(t=t.replace(yu," "));var o,i;!l&&" "!==t&&(o=eo(t,Sc))?i={type:2,expression:o.expression,tokens:o.tokens,text:t}:" "===t&&r.length&&" "===r[r.length-1].text||(i={type:3,text:t}),i&&r.push(i)}}},comment:function(t,e,n){if(a){var r={type:3,text:t,isComment:!0};a.children.push(r)}}}),i}function lo(t){null!=qn(t,"v-pre")&&(t.pre=!0)}function fo(t){var e=t.attrsList,n=e.length;if(n)for(var r=t.attrs=new Array(n),o=0;o<n;o++)r[o]={name:e[o].name,value:JSON.stringify(e[o].value)},null!=e[o].start&&(r[o].start=e[o].start,r[o].end=e[o].end);else t.pre||(t.plain=!0)}function po(t,e){ho(t),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,mo(t),ko(t),Oo(t),To(t);for(var n=0;n<Oc.length;n++)t=Oc[n](t,e)||t;return Mo(t),t}function ho(t){var e=Zn(t,"key");if(e){t.key=e}}function mo(t){var e=Zn(t,"ref");e&&(t.ref=e,t.refInFor=Co(t))}function vo(t){var e;if(e=qn(t,"v-for")){var n=go(e);n&&x(t,n)}}function go(t){var e=t.match(uu);if(e){var n={};n.for=e[2].trim();var r=e[1].trim().replace(fu,""),o=r.match(lu);return o?(n.alias=r.replace(lu,"").trim(),n.iterator1=o[1].trim(),o[2]&&(n.iterator2=o[2].trim())):n.alias=r,n}}function yo(t){var e=qn(t,"v-if");if(e)t.if=e,wo(t,{exp:e,block:t});else{null!=qn(t,"v-else")&&(t.else=!0);var n=qn(t,"v-else-if");n&&(t.elseif=n)}}function _o(t,e){var n=bo(e.children);n&&n.if&&wo(n,{exp:t.elseif,block:t})}function bo(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}function wo(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function xo(t){null!=qn(t,"v-once")&&(t.once=!0)}function ko(t){var e;"template"===t.tag?(e=qn(t,"scope"),t.slotScope=e||qn(t,"slot-scope")):(e=qn(t,"slot-scope"))&&(t.slotScope=e);var n=Zn(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,zn(t,"slot"))),"template"===t.tag){var r=Jn(t,vu);if(r){var o=So(r),i=o.name,a=o.dynamic;t.slotTarget=i,t.slotTargetDynamic=a,t.slotScope=r.value||bu}}else{var s=Jn(t,vu);if(s){var c=t.scopedSlots||(t.scopedSlots={}),u=So(s),l=u.name,f=u.dynamic,d=c[l]=co("template",[],t);d.slotTarget=l,d.slotTargetDynamic=f,d.children=t.children.filter(function(t){if(!t.slotScope)return t.parent=d,!0}),d.slotScope=s.value||bu,t.children=[],t.plain=!1}}}function So(t){var e=t.name.replace(vu,"");return e||"#"!==t.name[0]&&(e="default"),du.test(e)?{name:e.slice(1,-1),dynamic:!0}:{name:'"'+e+'"',dynamic:!1}}function Oo(t){"slot"===t.tag&&(t.slotName=Zn(t,"name"))}function To(t){var e;(e=Zn(t,"is"))&&(t.component=e),null!=qn(t,"inline-template")&&(t.inlineTemplate=!0)}function Mo(t){var e,n,r,o,i,a,s,c,u=t.attrsList;for(e=0,n=u.length;e<n;e++)if(r=o=u[e].name,i=u[e].value,cu.test(r))if(t.hasBindings=!0,a=Do(r.replace(cu,"")),a&&(r=r.replace(mu,"")),hu.test(r))r=r.replace(hu,""),i=Yn(i),c=du.test(r),c&&(r=r.slice(1,-1)),a&&(a.prop&&!c&&"innerHtml"===(r=$i(r))&&(r="innerHTML"),a.camel&&!c&&(r=$i(r)),a.sync&&(s=Xn(i,"$event"),c?Bn(t,'"update:"+('+r+")",s,null,!1,kc,u[e],!0):(Bn(t,"update:"+$i(r),s,null,!1,kc,u[e]),ji(r)!==$i(r)&&Bn(t,"update:"+ji(r),s,null,!1,kc,u[e])))),a&&a.prop||!t.component&&Dc(t.tag,t.attrsMap.type,r)?Fn(t,r,i,u[e],c):Un(t,r,i,u[e],c);else if(su.test(r))r=r.replace(su,""),c=du.test(r),c&&(r=r.slice(1,-1)),Bn(t,r,i,a,!1,kc,u[e],c);else{r=r.replace(cu,"");var l=r.match(pu),f=l&&l[1];c=!1,f&&(r=r.slice(0,-(f.length+1)),du.test(f)&&(f=f.slice(1,-1),c=!0)),Gn(t,r,o,i,f,c,a,u[e])}else{Un(t,r,JSON.stringify(i),u[e]),!t.component&&"muted"===r&&Dc(t.tag,t.attrsMap.type,r)&&Fn(t,r,"true",u[e])}}function Co(t){for(var e=t;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}function Do(t){var e=t.match(mu);if(e){var n={};return e.forEach(function(t){n[t.slice(1)]=!0}),n}}function $o(t){for(var e={},n=0,r=t.length;n<r;n++)e[t[n].name]=t[n].value;return e}function Ao(t){return"script"===t.tag||"style"===t.tag}function Eo(t){return"style"===t.tag||"script"===t.tag&&(!t.attrsMap.type||"text/javascript"===t.attrsMap.type)}function jo(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];wu.test(r.name)||(r.name=r.name.replace(xu,""),e.push(r))}return e}function Lo(t,e){if("input"===t.tag){var n=t.attrsMap;if(!n["v-model"])return;var r;if((n[":type"]||n["v-bind:type"])&&(r=Zn(t,"type")),n.type||r||!n["v-bind"]||(r="("+n["v-bind"]+").type"),r){var o=qn(t,"v-if",!0),i=o?"&&("+o+")":"",a=null!=qn(t,"v-else",!0),s=qn(t,"v-else-if",!0),c=Po(t);vo(c),Hn(c,"type","checkbox"),po(c,e),c.processed=!0,c.if="("+r+")==='checkbox'"+i,wo(c,{exp:c.if,block:c});var u=Po(t);qn(u,"v-for",!0),Hn(u,"type","radio"),po(u,e),wo(c,{exp:"("+r+")==='radio'"+i,block:u});var l=Po(t);return qn(l,"v-for",!0),Hn(l,":type",r),po(l,e),wo(c,{exp:o,block:l}),a?c.else=!0:s&&(c.elseif=s),c}}}function Po(t){return co(t.tag,t.attrsList.slice(),t.parent)}function Io(t,e){e.value&&Fn(t,"textContent","_s("+e.value+")",e)}function Yo(t,e){e.value&&Fn(t,"innerHTML","_s("+e.value+")",e)}function No(t,e){t&&(Ec=Mu(e.staticKeys||""),jc=e.isReservedTag||Pi,Wo(t),Fo(t,!1))}function Ro(t){return m("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}function Wo(t){if(t.static=Uo(t),1===t.type){if(!jc(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var e=0,n=t.children.length;e<n;e++){var r=t.children[e];Wo(r),r.static||(t.static=!1)}if(t.ifConditions)for(var o=1,i=t.ifConditions.length;o<i;o++){var a=t.ifConditions[o].block;Wo(a),a.static||(t.static=!1)}}}function Fo(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,r=t.children.length;n<r;n++)Fo(t.children[n],e||!!t.for);if(t.ifConditions)for(var o=1,i=t.ifConditions.length;o<i;o++)Fo(t.ifConditions[o].block,e)}}function Uo(t){return 2!==t.type&&(3===t.type||!(!t.pre&&(t.hasBindings||t.if||t.for||Ti(t.tag)||!jc(t.tag)||Ho(t)||!Object.keys(t).every(Ec))))}function Ho(t){for(;t.parent;){if(t=t.parent,"template"!==t.tag)return!1;if(t.for)return!0}return!1}function Go(t,e){var n=e?"nativeOn:":"on:",r="",o="";for(var i in t){var a=Vo(t[i]);t[i]&&t[i].dynamic?o+=i+","+a+",":r+='"'+i+'":'+a+","}return r="{"+r.slice(0,-1)+"}",o?n+"_d("+r+",["+o.slice(0,-1)+"])":n+r}function Vo(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map(function(t){return Vo(t)}).join(",")+"]";var e=$u.test(t.value),n=Cu.test(t.value),r=$u.test(t.value.replace(Du,""));if(t.modifiers){var o="",i="",a=[];for(var s in t.modifiers)if(Lu[s])i+=Lu[s],Au[s]&&a.push(s);else if("exact"===s){var c=t.modifiers;i+=ju(["ctrl","shift","alt","meta"].filter(function(t){return!c[t]}).map(function(t){return"$event."+t+"Key"}).join("||"))}else a.push(s);a.length&&(o+=Bo(a)),i&&(o+=i);return"function($event){"+o+(e?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":r?"return "+t.value:t.value)+"}"}return e||n?t.value:"function($event){"+(r?"return "+t.value:t.value)+"}"}function Bo(t){return"if(!$event.type.indexOf('key')&&"+t.map(zo).join("&&")+")return null;"}function zo(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=Au[t],r=Eu[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}function Zo(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}}function qo(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 Jo(t,e){var n=new Iu(e);return{render:"with(this){return "+(t?Ko(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ko(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Qo(t,e);if(t.once&&!t.onceProcessed)return Xo(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 vi(t,e);var n;if(t.component)n=gi(t.component,t,e);else{var r;(!t.plain||t.pre&&e.maybeComponent(t))&&(r=ri(t,e));var o=t.inlineTemplate?null:li(t,e,!0);n="_c('"+t.tag+"'"+(r?","+r:"")+(o?","+o:"")+")"}for(var i=0;i<e.transforms.length;i++)n=e.transforms[i](t,n);return n}return li(t,e)||"void 0"}function Qo(t,e){t.staticProcessed=!0;var n=e.pre;return t.pre&&(e.pre=t.pre),e.staticRenderFns.push("with(this){return "+Ko(t,e)+"}"),e.pre=n,"_m("+(e.staticRenderFns.length-1)+(t.staticInFor?",true":"")+")"}function Xo(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return ti(t,e);if(t.staticInFor){for(var n="",r=t.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o("+Ko(t,e)+","+e.onceId+++","+n+")":Ko(t,e)}return Qo(t,e)}function ti(t,e,n,r){return t.ifProcessed=!0,ei(t.ifConditions.slice(),e,n,r)}function ei(t,e,n,r){function o(t){return n?n(t,e):t.once?Xo(t,e):Ko(t,e)}if(!t.length)return r||"_e()";var i=t.shift();return i.exp?"("+i.exp+")?"+o(i.block)+":"+ei(t,e,n,r):""+o(i.block)}function ni(t,e,n,r){var o=t.for,i=t.alias,a=t.iterator1?","+t.iterator1:"",s=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,(r||"_l")+"(("+o+"),function("+i+a+s+"){return "+(n||Ko)(t,e)+"})"}function ri(t,e){var n="{",r=oi(t,e);r&&(n+=r+","),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 o=0;o<e.dataGenFns.length;o++)n+=e.dataGenFns[o](t);if(t.attrs&&(n+="attrs:"+yi(t.attrs)+","),t.props&&(n+="domProps:"+yi(t.props)+","),t.events&&(n+=Go(t.events,!1)+","),t.nativeEvents&&(n+=Go(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 oi(t,e){var n=t.directives;if(n){var r,o,i,a,s="directives:[",c=!1;for(r=0,o=n.length;r<o;r++){i=n[r],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 r=Jo(n,e.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(t){return"function(){"+t+"}"}).join(",")+"]}"}}function ai(t,e,n){var r=t.for||Object.keys(e).some(function(t){var n=e[t];return n.slotTargetDynamic||n.if||n.for||ci(n)}),o=!!t.if;if(!r)for(var i=t.parent;i;){if(i.slotScope&&i.slotScope!==bu||i.for){r=!0;break}i.if&&(o=!0),i=i.parent}var a=Object.keys(e).map(function(t){return ui(e[t],n)}).join(",");return"scopedSlots:_u(["+a+"]"+(r?",null,true":"")+(!r&&o?",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 r=t.slotScope===bu?"":String(t.slotScope),o="function("+r+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(li(t,e)||"undefined")+":undefined":li(t,e)||"undefined":Ko(t,e))+"}",i=r?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+o+i+"}"}function li(t,e,n,r,o){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""+(r||Ko)(a,e)+s}var c=n?fi(i,e.maybeComponent):0,u=o||pi;return"["+i.map(function(t){return u(t,e)}).join(",")+"]"+(c?","+c:"")}}function fi(t,e){for(var n=0,r=0;r<t.length;r++){var o=t[r];if(1===o.type){if(di(o)||o.ifConditions&&o.ifConditions.some(function(t){return di(t.block)})){n=2;break}(e(o)||o.ifConditions&&o.ifConditions.some(function(t){return e(t.block)}))&&(n=1)}}return n}function di(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function pi(t,e){return 1===t.type?Ko(t,e):3===t.type&&t.isComment?mi(t):hi(t)}function hi(t){return"_v("+(2===t.type?t.expression:_i(JSON.stringify(t.text)))+")"}function mi(t){return"_e("+JSON.stringify(t.text)+")"}function vi(t,e){var n=t.slotName||'"default"',r=li(t,e),o="_t("+n+(r?","+r:""),i=t.attrs||t.dynamicAttrs?yi((t.attrs||[]).concat(t.dynamicAttrs||[]).map(function(t){return{name:$i(t.name),value:t.value,dynamic:t.dynamic}})):null,a=t.attrsMap["v-bind"];return!i&&!a||r||(o+=",null"),i&&(o+=","+i),a&&(o+=(i?"":",null")+","+a),o+")"}function gi(t,e,n){var r=e.inlineTemplate?null:li(e,n,!0);return"_c("+t+","+ri(e,n)+(r?","+r:"")+")"}function yi(t){for(var e="",n="",r=0;r<t.length;r++){var o=t[r],i=_i(o.value);o.dynamic?n+=o.name+","+i+",":e+='"'+o.name+'":'+i+","}return e="{"+e.slice(0,-1)+"}",n?"_d("+e+",["+n.slice(0,-1)+"])":e}function _i(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function bi(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),S}}function wi(t){var e=Object.create(null);return function(n,r,o){r=x({},r);r.warn;delete r.warn;var i=r.delimiters?String(r.delimiters)+n:n;if(e[i])return e[i];var a=t(n,r),s={},c=[];return s.render=bi(a.render,c),s.staticRenderFns=a.staticRenderFns.map(function(t){return bi(t,c)}),e[i]=s}}function xi(t){return Lc=Lc||document.createElement("div"),Lc.innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',Lc.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 Si=Object.freeze({}),Oi=Object.prototype.toString,Ti=m("slot,component",!0),Mi=m("key,ref,slot,slot-scope,is"),Ci=Object.prototype.hasOwnProperty,Di=/-(\w)/g,$i=y(function(t){return t.replace(Di,function(t,e){return e?e.toUpperCase():""})}),Ai=y(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),Ei=/\B([A-Z])/g,ji=y(function(t){return t.replace(Ei,"-$1").toLowerCase()}),Li=Function.prototype.bind?b:_,Pi=function(t,e,n){return!1},Ii=function(t){return t},Yi="data-server-rendered",Ni=["component","directive","filter"],Ri=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],Wi={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:S,parsePlatformTagName:Ii,mustUseProp:Pi,async:!0,_lifecycleHooks:Ri},Fi=/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("[^"+Fi.source+".$_\\d]"),Hi="__proto__"in{},Gi="undefined"!=typeof window,Vi="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Bi=Vi&&WXEnvironment.platform.toLowerCase(),zi=Gi&&window.navigator.userAgent.toLowerCase(),Zi=zi&&/msie|trident/.test(zi),qi=zi&&zi.indexOf("msie 9.0")>0,Ji=zi&&zi.indexOf("edge/")>0,Ki=(zi&&zi.indexOf("android"),zi&&/iphone|ipad|ipod|ios/.test(zi)||"ios"===Bi),Qi=(zi&&/chrome\/\d+/.test(zi),zi&&/phantomjs/.test(zi),zi&&zi.match(/firefox\/(\d+)/)),Xi={}.watch,ta=!1;if(Gi)try{var ea={};Object.defineProperty(ea,"passive",{get:function(){ta=!0}}),window.addEventListener("test-passive",null,ea)}catch(t){}var na,ra,oa=function(){return void 0===na&&(na=!Gi&&!Vi&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),na},ia=Gi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,aa="undefined"!=typeof Symbol&&A(Symbol)&&"undefined"!=typeof Reflect&&A(Reflect.ownKeys);ra="undefined"!=typeof Set&&A(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=S,ca=0,ua=function(){this.id=ca++,this.subs=[]};ua.prototype.addSub=function(t){this.subs.push(t)},ua.prototype.removeSub=function(t){v(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,r,o,i,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,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},da={child:{configurable:!0}};da.child.get=function(){return this.componentInstance},Object.defineProperties(fa.prototype,da);var pa=function(t){void 0===t&&(t="");var e=new fa;return e.text=t,e.isComment=!0,e},ha=Array.prototype,ma=Object.create(ha);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=ha[t];D(ma,t,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o,i=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&a.observeArray(o),a.dep.notify(),i})});var va=Object.getOwnPropertyNames(ma),ga=!0,ya=function(t){this.value=t,this.dep=new ua,this.vmCount=0,D(t,"__ob__",this),Array.isArray(t)?(Hi?Y(t,ma):N(t,ma,va),this.observeArray(t)):this.walk(t)};ya.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)W(t,e[n])},ya.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)R(t[e])};var _a=Wi.optionMergeStrategies;_a.data=function(t,e,n){return n?V(t,e,n):e&&"function"!=typeof e?t:V(t,e)},Ri.forEach(function(t){_a[t]=B}),Ni.forEach(function(t){_a[t+"s"]=Z}),_a.watch=function(t,e,n,r){if(t===Xi&&(t=void 0),e===Xi&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};x(o,t);for(var i in e){var a=o[i],s=e[i];a&&!Array.isArray(a)&&(a=[a]),o[i]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},_a.props=_a.methods=_a.inject=_a.computed=function(t,e,n,r){if(!t)return e;var o=Object.create(null);return x(o,t),e&&x(o,e),o},_a.provide=V;var ba,wa=function(t,e){return void 0===e?t:e},xa=!1,ka=[],Sa=!1;if("undefined"!=typeof Promise&&A(Promise)){var Oa=Promise.resolve();ba=function(){Oa.then(ut),Ki&&setTimeout(S)},xa=!0}else if(Zi||"undefined"==typeof MutationObserver||!A(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())ba=void 0!==n&&A(n)?function(){n(ut)}:function(){setTimeout(ut,0)};else{var Ta=1,Ma=new MutationObserver(ut),Ca=document.createTextNode(String(Ta));Ma.observe(Ca,{characterData:!0}),ba=function(){Ta=(Ta+1)%2,Ca.data=String(Ta)},xa=!0}var Da=new ra,$a=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 r="!"===t.charAt(0);return t=r?t.slice(1):t,{name:t,once:n,capture:r,passive:e}});Gt(Vt.prototype);var Aa,Ea={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Ea.prepatch(n,n)}else{(t.componentInstance=Jt(t,Ya)).$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?Te(n):be(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?we(e,!0):e.$destroy())}},ja=Object.keys(Ea),La=1,Pa=2,Ia=null,Ya=null,Na=[],Ra=[],Wa={},Fa=!1,Ua=!1,Ha=0,Ga=0,Va=Date.now;if(Gi&&!Zi){var Ba=window.performance;Ba&&"function"==typeof Ba.now&&Va()>document.createEvent("Event").timeStamp&&(Va=function(){return Ba.now()})}var za=0,Za=function(t,e,n,r,o){this.vm=t,o&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++za,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ra,this.newDepIds=new ra,this.expression="","function"==typeof e?this.getter=e:(this.getter=$(e),this.getter||(this.getter=S)),this.value=this.lazy?void 0:this.get()};Za.prototype.get=function(){E(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),j(),this.cleanupDeps()}return t},Za.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))},Za.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},Za.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Ce(this)},Za.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)}}},Za.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Za.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Za.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var qa={enumerable:!0,configurable:!0,get:S,set:S},Ja={lazy:!0},Ka=0;!function(t){t.prototype._init=function(t){var e=this;e._uid=Ka++,e._isVue=!0,t&&t._isComponent?Fe(e,t):e.$options=Q(Ue(e.constructor),t||{},e),e._renderProxy=e,e._self=e,ve(e),le(e),oe(e),xe(e,"beforeCreate"),kt(e),$e(e),xt(e),xe(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(Ge),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=F,t.prototype.$delete=U,t.prototype.$watch=function(t,e,n){var r=this;if(u(e))return We(r,t,e,n);n=n||{},n.user=!0;var o=new Za(r,t,e,n);if(n.immediate)try{e.call(r,o.value)}catch(t){it(t,r,'callback for immediate watcher "'+o.expression+'"')}return function(){o.teardown()}}}(Ge),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var o=0,i=t.length;o<i;o++)r.$on(t[o],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){function n(){r.$off(t,n),e.apply(r,arguments)}var r=this;return n.fn=e,r.$on(t,n),r},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 r=0,o=t.length;r<o;r++)n.$off(t[r],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 r=w(arguments,1),o='event handler for "'+t+'"',i=0,a=n.length;i<a;i++)at(n[i],e,r,e,o)}return e}}(Ge),function(t){t.prototype._update=function(t,e){var n=this,r=n.$el,o=n._vnode,i=me(n);n._vnode=t,n.$el=o?n.__patch__(o,t):n.__patch__(n.$el,t,e,!1),i(),r&&(r.__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||v(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)}}}(Ge),function(t){Gt(t.prototype),t.prototype.$nextTick=function(t){return lt(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e._parentVnode;r&&(t.$scopedSlots=Mt(r.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=r;var o;try{Ia=t,o=n.call(t._renderProxy,t.$createElement)}catch(e){it(e,t,"render"),o=t._vnode}finally{Ia=null}return Array.isArray(o)&&1===o.length&&(o=o[0]),o instanceof fa||(o=pa()),o.parent=r,o}}(Ge);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 r=Ke(n),o=this,i=o.include,a=o.exclude;if(i&&(!r||!Qe(i,r))||a&&r&&Qe(a,r))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,v(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 Wi},Object.defineProperty(t,"config",e),t.util={warn:sa,extend:x,mergeOptions:Q,defineReactive:W},t.set=F,t.delete=U,t.nextTick=lt,t.observable=function(t){return R(t),t},t.options=Object.create(null),Ni.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,x(t.options.components,ts),Ve(t),Be(t),ze(t),Je(t)}(Ge),Object.defineProperty(Ge.prototype,"$isServer",{get:oa}),Object.defineProperty(Ge.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Ge,"FunctionalRenderContext",{value:Vt}),Ge.version="2.6.12";var es,ns,rs,os,is,as,ss,cs,us,ls,fs=m("style,class"),ds=m("input,textarea,option,select,progress"),ps=function(t,e,n){return"value"===n&&ds(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},hs=m("contenteditable,draggable,spellcheck"),ms=m("events,caret,typing,plaintext-only"),vs=function(t,e){return ws(e)||"false"===e?"false":"contenteditable"===t&&ms(e)?e:"true"},gs=m("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",_s=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},bs=function(t){return _s(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=m("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"),Ss=m("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},Ts=function(t){return ks(t)||Ss(t)},Ms=Object.create(null),Cs=m("text,number,password,search,email,tel,url"),Ds=Object.freeze({createElement:dn,createElementNS:pn,createTextNode:hn,createComment:mn,insertBefore:vn,removeChild:gn,appendChild:yn,parentNode:_n,nextSibling:bn,tagName:wn,setTextContent:xn,setStyleScope:kn}),$s={create:function(t,e){Sn(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Sn(t,!0),Sn(e))},destroy:function(t){Sn(t,!0)}},As=new fa("",{},[]),Es=["create","activate","update","remove","destroy"],js={create:Cn,update:Cn,destroy:function(t){Cn(t,As)}},Ls=Object.create(null),Ps=[$s,js],Is={create:jn,update:jn},Ys={create:In,update:In},Ns=/[\w).+\-_$\]]/,Rs="__r",Ws="__c",Fs=xa&&!(Qi&&Number(Qi[1])<=53),Us={create:mr,update:mr},Hs={create:vr,update:vr},Gs=y(function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach(function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}),Vs=/^--/,Bs=/\s*!important$/,zs=function(t,e,n){if(Vs.test(e))t.style.setProperty(e,n);else if(Bs.test(n))t.style.setProperty(ji(e),n.replace(Bs,""),"important");else{var r=qs(e);if(Array.isArray(n))for(var o=0,i=n.length;o<i;o++)t.style[r]=n[o];else t.style[r]=n}},Zs=["Webkit","Moz","ms"],qs=y(function(t){if(ls=ls||document.createElement("div").style,"filter"!==(t=$i(t))&&t in ls)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Zs.length;n++){var r=Zs[n]+e;if(r in ls)return r}}),Js={create:kr,update:kr},Ks=/\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=Gi&&!qi,tc="transition",ec="animation",nc="transition",rc="transitionend",oc="animation",ic="animationend";Xs&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(nc="WebkitTransition",rc="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(oc="WebkitAnimation",ic="webkitAnimationEnd"));var ac=Gi?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()},sc=/\b(transform|all)(,|$)/,cc=Gi?{create:Nr,activate:Nr,remove:function(t,e){!0!==t.data.show?Pr(t,e):e()}}:{},uc=[Is,Ys,Us,Hs,Js,cc],lc=uc.concat(Ps),fc=function(t){function e(t){return new fa(A.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=A.parentNode(t);o(e)&&A.removeChild(e,t)}function c(t,e,n,r,a,s,c){if(o(t.elm)&&o(s)&&(t=s[c]=P(t)),t.isRootInsert=!a,!u(t,e,n,r)){var l=t.data,f=t.children,h=t.tag;o(h)?(t.elm=t.ns?A.createElementNS(t.ns,h):A.createElement(h,t),g(t),p(t,f,e),o(l)&&v(t,e),d(n,t.elm,r)):i(t.isComment)?(t.elm=A.createComment(t.text),d(n,t.elm,r)):(t.elm=A.createTextNode(t.text),d(n,t.elm,r))}}function u(t,e,n,r){var a=t.data;if(o(a)){var s=o(t.componentInstance)&&a.keepAlive;if(o(a=a.hook)&&o(a=a.init)&&a(t,!1),o(t.componentInstance))return l(t,e),d(n,t.elm,r),i(s)&&f(t,e,n,r),!0}}function l(t,e){o(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,h(t)?(v(t,e),g(t)):(Sn(t),e.push(t))}function f(t,e,n,r){for(var i,a=t;a.componentInstance;)if(a=a.componentInstance._vnode,o(i=a.data)&&o(i=i.transition)){for(i=0;i<D.activate.length;++i)D.activate[i](As,a);e.push(a);break}d(n,t.elm,r)}function d(t,e,n){o(t)&&(o(n)?A.parentNode(n)===t&&A.insertBefore(t,e,n):A.appendChild(t,e))}function p(t,e,n){if(Array.isArray(e))for(var r=0;r<e.length;++r)c(e[r],n,t.elm,null,!0,e,r);else s(t.text)&&A.appendChild(t.elm,A.createTextNode(String(t.text)))}function h(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return o(t.tag)}function v(t,e){for(var n=0;n<D.create.length;++n)D.create[n](As,t);M=t.data.hook,o(M)&&(o(M.create)&&M.create(As,t),o(M.insert)&&e.push(t))}function g(t){var e;if(o(e=t.fnScopeId))A.setStyleScope(t.elm,e);else for(var n=t;n;)o(e=n.context)&&o(e=e.$options._scopeId)&&A.setStyleScope(t.elm,e),n=n.parent;o(e=Ya)&&e!==t.context&&e!==t.fnContext&&o(e=e.$options._scopeId)&&A.setStyleScope(t.elm,e)}function y(t,e,n,r,o,i){for(;r<=o;++r)c(n[r],i,t,e,!1,n,r)}function _(t){var e,n,r=t.data;if(o(r))for(o(e=r.hook)&&o(e=e.destroy)&&e(t),e=0;e<D.destroy.length;++e)D.destroy[e](t);if(o(e=t.children))for(n=0;n<t.children.length;++n)_(t.children[n])}function b(t,e,n){for(;e<=n;++e){var r=t[e];o(r)&&(o(r.tag)?(w(r),_(r)):a(r.elm))}}function w(t,e){if(o(e)||o(t.data)){var r,i=D.remove.length+1;for(o(e)?e.listeners+=i:e=n(t.elm,i),o(r=t.componentInstance)&&o(r=r._vnode)&&o(r.data)&&w(r,e),r=0;r<D.remove.length;++r)D.remove[r](t,e);o(r=t.data.hook)&&o(r=r.remove)?r(t,e):e()}else a(t.elm)}function x(t,e,n,i,a){for(var s,u,l,f,d=0,p=0,h=e.length-1,m=e[0],v=e[h],g=n.length-1,_=n[0],w=n[g],x=!a;d<=h&&p<=g;)r(m)?m=e[++d]:r(v)?v=e[--h]:On(m,_)?(S(m,_,i,n,p),m=e[++d],_=n[++p]):On(v,w)?(S(v,w,i,n,g),v=e[--h],w=n[--g]):On(m,w)?(S(m,w,i,n,g),x&&A.insertBefore(t,m.elm,A.nextSibling(v.elm)),m=e[++d],w=n[--g]):On(v,_)?(S(v,_,i,n,p),x&&A.insertBefore(t,v.elm,m.elm),v=e[--h],_=n[++p]):(r(s)&&(s=Mn(e,d,h)),u=o(_.key)?s[_.key]:k(_,e,d,h),r(u)?c(_,i,t,m.elm,!1,n,p):(l=e[u],On(l,_)?(S(l,_,i,n,p),e[u]=void 0,x&&A.insertBefore(t,l.elm,m.elm)):c(_,i,t,m.elm,!1,n,p)),_=n[++p]);d>h?(f=r(n[g+1])?null:n[g+1].elm,y(t,f,n,p,g,i)):p>g&&b(e,d,h)}function k(t,e,n,r){for(var i=n;i<r;i++){var a=e[i];if(o(a)&&On(t,a))return i}}function S(t,e,n,a,s,c){if(t!==e){o(e.elm)&&o(a)&&(e=a[s]=P(e));var u=e.elm=t.elm;if(i(t.isAsyncPlaceholder))return void(o(e.asyncFactory.resolved)?T(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;o(f)&&o(l=f.hook)&&o(l=l.prepatch)&&l(t,e);var d=t.children,p=e.children;if(o(f)&&h(e)){for(l=0;l<D.update.length;++l)D.update[l](t,e);o(l=f.hook)&&o(l=l.update)&&l(t,e)}r(e.text)?o(d)&&o(p)?d!==p&&x(u,d,p,n,c):o(p)?(o(t.text)&&A.setTextContent(u,""),y(u,null,p,0,p.length-1,n)):o(d)?b(d,0,d.length-1):o(t.text)&&A.setTextContent(u,""):t.text!==e.text&&A.setTextContent(u,e.text),o(f)&&o(l=f.hook)&&o(l=l.postpatch)&&l(t,e)}}function O(t,e,n){if(i(n)&&o(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}function T(t,e,n,r){var a,s=e.tag,c=e.data,u=e.children;if(r=r||c&&c.pre,e.elm=t,i(e.isComment)&&o(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(o(c)&&(o(a=c.hook)&&o(a=a.init)&&a(e,!0),o(a=e.componentInstance)))return l(e,n),!0;if(o(s)){if(o(u))if(t.hasChildNodes())if(o(a=c)&&o(a=a.domProps)&&o(a=a.innerHTML)){if(a!==t.innerHTML)return!1}else{for(var f=!0,d=t.firstChild,h=0;h<u.length;h++){if(!d||!T(d,u[h],n,r)){f=!1;break}d=d.nextSibling}if(!f||d)return!1}else p(e,u,n);if(o(c)){var m=!1;for(var g in c)if(!E(g)){m=!0,v(e,n);break}!m&&c.class&&ft(c.class)}}else t.data!==e.text&&(t.data=e.text);return!0}var M,C,D={},$=t.modules,A=t.nodeOps;for(M=0;M<Es.length;++M)for(D[Es[M]]=[],C=0;C<$.length;++C)o($[C][Es[M]])&&D[Es[M]].push($[C][Es[M]]);var E=m("attrs,class,staticClass,staticStyle,key");return function(t,n,a,s){if(r(n))return void(o(t)&&_(t));var u=!1,l=[];if(r(t))u=!0,c(n,l);else{var f=o(t.nodeType);if(!f&&On(t,n))S(t,n,l,null,null,s);else{if(f){if(1===t.nodeType&&t.hasAttribute(Yi)&&(t.removeAttribute(Yi),a=!0),i(a)&&T(t,n,l))return O(n,l,!0),t;t=e(t)}var d=t.elm,p=A.parentNode(d);if(c(n,l,d._leaveCb?null:p,A.nextSibling(d)),o(n.parent))for(var m=n.parent,v=h(n);m;){for(var g=0;g<D.destroy.length;++g)D.destroy[g](m);if(m.elm=n.elm,v){for(var y=0;y<D.create.length;++y)D.create[y](As,m);var w=m.data.hook.insert;if(w.merged)for(var x=1;x<w.fns.length;x++)w.fns[x]()}else Sn(m);m=m.parent}o(p)?b([t],0,0):o(t.tag)&&_(t)}}return O(n,l,u),n.elm}}({nodeOps:Ds,modules:lc});qi&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Vr(t,"input")});var dc={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?mt(n,"postpatch",function(){dc.componentUpdated(t,e,n)}):Rr(t,e,n.context),t._vOptions=[].map.call(t.options,Ur)):("textarea"===n.tag||Cs(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Hr),t.addEventListener("compositionend",Gr),t.addEventListener("change",Gr),qi&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Rr(t,e,n.context);var r=t._vOptions,o=t._vOptions=[].map.call(t.options,Ur);if(o.some(function(t,e){return!O(t,r[e])})){(t.multiple?e.value.some(function(t){return Fr(t,o)}):e.value!==e.oldValue&&Fr(e.value,o))&&Vr(t,"change")}}}},pc={bind:function(t,e,n){var r=e.value;n=Br(n);var o=n.data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,Lr(n,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&(n=Br(n),n.data&&n.data.transition?(n.data.show=!0,r?Lr(n,function(){t.style.display=t.__vOriginalDisplay}):Pr(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}},hc={model:dc,show:pc},mc={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]},vc=function(t){return t.tag||ce(t)},gc=function(t){return"show"===t.name},yc={name:"transition",props:mc,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(vc),n.length)){var r=this.mode,o=n[0];if(Jr(this.$vnode))return o;var i=zr(o);if(!i)return o;if(this._leaving)return qr(t,o);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=Zr(this),u=this._vnode,l=zr(u);if(i.data.directives&&i.data.directives.some(gc)&&(i.data.show=!0),l&&l.data&&!Kr(i,l)&&!ce(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=x({},c);if("out-in"===r)return this._leaving=!0,mt(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),qr(t,o);if("in-out"===r){if(ce(i))return u;var d,p=function(){d()};mt(c,"afterEnter",p),mt(c,"enterCancelled",p),mt(f,"delayLeave",function(t){d=t})}}return o}}},_c=x({tag:String,moveClass:String},mc);delete _c.mode;var bc={props:_c,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=me(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=Zr(this),s=0;s<o.length;s++){var c=o[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(r){for(var u=[],l=[],f=0;f<r.length;f++){var d=r[f];d.data.transition=a,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?u.push(d):l.push(d)}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(Qr),t.forEach(Xr),t.forEach(to),this._reflow=document.body.offsetHeight,t.forEach(function(t){if(t.data.moved){var n=t.elm,r=n.style;Cr(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(rc,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(rc,t),n._moveCb=null,Dr(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){Or(n,t)}),Sr(n,e),n.style.display="none",this.$el.appendChild(n);var r=Ar(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}},wc={Transition:yc,TransitionGroup:bc};Ge.config.mustUseProp=ps,Ge.config.isReservedTag=Ts,Ge.config.isReservedAttr=fs,Ge.config.getTagNamespace=un,Ge.config.isUnknownElement=ln,x(Ge.options.directives,hc),x(Ge.options.components,wc),Ge.prototype.__patch__=Gi?fc:S,Ge.prototype.$mount=function(t,e){return t=t&&Gi?fn(t):void 0,ge(this,t,e)},Gi&&setTimeout(function(){Wi.devtools&&ia&&ia.emit("init",Ge)},0);var xc,kc,Sc,Oc,Tc,Mc,Cc,Dc,$c,Ac,Ec,jc,Lc,Pc=/\{\{((?:.|\r?\n)+?)\}\}/g,Ic=/[-.*+?^${}()|[\]\/\\]/g,Yc=y(function(t){var e=t[0].replace(Ic,"\\$&"),n=t[1].replace(Ic,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}),Nc={staticKeys:["staticClass"],transformNode:no,genData:ro},Rc={staticKeys:["staticStyle"],transformNode:oo,genData:io},Wc={decode:function(t){return xc=xc||document.createElement("div"),xc.innerHTML=t,xc.textContent}},Fc=m("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Uc=m("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Hc=m("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"),Gc=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Vc=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Bc="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+Fi.source+"]*",zc="((?:"+Bc+"\\:)?"+Bc+")",Zc=new RegExp("^<"+zc),qc=/^\s*(\/?)>/,Jc=new RegExp("^<\\/"+zc+"[^>]*>"),Kc=/^<!DOCTYPE [^>]+>/i,Qc=/^<!\--/,Xc=/^<!\[/,tu=m("script,style,textarea",!0),eu={},nu={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},ru=/&(?:lt|gt|quot|amp|#39);/g,ou=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,iu=m("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,du=/^\[.*\]$/,pu=/:(.*)$/,hu=/^:|^\.|^v-bind:/,mu=/\.[^.\]]+(?=[^\]]*$)/g,vu=/^v-slot(:|$)|^#/,gu=/[\r\n]/,yu=/\s+/g,_u=y(Wc.decode),bu="_empty_",wu=/^xmlns:NS\d+/,xu=/^NS\d+:/,ku={preTransformNode:Lo},Su=[Nc,Rc,ku],Ou={model:ar,text:Io,html:Yo},Tu={expectHTML:!0,modules:Su,directives:Ou,isPreTag:Os,isUnaryTag:Fc,mustUseProp:ps,canBeLeftOpenTag:Uc,isReservedTag:Ts,getTagNamespace:un,staticKeys:function(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}(Su)},Mu=y(Ro),Cu=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Du=/\([^)]*?\);*$/,$u=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Au={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Eu={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"]},ju=function(t){return"if("+t+")return null;"},Lu={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:ju("$event.target !== $event.currentTarget"),ctrl:ju("!$event.ctrlKey"),shift:ju("!$event.shiftKey"),alt:ju("!$event.altKey"),meta:ju("!$event.metaKey"),left:ju("'button' in $event && $event.button !== 0"),middle:ju("'button' in $event && $event.button !== 1"),right:ju("'button' in $event && $event.button !== 2")},Pu={on:Zo,bind:qo,cloak:S},Iu=function(t){this.options=t,this.warn=t.warn||Rn,this.transforms=Wn(t.modules,"transformCode"),this.dataGenFns=Wn(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},Yu=(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,r){var o=Object.create(e),i=[],a=[],s=function(t,e,n){(n?a:i).push(t)};if(r){r.modules&&(o.modules=(e.modules||[]).concat(r.modules)),r.directives&&(o.directives=x(Object.create(e.directives||null),r.directives));for(var c in r)"modules"!==c&&"directives"!==c&&(o[c]=r[c])}o.warn=s;var u=t(n.trim(),o);return u.errors=i,u.tips=a,u}return{compile:n,compileToFunctions:wi(n)}}}(function(t,e){var n=uo(t.trim(),e);!1!==e.optimize&&No(n,e);var r=Jo(n,e);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}})),Nu=Yu(Tu),Ru=(Nu.compile,Nu.compileToFunctions),Wu=!!Gi&&xi(!1),Fu=!!Gi&&xi(!0),Uu=y(function(t){var e=fn(t);return e&&e.innerHTML}),Hu=Ge.prototype.$mount;Ge.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 r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=Uu(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=ki(t));if(r){var o=Ru(r,{outputSourceRange:!1,shouldDecodeNewlines:Wu,shouldDecodeNewlinesForHref:Fu,delimiters:n.delimiters,comments:n.comments},this),i=o.render,a=o.staticRenderFns;n.render=i,n.staticRenderFns=a}}return Hu.call(this,t,e)},Ge.compile=Ru,e.default=Ge}.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]||"",o=t[3];if(!o)return n;if(e&&"function"==typeof btoa){var i=r(o);return[n].concat(o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"})).concat([i]).join("\n")}return[n].join("\n")}function r(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 r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(t,e,n){function r(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=h[r.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](r.parts[i]);for(;i<r.parts.length;i++)o.parts.push(l(r.parts[i],e))}else{for(var a=[],i=0;i<r.parts.length;i++)a.push(l(r.parts[i],e));h[r.id]={id:r.id,refs:1,parts:a}}}}function o(t,e){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],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};r[a]?r[a].parts.push(l):n.push(r[a]={id:a,parts:[l]})}return n}function i(t,e){var n=v(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 r=_[_.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),_.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=_.indexOf(t);e>=0&&_.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,r,o,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)),r=f.bind(null,n,u,!1),o=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),r=p.bind(null,n,e),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),r=d.bind(null,n),o=function(){a(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}function f(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=w(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function d(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function p(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=b(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var h={},m=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}(function(){return window&&document&&document.all&&!window.atob}),v=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=m()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=o(t,e);return r(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){r(o(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 r(t,e){this._id=t,this._clearFn=e}var o=void 0!==t&&t||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;e.setTimeout=function(){return new r(i.call(setTimeout,o,arguments),clearTimeout)},e.setInterval=function(){return new r(i.call(setInterval,o,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(o,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 r(){throw new Error("clearTimeout has not been defined")}function o(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===r||!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(){m&&p&&(m=!1,p.length?h=p.concat(h):v=-1,h.length&&s())}function s(){if(!m){var t=o(a);m=!0;for(var e=h.length;e;){for(p=h,h=[];++v<e;)p&&p[v].run();v=-1,e=h.length}p=null,m=!1,i(t)}}function c(t,e){this.fun=t,this.array=e}function u(){}var l,f,d=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(t){f=r}}();var p,h=[],m=!1,v=-1;d.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||m||o(s)},c.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=u,d.addListener=u,d.once=u,d.off=u,d.removeListener=u,d.removeAllListeners=u,d.emit=u,d.prependListener=u,d.prependOnceListener=u,d.listeners=function(t){return[]},d.binding=function(t){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(t){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,r,o){/*!
|
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,r=t.length;n<r;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 d(){setTimeout(function(){for(var t=0;t<Tt.length;t++){var e=Tt[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)}Tt.length=0},50)}function p(t,e,n){1===Tt.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}})&&d()}function h(t,e){var n=this;if(t&&"object"==typeof t&&t.constructor===n)return t;var r=new n(v,e);return x(r,t),r}function m(){return new TypeError("A promises callback cannot return that same promise.")}function v(){}function g(t){try{return t.then}catch(t){return $t.error=t,$t}}function y(t,e,n,r){try{t.call(e,n,r)}catch(t){return t}}function _(t,e,n){xt.async(function(t){var r=!1,o=y(n,e,function(n){r||(r=!0,e!==n?x(t,n,void 0):S(t,n))},function(e){r||(r=!0,O(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&o&&(r=!0,O(t,o))},t)}function b(t,e){e._state===Ct?S(t,e._result):e._state===Dt?(e._onError=null,O(t,e._result)):T(e,void 0,function(n){e!==n?x(t,n,void 0):S(t,n)},function(e){return O(t,e)})}function w(t,e,n){e.constructor===t.constructor&&n===E&&t.constructor.resolve===h?b(t,e):n===$t?(O(t,$t.error),$t.error=null):u(n)?_(t,e,n):S(t,e)}function x(t,e){t===e?S(t,e):c(e)?w(t,e,g(e)):S(t,e)}function k(t){t._onError&&t._onError(t._result),M(t)}function S(t,e){t._state===Mt&&(t._result=e,t._state=Ct,0===t._subscribers.length?xt.instrument&&p("fulfilled",t):xt.async(M,t))}function O(t,e){t._state===Mt&&(t._state=Dt,t._result=e,xt.async(k,t))}function T(t,e,n,r){var o=t._subscribers,i=o.length;t._onError=null,o[i]=e,o[i+Ct]=n,o[i+Dt]=r,0===i&&t._state&&xt.async(M,t)}function M(t){var e=t._subscribers,n=t._state;if(xt.instrument&&p(n===Ct?"fulfilled":"rejected",t),0!==e.length){for(var r=void 0,o=void 0,i=t._result,a=0;a<e.length;a+=3)r=e[a],o=e[a+n],r?$(n,r,o,i):o(i);t._subscribers.length=0}}function C(){this.error=null}function D(t,e){try{return t(e)}catch(t){return At.error=t,At}}function $(t,e,n,r){var o=u(n),i=void 0,a=void 0;if(o){if((i=D(n,r))===At)a=i.error,i.error=null;else if(i===e)return void O(e,m())}else i=r;e._state!==Mt||(o&&void 0===a?x(e,i):void 0!==a?O(e,a):t===Ct?S(e,i):t===Dt&&O(e,i))}function A(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 E(t,e,n){var r=this,o=r._state;if(o===Ct&&!t||o===Dt&&!e)return xt.instrument&&p("chained",r,r),r;r._onError=null;var i=new r.constructor(v,n),a=r._result;if(xt.instrument&&p("chained",r,i),o===Mt)T(r,i,t,e);else{var s=o===Ct?t:e;xt.async(function(){return $(o,i,s,a)})}return i}function j(t,e,n){return t===Ct?{state:"fulfilled",value:n}:{state:"rejected",reason:n}}function L(t,e){return St(t)?new Et(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,r=new n(v,e);if(!St(t))return O(r,new TypeError("Promise.race must be called with an array")),r;for(var o=0;r._state===Mt&&o<t.length;o++)T(n.resolve(t[o]),void 0,function(t){return x(r,t)},function(t){return O(r,t)});return r}function I(t,e){var n=this,r=new n(v,e);return O(r,t),r}function Y(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function N(){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 W(t){try{return t.then}catch(t){return It.value=t,It}}function F(t,e,n){try{t.apply(e,n)}catch(t){return It.value=t,It}}function U(t,e){for(var n={},r=t.length,o=new Array(r),i=0;i<r;i++)o[i]=t[i];for(var a=0;a<e.length;a++){n[e[a]]=o[a+1]}return n}function H(t){for(var e=t.length,n=new Array(e-1),r=1;r<e;r++)n[r-1]=t[r];return n}function G(t,e){return{then:function(n,r){return t.call(e,n,r)}}}function V(t,e){var n=function(){for(var n=this,r=arguments.length,o=new Array(r+1),i=!1,a=0;a<r;++a){var s=arguments[a];if(!i){if((i=Z(s))===Yt){var c=new Pt(v);return O(c,Yt.value),c}i&&!0!==i&&(s=G(i,s))}o[a]=s}var u=new Pt(v);return o[r]=function(t,n){t?O(u,t):void 0===e?x(u,n):!0===e?x(u,H(arguments)):St(e)?x(u,U(arguments,e)):x(u,n)},i?z(u,o,t,n):B(u,o,t,n)};return n.__proto__=t,n}function B(t,e,n,r){var o=F(n,r,e);return o===It&&O(t,o.value),t}function z(t,e,n,r){return Pt.all(e).then(function(e){var o=F(n,r,e);return o===It&&O(t,o.value),t})}function Z(t){return!(!t||"object"!=typeof t)&&(t.constructor===Pt||W(t))}function q(t,e){return Pt.all(t,e)}function J(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 K(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 St(t)?new Nt(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 Wt(Pt,t,e).promise:Pt.reject(new TypeError("Promise.hash must be called with an object"),e)}function rt(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 ot(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 Ft(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 St(t)?u(e)?Pt.all(t,n).then(function(t){for(var r=t.length,o=new Array(r),i=0;i<r;i++)o[i]=e(t[i]);return Pt.all(o,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 dt(t,e){return Pt.resolve(t,e).then(function(t){return ft(t,e)})}function pt(t,e,n){return St(t)||l(t)&&void 0!==t.then?u(e)?(St(t)?ft(t,n):dt(t,n)).then(function(t){for(var r=t.length,o=new Array(r),i=0;i<r;i++)o[i]=e(t[i]);return ft(o,n).then(function(e){for(var n=new Array(r),o=0,i=0;i<r;i++)e[i]&&(n[o]=t[i],o++);return n.length=o,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){qt[Ut]=t,qt[Ut+1]=e,2===(Ut+=2)&&Jt()}function mt(){return void 0!==Ht?function(){Ht(gt)}:vt()}function vt(){return function(){return setTimeout(gt,1)}}function gt(){for(var t=0;t<Ut;t+=2){(0,qt[t])(qt[t+1]),qt[t]=void 0,qt[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 _t(){xt.on.apply(xt,arguments)}function bt(){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 q}),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 V}),n.d(e,"configure",function(){return s}),n.d(e,"on",function(){return _t}),n.d(e,"off",function(){return bt}),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 pt});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),r=void 0;r=n[t],r||(r=n[t]=[]),-1===i(r,e)&&r.push(e)},off:function(t,e){var n=a(this),r=void 0,o=void 0;if(!e)return void(n[t]=[]);r=n[t],-1!==(o=i(r,e))&&r.splice(o,1)},trigger:function(t,e,n){var r=a(this),o=void 0;if(o=r[t])for(var i=0;i<o.length;i++)(0,o[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 St=kt,Ot=Date.now||function(){return(new Date).getTime()},Tt=[],Mt=void 0,Ct=1,Dt=2,$t=new C,At=new C,Et=function(){function t(t,e,n,r){this._instanceConstructor=t,this.promise=new t(v,r),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&&S(this.promise,this._result)},t.prototype._enumerate=function(t){for(var e=this.length,n=this.promise,r=0;n._state===Mt&&r<e;r++)this._eachEntry(t[r],r)},t.prototype._settleMaybeThenable=function(t,e){var n=this._instanceConstructor,r=n.resolve;if(r===h){var o=g(t);if(o===E&&t._state!==Mt)t._onError=null,this._settledAt(t._state,e,t._result);else if("function"!=typeof o)this._remaining--,this._result[e]=this._makeResult(Ct,e,t);else if(n===Pt){var i=new n(v);w(i,t,o),this._willSettleAt(i,e)}else this._willSettleAt(new n(function(e){return e(t)}),e)}else this._willSettleAt(r(t),e)},t.prototype._eachEntry=function(t,e){f(t)?this._settleMaybeThenable(t,e):(this._remaining--,this._result[e]=this._makeResult(Ct,e,t))},t.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===Mt&&(this._abortOnReject&&t===Dt?O(r,n):(this._remaining--,this._result[e]=this._makeResult(t,e,n),0===this._remaining&&S(r,this._result)))},t.prototype._makeResult=function(t,e,n){return n},t.prototype._willSettleAt=function(t,e){var n=this;T(t,void 0,function(t){return n._settledAt(Ct,e,t)},function(t){return n._settledAt(Dt,e,t)})},t}(),jt="rsvp_"+Ot()+"-",Lt=0,Pt=function(){function t(e,n){this._id=Lt++,this._label=n,this._state=void 0,this._result=void 0,this._subscribers=[],xt.instrument&&p("created",this),v!==e&&("function"!=typeof e&&Y(),this instanceof t?A(this,e):N())}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,r=n.constructor;return n.then(function(e){return r.resolve(t()).then(function(){return e})},function(e){return r.resolve(t()).then(function(){throw e})},e)},t}();Pt.cast=h,Pt.all=L,Pt.race=P,Pt.resolve=h,Pt.reject=I,Pt.prototype._guidKey=jt,Pt.prototype.then=E;var It=new R,Yt=new R,Nt=function(t){function e(e,n,r){return J(this,t.call(this,e,n,!1,r))}return K(e,t),e}(Et);Nt.prototype._makeResult=j;var Rt=Object.prototype.hasOwnProperty,Wt=function(t){function e(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=arguments[3];return tt(this,t.call(this,e,n,r,o))}return et(e,t),e.prototype._init=function(t,e){this._result={},this._enumerate(e),0===this._remaining&&S(this.promise,this._result)},e.prototype._enumerate=function(t){var e=this.promise,n=[];for(var r in t)Rt.call(t,r)&&n.push({position:r,entry:t[r]});var o=n.length;this._remaining=o;for(var i=void 0,a=0;e._state===Mt&&a<o;a++)i=n[a],this._eachEntry(i.entry,i.position)},e}(Et),Ft=function(t){function e(e,n,r){return rt(this,t.call(this,e,n,!1,r))}return ot(e,t),e}(Wt);Ft.prototype._makeResult=j;var Ut=0,Ht=void 0,Gt="undefined"!=typeof window?window:void 0,Vt=Gt||{},Bt=Vt.MutationObserver||Vt.WebKitMutationObserver,zt="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),Zt="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,qt=new Array(1e3),Jt=void 0;Jt=zt?function(){var e=t.nextTick,n=t.versions.node.match(/^(?:(\d+)\.)?(?:(\d+)\.)?(\*|\d+)$/);return Array.isArray(n)&&"0"===n[1]&&"10"===n[2]&&(e=r),function(){return e(gt)}}():Bt?function(){var t=0,e=new Bt(gt),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){return n.data=t=++t%2}}():Zt?function(){var t=new MessageChannel;return t.port1.onmessage=gt,function(){return t.port2.postMessage(0)}}():void 0===Gt?function(){try{var t=n(20);return Ht=t.runOnLoop||t.runOnContext,mt()}catch(t){return vt()}}():vt();if("object"==typeof self)self;else{if("object"!=typeof o)throw new Error("no global: `self` or `global` found");o}var Kt;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)&&_t(ee,te[ee])}var ne=(Kt={asap:ht,cast:Qt,Promise:Pt,EventTarget:wt,all:q,allSettled:Q,race:X,hash:nt,hashSettled:it,rethrow:at,defer:st,denodeify:V,configure:s,on:_t,off:bt,resolve:ut,reject:lt,map:ct},yt(Kt,"async",Xt),yt(Kt,"filter",pt),Kt);e.default=ne}.call(e,n(6),n(5).setImmediate,n(0))},function(t,e,n){(function(t,n){function r(t,e){return null==t?void 0:t[e]}function o(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function i(t){return W.call(t)}function a(t){return!(!g(t)||c(t))&&(m(t)||o(t)?F:M).test(l(t))}function s(t,e){var n=r(t,e);return a(n)?n:void 0}function c(t){return!!Y&&Y 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 N.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function f(t){return p(t)&&R.call(t,"callee")&&(!H.call(t,"callee")||W.call(t)==w)}function d(t){return null!=t&&v(t.length)&&!m(t)}function p(t){return y(t)&&d(t)}function h(t){if(d(t)&&(ot(t)||"string"==typeof t||"function"==typeof t.splice||it(t)||f(t)))return!t.length;var e=rt(t);if(e==S||e==O)return!t.size;if(K||u(t))return!V(t).length;for(var n in t)if(R.call(t,n))return!1;return!0}function m(t){var e=g(t)?W.call(t):"";return e==x||e==k}function v(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=b}function g(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function y(t){return!!t&&"object"==typeof t}function _(){return!1}var b=9007199254740991,w="[object Arguments]",x="[object Function]",k="[object GeneratorFunction]",S="[object Map]",O="[object Set]",T=/[\\^$.*+?()[\]{}|]/g,M=/^\[object .+?Constructor\]$/,C="object"==typeof t&&t&&t.Object===Object&&t,D="object"==typeof self&&self&&self.Object===Object&&self,$=C||D||Function("return this")(),A="object"==typeof e&&e&&!e.nodeType&&e,E=A&&"object"==typeof n&&n&&!n.nodeType&&n,j=E&&E.exports===A,L=Function.prototype,P=Object.prototype,I=$["__core-js_shared__"],Y=function(){var t=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),N=L.toString,R=P.hasOwnProperty,W=P.toString,F=RegExp("^"+N.call(R).replace(T,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),U=j?$.Buffer:void 0,H=P.propertyIsEnumerable,G=U?U.isBuffer:void 0,V=function(t,e){return function(n){return t(e(n))}}(Object.keys,Object),B=s($,"DataView"),z=s($,"Map"),Z=s($,"Promise"),q=s($,"Set"),J=s($,"WeakMap"),K=!H.call({valueOf:1},"valueOf"),Q=l(B),X=l(z),tt=l(Z),et=l(q),nt=l(J),rt=i;(B&&"[object DataView]"!=rt(new B(new ArrayBuffer(1)))||z&&rt(new z)!=S||Z&&"[object Promise]"!=rt(Z.resolve())||q&&rt(new q)!=O||J&&"[object WeakMap]"!=rt(new J))&&(rt=function(t){var e=W.call(t),n="[object Object]"==e?t.constructor:void 0,r=n?l(n):void 0;if(r)switch(r){case Q:return"[object DataView]";case X:return S;case tt:return"[object Promise]";case et:return O;case nt:return"[object WeakMap]"}return e});var ot=Array.isArray,it=G||_;n.exports=h}).call(e,n(0),n(21)(t))},function(t,e){function n(t,e){return t?o.call(t,e):""}var r=Array.prototype,o=r.join;t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(7),o=jQuery;e.default={get:function(t,e,n){return new r.Promise(function(r,i){o.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(r).fail(i)})}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(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 r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(12),s=r(a),c=n(17),u=r(c),l=n(2);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 r=function(){function t(){o(this,t),this.app=void 0,this.modal=void 0}return i(t,[{key:"open",value:function(t){var r=this,o=t.preselectWidgetType,i=t.onWidgetSelect;if("function"!=typeof i)throw new Error("onWidgetSelect must be a function");e(function(){r.app||n.call(r),r.app.widgetType=o||l.WIDGET_ALL,r.app.widgetSelectCb=i,r.modal.open()})}}]),t}();t.contentPopup=new r,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){window.location.href.indexOf("modal_is_open")>-1&&(OpinionStage.contentPopup.open({onWidgetSelect:onWidgetSelect}),modal.open()),t("body").on("click","[data-opinionstage-content-launch]",function(t){function e(t){wp.media.editor.insert(t.shortcode)}t.preventDefault(),OpinionStage.contentPopup.open({onWidgetSelect:e})})})},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),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]:{};r(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 o(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 r,o;!function(i,a){r=a,void 0!==(o="function"==typeof r?r.call(e,n,e,t):r)&&(t.exports=o)}(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 r(){this.modalBoxFooter=document.createElement("div"),this.modalBoxFooter.classList.add("tingle-modal-box__footer"),this.modalBox.appendChild(this.modalBoxFooter)}function o(){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),o.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(){r.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 r=document.createElement("button");return r.innerHTML=t,r.addEventListener("click",n),"string"==typeof e&&e.length&&e.split(" ").forEach(function(t){r.classList.add(t)}),this.modalBoxFooter.appendChild(r),r},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 r=n(15);"string"==typeof r&&(r=[[t.i,r,""]]);var o={};o.transform=void 0;n(4)(r,o);r.locals&&(t.exports=r.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;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{max-width:960px;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,r=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var o=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(o))return t;var i;return i=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")"})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return new o.default({el:"[data-opinionstage-content-popup]",data:{widgetType:i.WIDGET_ALL,widgetSelectCb:function(t){console.log("dumb widget insert callback, widget:",t)},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 r=n(1),o=function(t){return t&&t.__esModule?t:{default:t}}(r);n(19),n(25),n(28),n(29);var i=n(2)},function(t,e,n){(function(t,e){!function(t,n){"use strict";function r(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 r={callback:t,args:e};return u[c]=r,s(c),c++}function o(t){delete u[t]}function i(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(n,r)}}function a(t){if(l)setTimeout(a,0,t);else{var e=u[t];if(e){l=!0;try{i(e)}finally{o(t),l=!1}}}}if(!t.setImmediate){var s,c=1,u={},l=!1,f=t.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d: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)}}(),d.setImmediate=r,d.clearImmediate=o}}("undefined"==typeof self?void 0===t?this:t:self)}).call(e,n(0),n(6))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(){var t=this;return this.dataLoading=!0,i.call(this,this.searchCriteria).then(function(){t.noMoreData=!c(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}):v.default.resolve()}function a(t,e,n){var r=[];return e&&r.push("type="+e),n&&r.push("updated_at="+n),(0,y.default)(r)?t:t+"?"+(0,b.default)(r,"&")}function s(t,e){var n=this,r=a(this.clientWidgetsHasNewUrl,t,e);return S.default.get(r,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 c(t){return t>1}function u(){var t=this;s.call(this,this.searchCriteria.type,this.lastUpdateTime).then(function(){t.newWidgetsAvailable&&f.call(t)})}function l(){this.clientIsLoggedIn&&(this.isCheckingWidgetUpdates=!0,this.widgetUpdatesChecker=setInterval(u.bind(this),3e3))}function f(){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 p=n(1),h=r(p),m=n(7),v=r(m),g=n(8),y=r(g),_=n(9),b=r(_),w=n(22),x=r(w),k=n(10),S=r(k),O=n(2);e.default=h.default.component("popup-content",{template:"#opinionstage-popup-content",props:["clientIsLoggedIn","modalIsOpened","widgetType","clientWidgetsUrl","clientWidgetsHasNewUrl","accessKey","pluginVersion"],data:function(){return{dataLoading:!1,widgets:[],searchCriteria:{},noMoreData:!0,newWidgetsAvailable:!1,lastUpdateTime:null,isCheckingWidgetUpdates:!1,widgetUpdatesChecker:null}},store:x.default,methods:{reloadData:function(t){var e=this;t||(t={});var n=t.widgetType||this.widgetType||this.searchCriteria.type||O.WIDGET_ALL,r=t.widgetTitle||"";this.newWidgetsAvailable=!1,f.call(this),this.searchCriteria={page:1,perPage:9,type:n,title:r},this.$store.commit("clearWidgets"),o.call(this).then(function(){e.widgets=e.$store.state.widgets[0],e.searchCriteria.title||d.call(e),l.call(e)})},reloadAndRestartCheckingForUpdates:function(){this.reloadData({widgetType:this.searchCriteria.type,widgetTitle:""})},appendData:function(){var t=this;this.searchCriteria.page+=1,o.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.clientIsLoggedIn?this.reloadData():(this.newWidgetsAvailable=!1,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 r(t){return t&&t.__esModule?t:{default:t}}function o(t){return t.data.map(function(t){var e={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,isDraft:!1,isClosed:!1,isOpen:!1};switch(t.attributes.status){case"draft":e.isDraft=!0;break;case"closed":e.isClosed=!0;break;default:e.isOpen=!0}return e})}function i(t){return t.meta.nextPage}function a(t,e){var n=e.type,r=e.title,o=e.page,i=e.perPage,a=[];if(n&&a.push("type="+n),!(0,h.default)(r)){var s=(0,d.default)(r);(0,h.default)(s)||a.push("title_like="+s)}return o&&a.push("page="+o),i&&a.push("per_page="+i),(0,h.default)(a)?t:t+"?"+(0,v.default)(a,"&")}Object.defineProperty(e,"__esModule",{value:!0});var s=n(1),c=r(s),u=n(23),l=r(u),f=n(24),d=r(f),p=n(8),h=r(p),m=n(9),v=r(m),g=n(10),y=r(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(o(n)),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})},load:function(t,e){var n=t.commit,r=e.commitType,o=e.widgetsUrl,i=e.filtering,s=e.pluginVersion,c=e.accessToken,u=a(o,i);return y.default.get(u,s,c).then(function(t){n({type:r,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 r(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 o(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 r in n.modules){if(!e.getChild(r))return;s(t.concat(r),e.getChild(r),n.modules[r])}}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 r=t._vm;t.getters={};var i=t._wrappedGetters,a={};o(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=D.config.silent;D.config.silent=!0,t._vm=new D({data:{$$state:e},computed:a}),D.config.silent=s,t.strict&&g(t),r&&(n&&t._withCommit(function(){r._data.$$state=null}),D.nextTick(function(){return r.$destroy()}))}function f(t,e,n,r,o){var i=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a]=r),!i&&!o){var s=y(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit(function(){D.set(s,c,r.state)})}var u=r.context=d(t,a,n);r.forEachMutation(function(e,n){h(t,a+n,e,u)}),r.forEachAction(function(e,n){var r=e.root?n:a+n,o=e.handler||e;m(t,r,o,u)}),r.forEachGetter(function(e,n){v(t,a+n,e,u)}),r.forEachChild(function(r,i){f(t,e,n.concat(i),r,o)})}function d(t,e,n){var r=""===e,o={dispatch:r?t.dispatch:function(n,r,o){var i=_(n,r,o),a=i.payload,s=i.options,c=i.type;return s&&s.root||(c=e+c),t.dispatch(c,a)},commit:r?t.commit:function(n,r,o){var i=_(n,r,o),a=i.payload,s=i.options,c=i.type;s&&s.root||(c=e+c),t.commit(c,a,s)}};return Object.defineProperties(o,{getters:{get:r?function(){return t.getters}:function(){return p(t,e)}},state:{get:function(){return y(t.state,n)}}}),o}function p(t,e){var n={},r=e.length;return Object.keys(t.getters).forEach(function(o){if(o.slice(0,r)===e){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return t.getters[o]},enumerable:!0})}}),n}function h(t,e,n,r){(t._mutations[e]||(t._mutations[e]=[])).push(function(e){n.call(t,r.state,e)})}function m(t,e,n,r){(t._actions[e]||(t._actions[e]=[])).push(function(e,o){var i=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e,o);return a(i)||(i=Promise.resolve(i)),t._devtoolHook?i.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):i})}function v(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.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 _(t,e,n){return i(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function b(t){D&&t===D||(D=t,S(D))}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 $}),n.d(e,"install",function(){return b}),n.d(e,"mapState",function(){return E}),n.d(e,"mapMutations",function(){return j}),n.d(e,"mapGetters",function(){return L}),n.d(e,"mapActions",function(){return P}),n.d(e,"createNamespacedHelpers",function(){return I});/**
|
14 |
* vuex v2.5.0
|
15 |
* (c) 2017 Evan You
|
16 |
* @license MIT
|
17 |
*/
|
18 |
-
var S=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__,T=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)||{}},M={namespaced:{configurable:!0}};M.namespaced.get=function(){return!!this._rawModule.namespaced},T.prototype.addChild=function(t,e){this._children[t]=e},T.prototype.removeChild=function(t){delete this._children[t]},T.prototype.getChild=function(t){return this._children[t]},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)},T.prototype.forEachChild=function(t){o(this._children,t)},T.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},T.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},T.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(T.prototype,M);var C=function(t){this.register([],t,!1)};C.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},C.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")},"")},C.prototype.update=function(t){s([],this.root,t)},C.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new T(e,n);if(0===t.length)this.root=i;else{this.get(t.slice(0,-1)).addChild(t[t.length-1],i)}e.modules&&o(e.modules,function(e,o){r.register(t.concat(o),e,n)})},C.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 D,$=function(t){var e=this;void 0===t&&(t={}),!D&&"undefined"!=typeof window&&window.Vue&&b(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var o=t.strict;void 0===o&&(o=!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 C(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new D;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=o,f(this,i,[],this._modules.root),l(this,i),n.forEach(function(t){return t(e)}),D.config.devtools&&r(this)},A={state:{configurable:!0}};A.state.get=function(){return this._vm._data.$$state},A.state.set=function(t){},$.prototype.commit=function(t,e,n){var r=this,o=_(t,e,n),i=o.type,a=o.payload,s=(o.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,r.state)}))},$.prototype.dispatch=function(t,e){var n=this,r=_(t,e),o=r.type,i=r.payload,a={type:o,payload:i},s=this._actions[o];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)},$.prototype.subscribe=function(t){return c(t,this._subscribers)},$.prototype.subscribeAction=function(t){return c(t,this._actionSubscribers)},$.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,n)},$.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},$.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)},$.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));D.delete(n,t[t.length-1])}),u(this)},$.prototype.hotUpdate=function(t){this._modules.update(t),u(this,!0)},$.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties($.prototype,A);var E=x(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=k(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]},n[r].vuex=!0}),n}),j=x(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var i=k(this.$store,"mapMutations",t);if(!i)return;r=i.context.commit}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n}),L=x(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||k(this.$store,"mapGetters",t))return this.$store.getters[o]},n[r].vuex=!0}),n}),P=x(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var i=k(this.$store,"mapActions",t);if(!i)return;r=i.context.dispatch}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n}),I=function(t){return{mapState:E.bind(null,t),mapGetters:L.bind(null,t),mapMutations:j.bind(null,t),mapActions:P.bind(null,t)}},Y={Store:$,install:b,version:"2.5.0",mapState:E,mapMutations:j,mapGetters:L,mapActions:P,createNamespacedHelpers:I};e.default=Y},function(t,e,n){(function(e){function n(t){return t.split("")}function r(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}function o(t,e,n){if(e!==e)return r(t,i,n);for(var o=n-1,a=t.length;++o<a;)if(t[o]===e)return o;return-1}function i(t){return t!==t}function a(t,e){for(var n=-1,r=t.length;++n<r&&o(e,t[n],0)>-1;);return n}function s(t,e){for(var n=t.length;n--&&o(e,t[n],0)>-1;);return n}function c(t){return $.test(t)}function u(t){return c(t)?l(t):n(t)}function l(t){return t.match(D)||[]}function f(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),n=n>o?o:n,n<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var i=Array(o);++r<o;)i[r]=t[r+e];return i}function d(t){if("string"==typeof t)return t;if(m(t))return N?N.call(t):"";var e=t+"";return"0"==e&&1/t==-y?"-0":e}function p(t,e,n){var r=t.length;return n=void 0===n?r:n,!e&&n>=r?t:f(t,e,n)}function h(t){return!!t&&"object"==typeof t}function m(t){return"symbol"==typeof t||h(t)&&P.call(t)==_}function v(t){return null==t?"":d(t)}function g(t,e,n){if((t=v(t))&&(n||void 0===e))return t.replace(b,"");if(!t||!(e=d(e)))return t;var r=u(t),o=u(e);return p(r,a(r,o),s(r,o)+1).join("")}var y=1/0,_="[object Symbol]",b=/^\s+|\s+$/g,w="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",x="\\ud83c[\\udffb-\\udfff]",k="(?:\\ud83c[\\udde6-\\uddff]){2}",S="[\\ud800-\\udbff][\\udc00-\\udfff]",O="(?:[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]|\\ud83c[\\udffb-\\udfff])?",T="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",k,S].join("|")+")[\\ufe0e\\ufe0f]?"+O+")*",M="[\\ufe0e\\ufe0f]?"+O+T,C="(?:"+["[^\\ud800-\\udfff]"+w+"?",w,k,S,"[\\ud800-\\udfff]"].join("|")+")",D=RegExp(x+"(?="+x+")|"+C+M,"g"),$=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),A="object"==typeof e&&e&&e.Object===Object&&e,E="object"==typeof self&&self&&self.Object===Object&&self,j=A||E||Function("return this")(),L=Object.prototype,P=L.toString,I=j.Symbol,Y=I?I.prototype:void 0,N=Y?Y.toString:void 0;t.exports=g}).call(e,n(0))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(){this.$emit("widgets-search-update",{widgetType:this.selectedWidgetType,widgetTitle:this.widgetTitleSearch})}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(26),c=r(s),u=n(2);a.default.use(n(27));var 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]="standard 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,selectedDraftWidget:{}}},computed:{selectedWidgetTitle:function(){return l[this.selectedWidgetType||this.preSelectedWidgetType]}},watch:{widgetTitleSearch:(0,c.default)(function(){o.call(this)},500),widgets:function(){this.hasData=this.dataLoading||this.widgets.length>0}},methods:{select:function(t){t.isDraft?this.selectedDraftWidget=t:this.$emit("widget-selected",t)},selectWidgetType:function(t){this.selectedWidgetType=t,this.widgetTitleSearch="",o.call(this)},showMore:function(){this.$emit("load-more-widgets")}}})},function(t,e,n){(function(e){function n(t,e,n){function o(e){var n=m,r=v;return m=v=void 0,S=e,y=t.apply(r,n)}function i(t){return S=t,_=setTimeout(l,e),O?o(t):y}function c(t){var n=t-k,r=t-S,o=e-n;return T?w(o,g-r):o}function u(t){var n=t-k,r=t-S;return void 0===k||n>=e||n<0||T&&r>=g}function l(){var t=x();if(u(t))return f(t);_=setTimeout(l,c(t))}function f(t){return _=void 0,M&&m?o(t):(m=v=void 0,y)}function d(){void 0!==_&&clearTimeout(_),S=0,m=k=v=_=void 0}function p(){return void 0===_?y:f(x())}function h(){var t=x(),n=u(t);if(m=arguments,v=this,k=t,n){if(void 0===_)return i(k);if(T)return _=setTimeout(l,e),o(k)}return void 0===_&&(_=setTimeout(l,e)),y}var m,v,g,y,_,k,S=0,O=!1,T=!1,M=!0;if("function"!=typeof t)throw new TypeError(s);return e=a(e)||0,r(n)&&(O=!!n.leading,T="maxWait"in n,g=T?b(a(n.maxWait)||0,e):g,M="trailing"in n?!!n.trailing:M),h.cancel=d,h.flush=p,h}function r(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function o(t){return!!t&&"object"==typeof t}function i(t){return"symbol"==typeof t||o(t)&&_.call(t)==u}function a(t){if("number"==typeof t)return t;if(i(t))return c;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(l,"");var n=d.test(t);return n||p.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,d=/^0b[01]+$/i,p=/^0o[0-7]+$/i,h=parseInt,m="object"==typeof e&&e&&e.Object===Object&&e,v="object"==typeof self&&self&&self.Object===Object&&self,g=m||v||Function("return this")(),y=Object.prototype,_=y.toString,b=Math.max,w=Math.min,x=function(){return g.Date.now()};t.exports=n}).call(e,n(0))},function(t,e,n){(function(t){!function(t,n){n(e)}(0,function(e){"use strict";function n(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},i=function(t,e){return e={exports:{}},t(e,e.exports),e.exports}(function(t,e){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};
|
19 |
//! moment.js
|
20 |
-
!function(n,o){"object"===r(e)?t.exports=o():n.moment=o()}(o,function(){function e(){return jr.apply(null,arguments)}function o(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function i(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}function s(t){return void 0===t}function c(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function u(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function l(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function f(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function d(t,e){for(var n in e)f(e,n)&&(t[n]=e[n]);return f(e,"toString")&&(t.toString=e.toString),f(e,"valueOf")&&(t.valueOf=e.valueOf),t}function p(t,e,n,r){return Me(t,e,n,r,!0).utc()}function h(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function m(t){return null==t._pf&&(t._pf=h()),t._pf}function v(t){if(null==t._isValid){var e=m(t),n=Lr.call(e.parsedDateParts,function(t){return null!=t}),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function g(t){var e=p(NaN);return null!=t?d(m(e),t):m(e).userInvalidated=!0,e}function y(t,e){var n,r,o;if(s(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),s(e._i)||(t._i=e._i),s(e._f)||(t._f=e._f),s(e._l)||(t._l=e._l),s(e._strict)||(t._strict=e._strict),s(e._tzm)||(t._tzm=e._tzm),s(e._isUTC)||(t._isUTC=e._isUTC),s(e._offset)||(t._offset=e._offset),s(e._pf)||(t._pf=m(e)),s(e._locale)||(t._locale=e._locale),Pr.length>0)for(n=0;n<Pr.length;n++)r=Pr[n],o=e[r],s(o)||(t[r]=o);return t}function _(t){y(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Ir&&(Ir=!0,e.updateOffset(this),Ir=!1)}function b(t){return t instanceof _||null!=t&&null!=t._isAMomentObject}function w(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function x(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=w(e)),n}function k(t,e,n){var r,o=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),a=0;for(r=0;r<o;r++)(n&&t[r]!==e[r]||!n&&x(t[r])!==x(e[r]))&&a++;return a+i}function S(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function O(t,n){var o=!0;return d(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),o){for(var i,a=[],s=0;s<arguments.length;s++){if(i="","object"===r(arguments[s])){i+="\n["+s+"] ";for(var c in arguments[0])i+=c+": "+arguments[0][c]+", ";i=i.slice(0,-2)}else i=arguments[s];a.push(i)}S(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),o=!1}return n.apply(this,arguments)},n)}function T(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),Yr[t]||(S(n),Yr[t]=!0)}function M(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function C(t){var e,n;for(n in t)e=t[n],M(e)?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function D(t,e){var n,r=d({},t);for(n in e)f(e,n)&&(i(t[n])&&i(e[n])?(r[n]={},d(r[n],t[n]),d(r[n],e[n])):null!=e[n]?r[n]=e[n]:delete r[n]);for(n in t)f(t,n)&&!f(e,n)&&i(t[n])&&(r[n]=d({},r[n]));return r}function $(t){null!=t&&this.set(t)}function A(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return M(r)?r.call(e,n):r}function E(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function j(){return this._invalidDate}function L(t){return this._ordinal.replace("%d",t)}function P(t,e,n,r){var o=this._relativeTime[n];return M(o)?o(t,e,n,r):o.replace(/%d/i,t)}function I(t,e){var n=this._relativeTime[t>0?"future":"past"];return M(n)?n(e):n.replace(/%s/i,e)}function Y(t,e){var n=t.toLowerCase();Hr[n]=Hr[n+"s"]=Hr[e]=t}function N(t){return"string"==typeof t?Hr[t]||Hr[t.toLowerCase()]:void 0}function R(t){var e,n,r={};for(n in t)f(t,n)&&(e=N(n))&&(r[e]=t[n]);return r}function W(t,e){Gr[t]=e}function F(t){var e=[];for(var n in t)e.push({unit:n,priority:Gr[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function U(t,e,n){var r=""+Math.abs(t),o=e-r.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}function H(t,e,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),t&&(Zr[t]=o),e&&(Zr[e[0]]=function(){return U(o.apply(this,arguments),e[1],e[2])}),n&&(Zr[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function G(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function V(t){var e,n,r=t.match(Vr);for(e=0,n=r.length;e<n;e++)Zr[r[e]]?r[e]=Zr[r[e]]:r[e]=G(r[e]);return function(e){var o,i="";for(o=0;o<n;o++)i+=M(r[o])?r[o].call(e,t):r[o];return i}}function B(t,e){return t.isValid()?(e=z(e,t.localeData()),zr[e]=zr[e]||V(e),zr[e](t)):t.localeData().invalidDate()}function z(t,e){function n(t){return e.longDateFormat(t)||t}var r=5;for(Br.lastIndex=0;r>=0&&Br.test(t);)t=t.replace(Br,n),Br.lastIndex=0,r-=1;return t}function Z(t,e,n){po[t]=M(e)?e:function(t,r){return t&&n?n:e}}function q(t,e){return f(po,t)?po[t](e._strict,e._locale):new RegExp(J(t))}function J(t){return K(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,o){return e||n||r||o}))}function K(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Q(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),c(e)&&(r=function(t,n){n[e]=x(t)}),n=0;n<t.length;n++)ho[t[n]]=r}function X(t,e){Q(t,function(t,n,r,o){r._w=r._w||{},e(t,r._w,r,o)})}function tt(t,e,n){null!=e&&f(ho,t)&&ho[t](e,n._a,n,t)}function et(t){return nt(t)?366:365}function nt(t){return t%4==0&&t%100!=0||t%400==0}function rt(){return nt(this.year())}function ot(t,n){return function(r){return null!=r?(at(this,t,r),e.updateOffset(this,n),this):it(this,t)}}function it(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function at(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&nt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),lt(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function st(t){return t=N(t),M(this[t])?this[t]():this}function ct(t,e){if("object"===(void 0===t?"undefined":r(t))){t=R(t);for(var n=F(t),o=0;o<n.length;o++)this[n[o].unit](t[n[o].unit])}else if(t=N(t),M(this[t]))return this[t](e);return this}function ut(t,e){return(t%e+e)%e}function lt(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=ut(e,12);return t+=(e-n)/12,1===n?nt(t)?29:28:31-n%7%2}function ft(t,e){return t?o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||To).test(e)?"format":"standalone"][t.month()]:o(this._months)?this._months:this._months.standalone}function dt(t,e){return t?o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[To.test(e)?"format":"standalone"][t.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function pt(t,e,n){var r,o,i,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===e?(o=So.call(this._shortMonthsParse,a),-1!==o?o:null):(o=So.call(this._longMonthsParse,a),-1!==o?o:null):"MMM"===e?-1!==(o=So.call(this._shortMonthsParse,a))?o:(o=So.call(this._longMonthsParse,a),-1!==o?o:null):-1!==(o=So.call(this._longMonthsParse,a))?o:(o=So.call(this._shortMonthsParse,a),-1!==o?o:null)}function ht(t,e,n){var r,o,i;if(this._monthsParseExact)return pt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function mt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=x(e);else if(e=t.localeData().monthsParse(e),!c(e))return t;return n=Math.min(t.date(),lt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function vt(t){return null!=t?(mt(this,t),e.updateOffset(this,!0),this):it(this,"Month")}function gt(){return lt(this.year(),this.month())}function yt(t){return this._monthsParseExact?(f(this,"_monthsRegex")||bt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Do),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function _t(t){return this._monthsParseExact?(f(this,"_monthsRegex")||bt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=$o),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function bt(){function t(t,e){return e.length-t.length}var e,n,r=[],o=[],i=[];for(e=0;e<12;e++)n=p([2e3,e]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(t),o.sort(t),i.sort(t),e=0;e<12;e++)r[e]=K(r[e]),o[e]=K(o[e]);for(e=0;e<24;e++)i[e]=K(i[e]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function wt(t,e,n,r,o,i,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,r,o,i,a),s}function xt(t){var e;if(t<100&&t>=0){var n=Array.prototype.slice.call(arguments);n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function kt(t,e,n){var r=7+e-n;return-(7+xt(t,0,r).getUTCDay()-e)%7+r-1}function St(t,e,n,r,o){var i,a,s=(7+n-r)%7,c=kt(t,r,o),u=1+7*(e-1)+s+c;return u<=0?(i=t-1,a=et(i)+u):u>et(t)?(i=t+1,a=u-et(t)):(i=t,a=u),{year:i,dayOfYear:a}}function Ot(t,e,n){var r,o,i=kt(t.year(),e,n),a=Math.floor((t.dayOfYear()-i-1)/7)+1;return a<1?(o=t.year()-1,r=a+Tt(o,e,n)):a>Tt(t.year(),e,n)?(r=a-Tt(t.year(),e,n),o=t.year()+1):(o=t.year(),r=a),{week:r,year:o}}function Tt(t,e,n){var r=kt(t,e,n),o=kt(t+1,e,n);return(et(t)-r+o)/7}function Mt(t){return Ot(t,this._week.dow,this._week.doy).week}function Ct(){return this._week.dow}function Dt(){return this._week.doy}function $t(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function At(t){var e=Ot(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Et(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function jt(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Lt(t,e){return t.slice(e,7).concat(t.slice(0,e))}function Pt(t,e){var n=o(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Lt(n,this._week.dow):t?n[t.day()]:n}function It(t){return!0===t?Lt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Yt(t){return!0===t?Lt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Nt(t,e,n){var r,o,i,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===e?(o=So.call(this._weekdaysParse,a),-1!==o?o:null):"ddd"===e?(o=So.call(this._shortWeekdaysParse,a),-1!==o?o:null):(o=So.call(this._minWeekdaysParse,a),-1!==o?o:null):"dddd"===e?-1!==(o=So.call(this._weekdaysParse,a))?o:-1!==(o=So.call(this._shortWeekdaysParse,a))?o:(o=So.call(this._minWeekdaysParse,a),-1!==o?o:null):"ddd"===e?-1!==(o=So.call(this._shortWeekdaysParse,a))?o:-1!==(o=So.call(this._weekdaysParse,a))?o:(o=So.call(this._minWeekdaysParse,a),-1!==o?o:null):-1!==(o=So.call(this._minWeekdaysParse,a))?o:-1!==(o=So.call(this._weekdaysParse,a))?o:(o=So.call(this._shortWeekdaysParse,a),-1!==o?o:null)}function Rt(t,e,n){var r,o,i;if(this._weekdaysParseExact)return Nt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function Wt(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Et(t,this.localeData()),this.add(t-e,"d")):e}function Ft(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ut(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=jt(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Ht(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Bt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Po),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Gt(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Bt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Io),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Vt(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Bt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Yo),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Bt(){function t(t,e){return e.length-t.length}var e,n,r,o,i,a=[],s=[],c=[],u=[];for(e=0;e<7;e++)n=p([2e3,1]).day(e),r=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),i=this.weekdays(n,""),a.push(r),s.push(o),c.push(i),u.push(r),u.push(o),u.push(i);for(a.sort(t),s.sort(t),c.sort(t),u.sort(t),e=0;e<7;e++)s[e]=K(s[e]),c[e]=K(c[e]),u[e]=K(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function zt(){return this.hours()%12||12}function Zt(){return this.hours()||24}function qt(t,e){H(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Jt(t,e){return e._meridiemParse}function Kt(t){return"p"===(t+"").toLowerCase().charAt(0)}function Qt(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Xt(t){return t?t.toLowerCase().replace("_","-"):t}function te(t){for(var e,n,r,o,i=0;i<t.length;){for(o=Xt(t[i]).split("-"),e=o.length,n=Xt(t[i+1]),n=n?n.split("-"):null;e>0;){if(r=ee(o.slice(0,e).join("-")))return r;if(n&&n.length>=e&&k(o,n,!0)>=e-1)break;e--}i++}return No}function ee(e){var r=null;if(!Uo[e]&&t&&t.exports)try{r=No._abbr;n("./locale/"+e),ne(r)}catch(t){}return Uo[e]}function ne(t,e){var n;return t&&(n=s(e)?ie(t):re(t,e),n?No=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),No._abbr}function re(t,e){if(null!==e){var n,r=Fo;if(e.abbr=t,null!=Uo[t])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=Uo[t]._config;else if(null!=e.parentLocale)if(null!=Uo[e.parentLocale])r=Uo[e.parentLocale]._config;else{if(null==(n=ee(e.parentLocale)))return Ho[e.parentLocale]||(Ho[e.parentLocale]=[]),Ho[e.parentLocale].push({name:t,config:e}),null;r=n._config}return Uo[t]=new $(D(r,e)),Ho[t]&&Ho[t].forEach(function(t){re(t.name,t.config)}),ne(t),Uo[t]}return delete Uo[t],null}function oe(t,e){if(null!=e){var n,r,o=Fo;r=ee(t),null!=r&&(o=r._config),e=D(o,e),n=new $(e),n.parentLocale=Uo[t],Uo[t]=n,ne(t)}else null!=Uo[t]&&(null!=Uo[t].parentLocale?Uo[t]=Uo[t].parentLocale:null!=Uo[t]&&delete Uo[t]);return Uo[t]}function ie(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return No;if(!o(t)){if(e=ee(t))return e;t=[t]}return te(t)}function ae(){return Nr(Uo)}function se(t){var e,n=t._a;return n&&-2===m(t).overflow&&(e=n[vo]<0||n[vo]>11?vo:n[go]<1||n[go]>lt(n[mo],n[vo])?go:n[yo]<0||n[yo]>24||24===n[yo]&&(0!==n[_o]||0!==n[bo]||0!==n[wo])?yo:n[_o]<0||n[_o]>59?_o:n[bo]<0||n[bo]>59?bo:n[wo]<0||n[wo]>999?wo:-1,m(t)._overflowDayOfYear&&(e<mo||e>go)&&(e=go),m(t)._overflowWeeks&&-1===e&&(e=xo),m(t)._overflowWeekday&&-1===e&&(e=ko),m(t).overflow=e),t}function ce(t,e,n){return null!=t?t:null!=e?e:n}function ue(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function le(t){var e,n,r,o,i,a=[];if(!t._d){for(r=ue(t),t._w&&null==t._a[go]&&null==t._a[vo]&&fe(t),null!=t._dayOfYear&&(i=ce(t._a[mo],r[mo]),(t._dayOfYear>et(i)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),n=xt(i,0,t._dayOfYear),t._a[vo]=n.getUTCMonth(),t._a[go]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=r[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[yo]&&0===t._a[_o]&&0===t._a[bo]&&0===t._a[wo]&&(t._nextDay=!0,t._a[yo]=0),t._d=(t._useUTC?xt:wt).apply(null,a),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[yo]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(m(t).weekdayMismatch=!0)}}function fe(t){var e,n,r,o,i,a,s,c;if(e=t._w,null!=e.GG||null!=e.W||null!=e.E)i=1,a=4,n=ce(e.GG,t._a[mo],Ot(Ce(),1,4).year),r=ce(e.W,1),((o=ce(e.E,1))<1||o>7)&&(c=!0);else{i=t._locale._week.dow,a=t._locale._week.doy;var u=Ot(Ce(),i,a);n=ce(e.gg,t._a[mo],u.year),r=ce(e.w,u.week),null!=e.d?((o=e.d)<0||o>6)&&(c=!0):null!=e.e?(o=e.e+i,(e.e<0||e.e>6)&&(c=!0)):o=i}r<1||r>Tt(n,i,a)?m(t)._overflowWeeks=!0:null!=c?m(t)._overflowWeekday=!0:(s=St(n,r,o,i,a),t._a[mo]=s.year,t._dayOfYear=s.dayOfYear)}function de(t){var e,n,r,o,i,a,s=t._i,c=Go.exec(s)||Vo.exec(s);if(c){for(m(t).iso=!0,e=0,n=zo.length;e<n;e++)if(zo[e][1].exec(c[1])){o=zo[e][0],r=!1!==zo[e][2];break}if(null==o)return void(t._isValid=!1);if(c[3]){for(e=0,n=Zo.length;e<n;e++)if(Zo[e][1].exec(c[3])){i=(c[2]||" ")+Zo[e][0];break}if(null==i)return void(t._isValid=!1)}if(!r&&null!=i)return void(t._isValid=!1);if(c[4]){if(!Bo.exec(c[4]))return void(t._isValid=!1);a="Z"}t._f=o+(i||"")+(a||""),be(t)}else t._isValid=!1}function pe(t,e,n,r,o,i){var a=[he(t),Co.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(o,10)];return i&&a.push(parseInt(i,10)),a}function he(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function me(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ve(t,e,n){if(t){if(jo.indexOf(t)!==new Date(e[0],e[1],e[2]).getDay())return m(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function ge(t,e,n){if(t)return Ko[t];if(e)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}function ye(t){var e=Jo.exec(me(t._i));if(e){var n=pe(e[4],e[3],e[2],e[5],e[6],e[7]);if(!ve(e[1],n,t))return;t._a=n,t._tzm=ge(e[8],e[9],e[10]),t._d=xt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),m(t).rfc2822=!0}else t._isValid=!1}function _e(t){var n=qo.exec(t._i);if(null!==n)return void(t._d=new Date(+n[1]));de(t),!1===t._isValid&&(delete t._isValid,ye(t),!1===t._isValid&&(delete t._isValid,e.createFromInputFallback(t)))}function be(t){if(t._f===e.ISO_8601)return void de(t);if(t._f===e.RFC_2822)return void ye(t);t._a=[],m(t).empty=!0;var n,r,o,i,a,s=""+t._i,c=s.length,u=0;for(o=z(t._f,t._locale).match(Vr)||[],n=0;n<o.length;n++)i=o[n],r=(s.match(q(i,t))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&m(t).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),u+=r.length),Zr[i]?(r?m(t).empty=!1:m(t).unusedTokens.push(i),tt(i,r,t)):t._strict&&!r&&m(t).unusedTokens.push(i);m(t).charsLeftOver=c-u,s.length>0&&m(t).unusedInput.push(s),t._a[yo]<=12&&!0===m(t).bigHour&&t._a[yo]>0&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[yo]=we(t._locale,t._a[yo],t._meridiem),le(t),se(t)}function we(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(r=t.isPM(n),r&&e<12&&(e+=12),r||12!==e||(e=0),e):e}function xe(t){var e,n,r,o,i;if(0===t._f.length)return m(t).invalidFormat=!0,void(t._d=new Date(NaN));for(o=0;o<t._f.length;o++)i=0,e=y({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[o],be(e),v(e)&&(i+=m(e).charsLeftOver,i+=10*m(e).unusedTokens.length,m(e).score=i,(null==r||i<r)&&(r=i,n=e));d(t,n||e)}function ke(t){if(!t._d){var e=R(t._i);t._a=l([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),le(t)}}function Se(t){var e=new _(se(Oe(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Oe(t){var e=t._i,n=t._f;return t._locale=t._locale||ie(t._l),null===e||void 0===n&&""===e?g({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),b(e)?new _(se(e)):(u(e)?t._d=e:o(n)?xe(t):n?be(t):Te(t),v(t)||(t._d=null),t))}function Te(t){var n=t._i;s(n)?t._d=new Date(e.now()):u(n)?t._d=new Date(n.valueOf()):"string"==typeof n?_e(t):o(n)?(t._a=l(n.slice(0),function(t){return parseInt(t,10)}),le(t)):i(n)?ke(t):c(n)?t._d=new Date(n):e.createFromInputFallback(t)}function Me(t,e,n,r,s){var c={};return!0!==n&&!1!==n||(r=n,n=void 0),(i(t)&&a(t)||o(t)&&0===t.length)&&(t=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=s,c._l=n,c._i=t,c._f=e,c._strict=r,Se(c)}function Ce(t,e,n,r){return Me(t,e,n,r,!1)}function De(t,e){var n,r;if(1===e.length&&o(e[0])&&(e=e[0]),!e.length)return Ce();for(n=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](n)||(n=e[r]);return n}function $e(){return De("isBefore",[].slice.call(arguments,0))}function Ae(){return De("isAfter",[].slice.call(arguments,0))}function Ee(t){for(var e in t)if(-1===So.call(ei,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,r=0;r<ei.length;++r)if(t[ei[r]]){if(n)return!1;parseFloat(t[ei[r]])!==x(t[ei[r]])&&(n=!0)}return!0}function je(){return this._isValid}function Le(){return Xe(NaN)}function Pe(t){var e=R(t),n=e.year||0,r=e.quarter||0,o=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,s=e.hour||0,c=e.minute||0,u=e.second||0,l=e.millisecond||0;this._isValid=Ee(e),this._milliseconds=+l+1e3*u+6e4*c+1e3*s*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=ie(),this._bubble()}function Ie(t){return t instanceof Pe}function Ye(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ne(t,e){H(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+U(~~(t/60),2)+e+U(~~t%60,2)})}function Re(t,e){var n=(e||"").match(t);if(null===n)return null;var r=n[n.length-1]||[],o=(r+"").match(ni)||["-",0,0],i=60*o[1]+x(o[2]);return 0===i?0:"+"===o[0]?i:-i}function We(t,n){var r,o;return n._isUTC?(r=n.clone(),o=(b(t)||u(t)?t.valueOf():Ce(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),e.updateOffset(r,!1),r):Ce(t).local()}function Fe(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Ue(t,n,r){var o,i=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Re(uo,t)))return this}else Math.abs(t)<16&&!r&&(t*=60);return!this._isUTC&&n&&(o=Fe(this)),this._offset=t,this._isUTC=!0,null!=o&&this.add(o,"m"),i!==t&&(!n||this._changeInProgress?on(this,Xe(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Fe(this)}function He(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Ge(t){return this.utcOffset(0,t)}function Ve(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Fe(this),"m")),this}function Be(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Re(co,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function ze(t){return!!this.isValid()&&(t=t?Ce(t).utcOffset():0,(this.utcOffset()-t)%60==0)}function Ze(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function qe(){if(!s(this._isDSTShifted))return this._isDSTShifted;var t={};if(y(t,this),t=Oe(t),t._a){var e=t._isUTC?p(t._a):Ce(t._a);this._isDSTShifted=this.isValid()&&k(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Je(){return!!this.isValid()&&!this._isUTC}function Ke(){return!!this.isValid()&&this._isUTC}function Qe(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Xe(t,e){var n,o,i,a=t,s=null;return Ie(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:c(t)?(a={},e?a[e]=t:a.milliseconds=t):(s=ri.exec(t))?(n="-"===s[1]?-1:1,a={y:0,d:x(s[go])*n,h:x(s[yo])*n,m:x(s[_o])*n,s:x(s[bo])*n,ms:x(Ye(1e3*s[wo]))*n}):(s=oi.exec(t))?(n="-"===s[1]?-1:1,a={y:tn(s[2],n),M:tn(s[3],n),w:tn(s[4],n),d:tn(s[5],n),h:tn(s[6],n),m:tn(s[7],n),s:tn(s[8],n)}):null==a?a={}:"object"===(void 0===a?"undefined":r(a))&&("from"in a||"to"in a)&&(i=nn(Ce(a.from),Ce(a.to)),a={},a.ms=i.milliseconds,a.M=i.months),o=new Pe(a),Ie(t)&&f(t,"_locale")&&(o._locale=t._locale),o}function tn(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function en(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function nn(t,e){var n;return t.isValid()&&e.isValid()?(e=We(e,t),t.isBefore(e)?n=en(t,e):(n=en(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function rn(t,e){return function(n,r){var o,i;return null===r||isNaN(+r)||(T(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),n="string"==typeof n?+n:n,o=Xe(n,r),on(this,o,t),this}}function on(t,n,r,o){var i=n._milliseconds,a=Ye(n._days),s=Ye(n._months);t.isValid()&&(o=null==o||o,s&&mt(t,it(t,"Month")+s*r),a&&at(t,"Date",it(t,"Date")+a*r),i&&t._d.setTime(t._d.valueOf()+i*r),o&&e.updateOffset(t,a||s))}function an(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function sn(t,n){var r=t||Ce(),o=We(r,this).startOf("day"),i=e.calendarFormat(this,o)||"sameElse",a=n&&(M(n[i])?n[i].call(this,r):n[i]);return this.format(a||this.localeData().calendar(i,this,Ce(r)))}function cn(){return new _(this)}function un(t,e){var n=b(t)?t:Ce(t);return!(!this.isValid()||!n.isValid())&&(e=N(e)||"millisecond","millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function ln(t,e){var n=b(t)?t:Ce(t);return!(!this.isValid()||!n.isValid())&&(e=N(e)||"millisecond","millisecond"===e?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function fn(t,e,n,r){var o=b(t)?t:Ce(t),i=b(e)?e:Ce(e);return!!(this.isValid()&&o.isValid()&&i.isValid())&&(r=r||"()",("("===r[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n)))}function dn(t,e){var n,r=b(t)?t:Ce(t);return!(!this.isValid()||!r.isValid())&&(e=N(e)||"millisecond","millisecond"===e?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function pn(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function hn(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function mn(t,e,n){var r,o,i;if(!this.isValid())return NaN;if(r=We(t,this),!r.isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),e=N(e)){case"year":i=vn(this,r)/12;break;case"month":i=vn(this,r);break;case"quarter":i=vn(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:w(i)}function vn(t,e){var n,r,o=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(o,"months");return e-i<0?(n=t.clone().add(o-1,"months"),r=(e-i)/(i-n)):(n=t.clone().add(o+1,"months"),r=(e-i)/(n-i)),-(o+r)||0}function gn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function yn(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?B(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",B(n,"Z")):B(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function _n(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o=e+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+o)}function bn(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=B(this,t);return this.localeData().postformat(n)}function wn(t,e){return this.isValid()&&(b(t)&&t.isValid()||Ce(t).isValid())?Xe({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function xn(t){return this.from(Ce(),t)}function kn(t,e){return this.isValid()&&(b(t)&&t.isValid()||Ce(t).isValid())?Xe({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function Sn(t){return this.to(Ce(),t)}function On(t){var e;return void 0===t?this._locale._abbr:(e=ie(t),null!=e&&(this._locale=e),this)}function Tn(){return this._locale}function Mn(t,e){return(t%e+e)%e}function Cn(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-fi:new Date(t,e,n).valueOf()}function Dn(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-fi:Date.UTC(t,e,n)}function $n(t){var n;if(void 0===(t=N(t))||"millisecond"===t||!this.isValid())return this;var r=this._isUTC?Dn:Cn;switch(t){case"year":n=r(this.year(),0,1);break;case"quarter":n=r(this.year(),this.month()-this.month()%3,1);break;case"month":n=r(this.year(),this.month(),1);break;case"week":n=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=r(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=Mn(n+(this._isUTC?0:this.utcOffset()*ui),li);break;case"minute":n=this._d.valueOf(),n-=Mn(n,ui);break;case"second":n=this._d.valueOf(),n-=Mn(n,ci)}return this._d.setTime(n),e.updateOffset(this,!0),this}function An(t){var n;if(void 0===(t=N(t))||"millisecond"===t||!this.isValid())return this;var r=this._isUTC?Dn:Cn;switch(t){case"year":n=r(this.year()+1,0,1)-1;break;case"quarter":n=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=r(this.year(),this.month()+1,1)-1;break;case"week":n=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=li-Mn(n+(this._isUTC?0:this.utcOffset()*ui),li)-1;break;case"minute":n=this._d.valueOf(),n+=ui-Mn(n,ui)-1;break;case"second":n=this._d.valueOf(),n+=ci-Mn(n,ci)-1}return this._d.setTime(n),e.updateOffset(this,!0),this}function En(){return this._d.valueOf()-6e4*(this._offset||0)}function jn(){return Math.floor(this.valueOf()/1e3)}function Ln(){return new Date(this.valueOf())}function Pn(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function In(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Yn(){return this.isValid()?this.toISOString():null}function Nn(){return v(this)}function Rn(){return d({},m(this))}function Wn(){return m(this).overflow}function Fn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Un(t,e){H(0,[t,t.length],0,e)}function Hn(t){return zn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Gn(t){return zn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Vn(){return Tt(this.year(),1,4)}function Bn(){var t=this.localeData()._week;return Tt(this.year(),t.dow,t.doy)}function zn(t,e,n,r,o){var i;return null==t?Ot(this,r,o).year:(i=Tt(t,r,o),e>i&&(e=i),Zn.call(this,t,e,n,r,o))}function Zn(t,e,n,r,o){var i=St(t,e,n,r,o),a=xt(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function qn(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Jn(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function Kn(t,e){e[wo]=x(1e3*("0."+t))}function Qn(){return this._isUTC?"UTC":""}function Xn(){return this._isUTC?"Coordinated Universal Time":""}function tr(t){return Ce(1e3*t)}function er(){return Ce.apply(null,arguments).parseZone()}function nr(t){return t}function rr(t,e,n,r){var o=ie(),i=p().set(r,e);return o[n](i,t)}function or(t,e,n){if(c(t)&&(e=t,t=void 0),t=t||"",null!=e)return rr(t,e,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=rr(t,r,n,"month");return o}function ir(t,e,n,r){"boolean"==typeof t?(c(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,c(e)&&(n=e,e=void 0),e=e||"");var o=ie(),i=t?o._week.dow:0;if(null!=n)return rr(e,(n+i)%7,r,"day");var a,s=[];for(a=0;a<7;a++)s[a]=rr(e,(a+i)%7,r,"day");return s}function ar(t,e){return or(t,e,"months")}function sr(t,e){return or(t,e,"monthsShort")}function cr(t,e,n){return ir(t,e,n,"weekdays")}function ur(t,e,n){return ir(t,e,n,"weekdaysShort")}function lr(t,e,n){return ir(t,e,n,"weekdaysMin")}function fr(){var t=this._data;return this._milliseconds=_i(this._milliseconds),this._days=_i(this._days),this._months=_i(this._months),t.milliseconds=_i(t.milliseconds),t.seconds=_i(t.seconds),t.minutes=_i(t.minutes),t.hours=_i(t.hours),t.months=_i(t.months),t.years=_i(t.years),this}function dr(t,e,n,r){var o=Xe(e,n);return t._milliseconds+=r*o._milliseconds,t._days+=r*o._days,t._months+=r*o._months,t._bubble()}function pr(t,e){return dr(this,t,e,1)}function hr(t,e){return dr(this,t,e,-1)}function mr(t){return t<0?Math.floor(t):Math.ceil(t)}function vr(){var t,e,n,r,o,i=this._milliseconds,a=this._days,s=this._months,c=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*mr(yr(s)+a),a=0,s=0),c.milliseconds=i%1e3,t=w(i/1e3),c.seconds=t%60,e=w(t/60),c.minutes=e%60,n=w(e/60),c.hours=n%24,a+=w(n/24),o=w(gr(a)),s+=o,a-=mr(yr(o)),r=w(s/12),s%=12,c.days=a,c.months=s,c.years=r,this}function gr(t){return 4800*t/146097}function yr(t){return 146097*t/4800}function _r(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=N(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,n=this._months+gr(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(yr(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function br(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12):NaN}function wr(t){return function(){return this.as(t)}}function xr(){return Xe(this)}function kr(t){return t=N(t),this.isValid()?this[t+"s"]():NaN}function Sr(t){return function(){return this.isValid()?this._data[t]:NaN}}function Or(){return w(this.days()/7)}function Tr(t,e,n,r,o){return o.relativeTime(e||1,!!n,t,r)}function Mr(t,e,n){var r=Xe(t).abs(),o=Ii(r.as("s")),i=Ii(r.as("m")),a=Ii(r.as("h")),s=Ii(r.as("d")),c=Ii(r.as("M")),u=Ii(r.as("y")),l=o<=Yi.ss&&["s",o]||o<Yi.s&&["ss",o]||i<=1&&["m"]||i<Yi.m&&["mm",i]||a<=1&&["h"]||a<Yi.h&&["hh",a]||s<=1&&["d"]||s<Yi.d&&["dd",s]||c<=1&&["M"]||c<Yi.M&&["MM",c]||u<=1&&["y"]||["yy",u];return l[2]=e,l[3]=+t>0,l[4]=n,Tr.apply(null,l)}function Cr(t){return void 0===t?Ii:"function"==typeof t&&(Ii=t,!0)}function Dr(t,e){return void 0!==Yi[t]&&(void 0===e?Yi[t]:(Yi[t]=e,"s"===t&&(Yi.ss=e-1),!0))}function $r(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=Mr(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function Ar(t){return(t>0)-(t<0)||+t}function Er(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,r=Ni(this._milliseconds)/1e3,o=Ni(this._days),i=Ni(this._months);t=w(r/60),e=w(t/60),r%=60,t%=60,n=w(i/12),i%=12;var a=n,s=i,c=o,u=e,l=t,f=r?r.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var p=d<0?"-":"",h=Ar(this._months)!==Ar(d)?"-":"",m=Ar(this._days)!==Ar(d)?"-":"",v=Ar(this._milliseconds)!==Ar(d)?"-":"";return p+"P"+(a?h+a+"Y":"")+(s?h+s+"M":"")+(c?m+c+"D":"")+(u||l||f?"T":"")+(u?v+u+"H":"")+(l?v+l+"M":"")+(f?v+f+"S":"")}var jr,Lr;Lr=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};var Pr=e.momentProperties=[],Ir=!1,Yr={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var Nr;Nr=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)f(t,e)&&n.push(e);return n};var Rr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Wr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Fr=/\d{1,2}/,Ur={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Hr={},Gr={},Vr=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Br=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,zr={},Zr={},qr=/\d/,Jr=/\d\d/,Kr=/\d{3}/,Qr=/\d{4}/,Xr=/[+-]?\d{6}/,to=/\d\d?/,eo=/\d\d\d\d?/,no=/\d\d\d\d\d\d?/,ro=/\d{1,3}/,oo=/\d{1,4}/,io=/[+-]?\d{1,6}/,ao=/\d+/,so=/[+-]?\d+/,co=/Z|[+-]\d\d:?\d\d/gi,uo=/Z|[+-]\d\d(?::?\d\d)?/gi,lo=/[+-]?\d+(\.\d{1,3})?/,fo=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,po={},ho={},mo=0,vo=1,go=2,yo=3,_o=4,bo=5,wo=6,xo=7,ko=8;H("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),H(0,["YY",2],0,function(){return this.year()%100}),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),Y("year","y"),W("year",1),Z("Y",so),Z("YY",to,Jr),Z("YYYY",oo,Qr),Z("YYYYY",io,Xr),Z("YYYYYY",io,Xr),Q(["YYYYY","YYYYYY"],mo),Q("YYYY",function(t,n){n[mo]=2===t.length?e.parseTwoDigitYear(t):x(t)}),Q("YY",function(t,n){n[mo]=e.parseTwoDigitYear(t)}),Q("Y",function(t,e){e[mo]=parseInt(t,10)}),e.parseTwoDigitYear=function(t){return x(t)+(x(t)>68?1900:2e3)};var So,Oo=ot("FullYear",!0);So=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},H("M",["MM",2],"Mo",function(){return this.month()+1}),H("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),H("MMMM",0,0,function(t){return this.localeData().months(this,t)}),Y("month","M"),W("month",8),Z("M",to),Z("MM",to,Jr),Z("MMM",function(t,e){return e.monthsShortRegex(t)}),Z("MMMM",function(t,e){return e.monthsRegex(t)}),Q(["M","MM"],function(t,e){e[vo]=x(t)-1}),Q(["MMM","MMMM"],function(t,e,n,r){var o=n._locale.monthsParse(t,r,n._strict);null!=o?e[vo]=o:m(n).invalidMonth=t});var To=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Mo="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Co="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Do=fo,$o=fo;H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),Y("week","w"),Y("isoWeek","W"),W("week",5),W("isoWeek",5),Z("w",to),Z("ww",to,Jr),Z("W",to),Z("WW",to,Jr),X(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=x(t)});var Ao={dow:0,doy:6};H("d",0,"do","day"),H("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),H("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),H("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),Y("day","d"),Y("weekday","e"),Y("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),Z("d",to),Z("e",to),Z("E",to),Z("dd",function(t,e){return e.weekdaysMinRegex(t)}),Z("ddd",function(t,e){return e.weekdaysShortRegex(t)}),Z("dddd",function(t,e){return e.weekdaysRegex(t)}),X(["dd","ddd","dddd"],function(t,e,n,r){var o=n._locale.weekdaysParse(t,r,n._strict);null!=o?e.d=o:m(n).invalidWeekday=t}),X(["d","e","E"],function(t,e,n,r){e[r]=x(t)});var Eo="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),jo="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Lo="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Po=fo,Io=fo,Yo=fo;H("H",["HH",2],0,"hour"),H("h",["hh",2],0,zt),H("k",["kk",2],0,Zt),H("hmm",0,0,function(){return""+zt.apply(this)+U(this.minutes(),2)}),H("hmmss",0,0,function(){return""+zt.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),H("Hmm",0,0,function(){return""+this.hours()+U(this.minutes(),2)}),H("Hmmss",0,0,function(){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)}),qt("a",!0),qt("A",!1),Y("hour","h"),W("hour",13),Z("a",Jt),Z("A",Jt),Z("H",to),Z("h",to),Z("k",to),Z("HH",to,Jr),Z("hh",to,Jr),Z("kk",to,Jr),Z("hmm",eo),Z("hmmss",no),Z("Hmm",eo),Z("Hmmss",no),Q(["H","HH"],yo),Q(["k","kk"],function(t,e,n){var r=x(t);e[yo]=24===r?0:r}),Q(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),Q(["h","hh"],function(t,e,n){e[yo]=x(t),m(n).bigHour=!0}),Q("hmm",function(t,e,n){var r=t.length-2;e[yo]=x(t.substr(0,r)),e[_o]=x(t.substr(r)),m(n).bigHour=!0}),Q("hmmss",function(t,e,n){var r=t.length-4,o=t.length-2;e[yo]=x(t.substr(0,r)),e[_o]=x(t.substr(r,2)),e[bo]=x(t.substr(o)),m(n).bigHour=!0}),Q("Hmm",function(t,e,n){var r=t.length-2;e[yo]=x(t.substr(0,r)),e[_o]=x(t.substr(r))}),Q("Hmmss",function(t,e,n){var r=t.length-4,o=t.length-2;e[yo]=x(t.substr(0,r)),e[_o]=x(t.substr(r,2)),e[bo]=x(t.substr(o))});var No,Ro=/[ap]\.?m?\.?/i,Wo=ot("Hours",!0),Fo={calendar:Rr,longDateFormat:Wr,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Fr,relativeTime:Ur,months:Mo,monthsShort:Co,week:Ao,weekdays:Eo,weekdaysMin:Lo,weekdaysShort:jo,meridiemParse:Ro},Uo={},Ho={},Go=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Vo=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Bo=/Z|[+-]\d\d(?::?\d\d)?/,zo=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Zo=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],qo=/^\/?Date\((\-?\d+)/i,Jo=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ko={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};e.createFromInputFallback=O("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var Qo=O("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ce.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:g()}),Xo=O("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ce.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:g()}),ti=function(){return Date.now?Date.now():+new Date},ei=["year","quarter","month","week","day","hour","minute","second","millisecond"];Ne("Z",":"),Ne("ZZ",""),Z("Z",uo),Z("ZZ",uo),Q(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Re(uo,t)});var ni=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var ri=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,oi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Xe.fn=Pe.prototype,Xe.invalid=Le;var ii=rn(1,"add"),ai=rn(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var si=O("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)}),ci=1e3,ui=60*ci,li=60*ui,fi=3506328*li;H(0,["gg",2],0,function(){return this.weekYear()%100}),H(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Un("gggg","weekYear"),Un("ggggg","weekYear"),Un("GGGG","isoWeekYear"),Un("GGGGG","isoWeekYear"),Y("weekYear","gg"),Y("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),Z("G",so),Z("g",so),Z("GG",to,Jr),Z("gg",to,Jr),Z("GGGG",oo,Qr),Z("gggg",oo,Qr),Z("GGGGG",io,Xr),Z("ggggg",io,Xr),X(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=x(t)}),X(["gg","GG"],function(t,n,r,o){n[o]=e.parseTwoDigitYear(t)}),H("Q",0,"Qo","quarter"),Y("quarter","Q"),W("quarter",7),Z("Q",qr),Q("Q",function(t,e){e[vo]=3*(x(t)-1)}),H("D",["DD",2],"Do","date"),Y("date","D"),W("date",9),Z("D",to),Z("DD",to,Jr),Z("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),Q(["D","DD"],go),Q("Do",function(t,e){e[go]=x(t.match(to)[0])});var di=ot("Date",!0);H("DDD",["DDDD",3],"DDDo","dayOfYear"),Y("dayOfYear","DDD"),W("dayOfYear",4),Z("DDD",ro),Z("DDDD",Kr),Q(["DDD","DDDD"],function(t,e,n){n._dayOfYear=x(t)}),H("m",["mm",2],0,"minute"),Y("minute","m"),W("minute",14),Z("m",to),Z("mm",to,Jr),Q(["m","mm"],_o);var pi=ot("Minutes",!1);H("s",["ss",2],0,"second"),Y("second","s"),W("second",15),Z("s",to),Z("ss",to,Jr),Q(["s","ss"],bo);var hi=ot("Seconds",!1);H("S",0,0,function(){return~~(this.millisecond()/100)}),H(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,function(){return 10*this.millisecond()}),H(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),H(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),H(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),H(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),H(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Y("millisecond","ms"),W("millisecond",16),Z("S",ro,qr),Z("SS",ro,Jr),Z("SSS",ro,Kr);var mi;for(mi="SSSS";mi.length<=9;mi+="S")Z(mi,ao);for(mi="S";mi.length<=9;mi+="S")Q(mi,Kn);var vi=ot("Milliseconds",!1);H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var gi=_.prototype;gi.add=ii,gi.calendar=sn,gi.clone=cn,gi.diff=mn,gi.endOf=An,gi.format=bn,gi.from=wn,gi.fromNow=xn,gi.to=kn,gi.toNow=Sn,gi.get=st,gi.invalidAt=Wn,gi.isAfter=un,gi.isBefore=ln,gi.isBetween=fn,gi.isSame=dn,gi.isSameOrAfter=pn,gi.isSameOrBefore=hn,gi.isValid=Nn,gi.lang=si,gi.locale=On,gi.localeData=Tn,gi.max=Xo,gi.min=Qo,gi.parsingFlags=Rn,gi.set=ct,gi.startOf=$n,gi.subtract=ai,gi.toArray=Pn,gi.toObject=In,gi.toDate=Ln,gi.toISOString=yn,gi.inspect=_n,gi.toJSON=Yn,gi.toString=gn,gi.unix=jn,gi.valueOf=En,gi.creationData=Fn,gi.year=Oo,gi.isLeapYear=rt,gi.weekYear=Hn,gi.isoWeekYear=Gn,gi.quarter=gi.quarters=qn,gi.month=vt,gi.daysInMonth=gt,gi.week=gi.weeks=$t,gi.isoWeek=gi.isoWeeks=At,gi.weeksInYear=Bn,gi.isoWeeksInYear=Vn,gi.date=di,gi.day=gi.days=Wt,gi.weekday=Ft,gi.isoWeekday=Ut,gi.dayOfYear=Jn,gi.hour=gi.hours=Wo,gi.minute=gi.minutes=pi,gi.second=gi.seconds=hi,gi.millisecond=gi.milliseconds=vi,gi.utcOffset=Ue,gi.utc=Ge,gi.local=Ve,gi.parseZone=Be,gi.hasAlignedHourOffset=ze,gi.isDST=Ze,gi.isLocal=Je,gi.isUtcOffset=Ke,gi.isUtc=Qe,gi.isUTC=Qe,gi.zoneAbbr=Qn,gi.zoneName=Xn,gi.dates=O("dates accessor is deprecated. Use date instead.",di),gi.months=O("months accessor is deprecated. Use month instead",vt),gi.years=O("years accessor is deprecated. Use year instead",Oo),gi.zone=O("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",He),gi.isDSTShifted=O("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",qe);var yi=$.prototype;yi.calendar=A,yi.longDateFormat=E,yi.invalidDate=j,yi.ordinal=L,yi.preparse=nr,yi.postformat=nr,yi.relativeTime=P,yi.pastFuture=I,yi.set=C,yi.months=ft,yi.monthsShort=dt,yi.monthsParse=ht,yi.monthsRegex=_t,yi.monthsShortRegex=yt,yi.week=Mt,yi.firstDayOfYear=Dt,yi.firstDayOfWeek=Ct,yi.weekdays=Pt,yi.weekdaysMin=Yt,yi.weekdaysShort=It,yi.weekdaysParse=Rt,yi.weekdaysRegex=Ht,yi.weekdaysShortRegex=Gt,yi.weekdaysMinRegex=Vt,yi.isPM=Kt,yi.meridiem=Qt,ne("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===x(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),e.lang=O("moment.lang is deprecated. Use moment.locale instead.",ne),e.langData=O("moment.langData is deprecated. Use moment.localeData instead.",ie);var _i=Math.abs,bi=wr("ms"),wi=wr("s"),xi=wr("m"),ki=wr("h"),Si=wr("d"),Oi=wr("w"),Ti=wr("M"),Mi=wr("Q"),Ci=wr("y"),Di=Sr("milliseconds"),$i=Sr("seconds"),Ai=Sr("minutes"),Ei=Sr("hours"),ji=Sr("days"),Li=Sr("months"),Pi=Sr("years"),Ii=Math.round,Yi={ss:44,s:45,m:45,h:22,d:26,M:11},Ni=Math.abs,Ri=Pe.prototype;return Ri.isValid=je,Ri.abs=fr,Ri.add=pr,Ri.subtract=hr,Ri.as=_r,Ri.asMilliseconds=bi,Ri.asSeconds=wi,Ri.asMinutes=xi,Ri.asHours=ki,Ri.asDays=Si,Ri.asWeeks=Oi,Ri.asMonths=Ti,Ri.asQuarters=Mi,Ri.asYears=Ci,Ri.valueOf=br,Ri._bubble=vr,Ri.clone=xr,Ri.get=kr,Ri.milliseconds=Di,Ri.seconds=$i,Ri.minutes=Ai,Ri.hours=Ei,Ri.days=ji,Ri.weeks=Or,Ri.months=Li,Ri.years=Pi,Ri.humanize=$r,Ri.toISOString=Er,Ri.toString=Er,Ri.toJSON=Er,Ri.locale=On,Ri.localeData=Tn,Ri.toIsoString=O("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Er),Ri.lang=si,H("X",0,0,"unix"),H("x",0,0,"valueOf"),Z("x",so),Z("X",lo),Q("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),Q("x",function(t,e,n){n._d=new Date(x(t))}),e.version="2.24.0",function(t){jr=t}(Ce),e.fn=gi,e.min=$e,e.max=Ae,e.now=ti,e.utc=p,e.unix=tr,e.months=ar,e.isDate=u,e.locale=ne,e.invalid=g,e.duration=Xe,e.isMoment=b,e.weekdays=cr,e.parseZone=er,e.localeData=ie,e.isDuration=Ie,e.monthsShort=sr,e.weekdaysMin=lr,e.defineLocale=re,e.updateLocale=oe,e.locales=ae,e.weekdaysShort=ur,e.normalizeUnits=N,e.relativeTimeRounding=Cr,e.relativeTimeThreshold=Dr,e.calendarFormat=an,e.prototype=gi,e.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},e})}),a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s={install:function(t,e){var n=e&&e.moment?e.moment:i;Object.defineProperties(t.prototype,{$moment:{get:function(){return n}}}),t.moment=n,t.filter("moment",function(){function t(){for(var e=arguments,r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=e[i];o=Array.prototype.slice.call(o);var s=o.shift();switch(s){case"add":for(var u=o.shift().split(",").map(Function.prototype.call,String.prototype.trim),l={},f=0;f<u.length;f++){var d=u[f].split(" ");l[d[1]]=d[0]}c.add(l);break;case"subtract":for(var p=o.shift().split(",").map(Function.prototype.call,String.prototype.trim),h={},m=0;m<p.length;m++){var v=p[m].split(" ");h[v[1]]=v[0]}c.subtract(h);break;case"from":var g="now",y=!1;"now"===o[0]&&o.shift(),n(o[0]).isValid()&&(g=n(o.shift())),!0===o[0]&&(o.shift(),y=!0),c="now"!==g?c.from(g,y):c.fromNow(y);break;case"diff":var _=n(),b="",w=!1;n(o[0]).isValid()?_=n(o.shift()):null!==o[0]&&"now"!==o[0]||o.shift(),o[0]&&(b=o.shift()),!0===o[0]&&(w=o.shift()),c=c.diff(_,b,w);break;case"calendar":var x=n(),k={};n(o[0]).isValid()?x=n(o.shift()):null!==o[0]&&"now"!==o[0]||o.shift(),"object"===a(o[0])&&(k=o.shift()),c=c.calendar(x,k);break;case"utc":c.utc();break;case"timezone":c.tz(o.shift());break;default:var S=s;c=c.format(S)}o.length&&t.apply(t,o)}for(var e=arguments,r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=e[i];o=Array.prototype.slice.call(o);var s=o.shift(),c=void 0;return c=Array.isArray(s)&&"string"==typeof s[0]?n(s[0],s[1],!0):"number"==typeof s&&s.toString().length<12?n.unix(s):n(s),s&&c.isValid()?(t.apply(t,o),c):(console.warn("Could not build a valid `moment` object from input."),s)}),t.filter("duration",function(){function t(t){Array.isArray(t)||(t=[t]);var e=n.duration.apply(n,r(t));return e.isValid()||console.warn("Could not build a valid `duration` object from input."),e}for(var e=arguments,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=e[a];i=Array.prototype.slice.call(i);var s=i.shift(),c=i.shift(),u=t(s);if("add"===c||"subtract"===c){var l=t(i);u[c](l)}else if(u&&u[c]){var f;u=(f=u)[c].apply(f,r(i))}return u})}},c=s.install;e.default=s,e.install=c,Object.defineProperty(e,"__esModule",{value:!0})})}).call(e,n(0))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default.component("notification",{template:"#opinionstage-notification",methods:{initiateUpdate:function(){this.$emit("update-btn-click")}}})},function(t,e,n){var r=n(30);"string"==typeof r&&(r=[[t.i,r,""]]);var o={};o.transform=void 0;n(4)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(3)(!1),e.push([t.i,'.opinionstage-content-popup-contents{min-width:960px}.opinionstage-content-popup-contents[data-opinionstage-client-logged-in=""]{max-width:680px;min-width:680px}.opinionstage-content-popup-contents[data-opinionstage-client-logged-in=""] .main-title{font-size:20px}.opinionstage-content-popup-contents[data-opinionstage-client-logged-in=""] .page-content{margin:0 auto;padding:40px 30px}.opinionstage-content-popup-contents[data-opinionstage-client-logged-in=""] .page-content #os-start-login{margin-top:30px}.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;width:100%;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{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;position:relative;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__info-title{font-weight:600}.opinionstage-content-popup-contents .content__info .opinionstage-draft{color:#f46368;text-transform:capitalize;font-size:80%}.opinionstage-content-popup-contents .content__info .icon-os-status-open{color:#3aaebd}.opinionstage-content-popup-contents .content__info .icon-os-status-closed{color:#f46368}.opinionstage-content-popup-contents .opinionstage-with-separator:before{content:"";margin:0 10px;height:100%;border-left:1px solid #b1b1b1}.opinionstage-content-popup-contents .content__info-details{position:absolute;bottom:0;font-size:13px;color:#b1b1b1}.opinionstage-content-popup-contents .content__info-details span{color:#b1b1b1}.opinionstage-content-popup-contents .content__links{background:none;display:inline-block;float:right;text-align:right;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 .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-radius:5px;color:#fff;cursor:pointer;display:inline-block;font:27px/48px Open Sans,Helvetica,sans-serif;margin-left:20px;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:#38aebd;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:#38aebd;border-radius:3px;border-style:hidden;width:95px;margin-right:15px}.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:"\\E958";-webkit-transform:rotate(-90deg);transform:rotate(-90deg);display:block;font-family:os-icon-plugin-plugin-font;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:"";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:"\\E958";-webkit-transform:rotate(-90deg);transform:rotate(-90deg);display:block;font-family:os-icon-plugin-plugin-font;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}.opinionstage-content-popup-contents .opinionstage-anchors-list .filter__itm{padding:0}.opinionstage-content-popup-contents .opinionstage-anchors-list .filter__itm:hover a{color:#fff}.opinionstage-content-popup-contents .opinionstage-anchors-list a{padding:5px 10px 5px 20px;display:block;text-decoration:none;width:100%}.opinionstage-content-popup-contents .selected-draft__container{position:absolute;left:0;top:0;height:100%;width:100%;background-color:rgba(0,0,0,.8);z-index:9999}.opinionstage-content-popup-contents .selected-draft__container>div{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border-radius:6px;overflow:hidden;background-color:#fff;padding:25px 35px}.opinionstage-content-popup-contents .selected-draft__message{background-color:#f5f5f5;width:650px;padding:25px 35px;margin-top:20px}.opinionstage-content-popup-contents .selected-draft__message p{font-size:16px}.opinionstage-content-popup-contents .selected-draft__message a{color:#32adbc}.opinionstage-content-popup-contents .opinionstage-close{position:absolute;right:16px;top:12px;width:20px;height:20px;cursor:pointer}.opinionstage-content-popup-contents .opinionstage-close:after,.opinionstage-content-popup-contents .opinionstage-close:before{position:absolute;left:15px;content:" ";height:17px;width:2px;background-color:#b1b1b1}.opinionstage-content-popup-contents .opinionstage-close:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.opinionstage-content-popup-contents .opinionstage-close:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}',""])}]);
|
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=12)}([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 d(t){return r(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function p(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 m(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 v(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function g(t,e){return Ci.call(t,e)}function y(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function _(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 b(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 S(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(t,e){for(var n=0;n<t.length;n++)if(O(t[n],e))return n;return-1}function M(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function C(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function D(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 $(t){return"function"==typeof t&&/native code/.test(t.toString())}function E(t){la.push(t),ua.target=t}function j(){la.pop(),ua.target=la[la.length-1]}function L(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 I(t){ga=t}function Y(t,e){t.__proto__=e}function N(t,e,n){for(var o=0,r=n.length;o<r;o++){var i=n[o];D(t,i,e[i])}}function W(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&&W(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&&W(e),i.notify())}})}}function F(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 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 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 G(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)&&G(o,r):F(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?G(o,r):r}:e?t?function(){return G("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function B(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?z(n):n}function z(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function Z(t,e,n,o){var r=Object.create(t||null);return e?x(r,e):r}function q(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 J(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 K(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=_a[o]||wa;s[o]=r(t[o],e[o],n,o)}if("function"==typeof e&&(e=e.options),q(e,n),J(e,n),K(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=$i(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===ji(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;I(!0),W(a),I(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){E();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{j()}}function at(t,e,n,o,r){var i;try{i=n?t.apply(e,n):t.call(e),i&&!i._isVue&&d(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(!Gi&&!Vi||"undefined"==typeof console)throw t;console.error(t)}function ut(){Sa=!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)}),Sa||(Sa=!0,ba()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){n=t})}function ft(t){dt(t,Da),Da.clear()}function dt(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--;)dt(t[n],e);else for(o=Object.keys(t),n=o.length;n--;)dt(t[o[n]],e)}}function pt(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]=pt(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 mt(t,e,n){function a(){n.apply(this,arguments),v(s.fns,a)}t instanceof fa&&(t=t.data.hook||(t.data.hook={}));var s,c=t[e];o(c)?s=pt([a]):r(c.fns)&&i(c.merged)?(s=c,s.fns.push(a)):s=pt([c,a]),s.merged=!0,t[e]=s}function vt(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=ji(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 _t(t){return s(t)?[L(t)]:Array.isArray(t)?wt(t):void 0}function bt(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),bt(a[0])&&bt(u)&&(l[c]=L(u.text+a[0].text),a.shift()),l.push.apply(l,a)):s(a)?bt(u)?l[c]=L(u.text+a):""!==a&&l.push(L(a)):bt(a)&&bt(u)?l[c]=L(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=St(t.$options.inject,t);e&&(I(!1),Object.keys(e).forEach(function(n){R(t,n,e[n])}),I(!0))}function St(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(Tt)&&delete n[u];return n}function Tt(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Mt(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!==Si&&a===n.$key&&!r&&!n.$hasNormal)return n;o={};for(var s in t)t[s]&&"$"!==s[0]&&(o[s]=Ct(e,s,t[s]))}else o={};for(var c in e)c in o||(o[c]=Dt(e,c));return t&&Object.isExtensible(t)&&(t._normalized=o),D(o,"$stable",i),D(o,"$key",a),D(o,"$hasNormal",r),o}function Ct(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]:_t(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 Dt(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 $t(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 Et(t){return X(this.$options,"filters",t,!0)||Ii}function jt(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function Lt(t,e,n,o,r){var i=Ri.keyCodes[e]||n;return r&&o&&!Ri.keyCodes[e]?jt(r,o):i?jt(i,t):o?ji(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||Mi(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=Ai(a),u=ji(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 It(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),Nt(o,"__static__"+t,!1),o)}function Yt(t,e,n){return Nt(t,"__once__"+e+(n?"_"+n:""),!0),t}function Nt(t,e,n){if(Array.isArray(t))for(var o=0;o<t.length;o++)t[o]&&"string"!=typeof t[o]&&Wt(t[o],e+"_"+o,n);else Wt(t,e,n)}function Wt(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 Ft(t,e,n,o){e=e||{$stable:!n};for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?Ft(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 Ht(t,e){return"string"==typeof t?e+t:t}function Gt(t){t._o=Yt,t._n=h,t._s=p,t._l=At,t._t=$t,t._q=O,t._i=T,t._m=It,t._f=Et,t._k=Lt,t._b=Pt,t._v=L,t._e=pa,t._u=Ft,t._g=Rt,t._d=Ut,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||Si,this.injections=St(c.inject,o),this.slots=function(){return s.$slots||Mt(t.scopedSlots,s.$slots=Ot(n,o)),s.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Mt(t.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=Mt(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 Bt(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||Si);else r(n.attrs)&&Zt(s,n.attrs),r(n.props)&&Zt(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 zt(f,n,l.parent,a,l);if(Array.isArray(f)){for(var d=_t(f)||[],p=new Array(d.length),h=0;h<d.length;h++)p[h]=zt(d[h],n,l.parent,a,l);return p}}function zt(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 Zt(t,e){for(var n in e)t[Ai(n)]=e[n]}function qt(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=vt(e,t,s);if(i(t.options.functional))return Bt(t,f,e,n,a);var d=e.on;if(e.on=e.nativeOn,i(t.options.abstract)){var p=e.slot;e={},p&&(e.slot=p)}Kt(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:d,tag:s,children:a},l)}}}function Jt(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 Kt(t){for(var e=t.hook||(t.hook={}),n=0;n<ja.length;n++){var o=ja[n],r=e[o],i=Ea[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 pa();if(r(n)&&r(n.is)&&(e=n.is),!e)return pa();Array.isArray(o)&&"function"==typeof o[0]&&(n=n||{},n.scopedSlots={default:o[0]},o.length=0),i===Pa?o=_t(o):i===La&&(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=X(t.$options,"components",e))?new fa(e,n,o,void 0,void 0,t):qt(c,n,t,o,e)}else a=qt(e,n,t,o);return Array.isArray(a)?a:r(a)?(r(s)&&ne(a,s),r(n)&&oe(n),a):pa()}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=Si,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||Si,null,!0),R(t,"$listeners",e._parentListeners||Si,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=pa();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=Ia;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 v(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))},p=M(function(n){t.resolved=ie(n,e),s?a.length=0:f(!0)}),h=M(function(e){r(t.errorComp)&&(t.error=!0,f(!0))}),m=t(p,h);return c(m)&&(d(m)?o(t.resolved)&&m.then(p,h):d(m.component)&&(m.component.then(p,h),r(m.error)&&(t.errorComp=ie(m.error,e)),r(m.loading)&&(t.loadingComp=ie(m.loading,e),0===m.delay?t.loading=!0:u=setTimeout(function(){u=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,f(!1))},m.delay||200)),r(m.timeout)&&(l=setTimeout(function(){l=null,o(t.resolved)&&h(null)},m.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){$a.$on(t,e)}function de(t,e){$a.$off(t,e)}function pe(t,e){var n=$a;return function o(){null!==e.apply(null,arguments)&&n.$off(t,o)}}function he(t,e,n){$a=t,ht(e,n||{},fe,de,pe,t),$a=void 0}function me(t){var e=Ya;return Ya=t,function(){Ya=e}}function ve(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=pa),xe(t,"beforeMount");var o;return o=function(){t._update(t._render(),n)},new Za(t,o,S,{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!==Si&&!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||Si,t.$listeners=n||Si,e&&t.$options.props){I(!1);for(var u=t._props,l=t.$options._propKeys||[],f=0;f<l.length;f++){var d=l[f],p=t.$options.props;u[d]=tt(d,p,e,t)}I(!0),t.$options.propsData=e}n=n||Si;var h=t.$options._parentListeners;t.$options._parentListeners=n,he(t,n,h),c&&(t.$slots=Ot(r,o.context),t.$forceUpdate())}function _e(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function be(t,e){if(e){if(t._directInactive=!1,_e(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++)be(t.$children[n]);xe(t,"activated")}}function we(t,e){if(!(e&&(t._directInactive=!0,_e(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){E();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),j()}function ke(){Ha=Na.length=Wa.length=0,Ra={},Fa=Ua=!1}function Se(){Ga=Va(),Ua=!0;var t,e;for(Na.sort(function(t,e){return t.id-e.id}),Ha=0;Ha<Na.length;Ha++)t=Na[Ha],t.before&&t.before(),e=t.id,Ra[e]=null,t.run();var n=Wa.slice(),o=Na.slice();ke(),Me(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 Te(t){t._inactive=!1,Wa.push(t)}function Me(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,be(t[e],!0)}function Ce(t){var e=t.id;if(null==Ra[e]){if(Ra[e]=!0,Ua){for(var n=Na.length-1;n>Ha&&Na[n].id>t.id;)n--;Na.splice(n+1,0,t)}else Na.push(t);Fa||(Fa=!0,lt(Se))}}function De(t,e,n){qa.get=function(){return this[e][n]},qa.set=function(t){this[e][n]=t},Object.defineProperty(t,n,qa)}function Ae(t){t._watchers=[];var e=t.$options;e.props&&$e(t,e.props),e.methods&&Ne(t,e.methods),e.data?Ee(t):W(t._data={},!0),e.computed&&Le(t,e.computed),e.watch&&e.watch!==Xi&&We(t,e.watch)}function $e(t,e){var n=t.$options.propsData||{},o=t._props={},r=t.$options._propKeys=[],i=!t.$parent;i||I(!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||De(t,"_props",i)}(a);I(!0)}function Ee(t){var e=t.$options.data;e=t._data="function"==typeof e?je(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)||C(i)||De(t,"_data",i)}W(e,!0)}function je(t,e){E();try{return t.call(e,e)}catch(t){return it(t,e,"data()"),{}}finally{j()}}function Le(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 Za(t,a||S,S,Ja)),r in t||Pe(t,r,i)}}function Pe(t,e,n){var o=!ra();"function"==typeof n?(qa.get=o?Ie(e):Ye(n),qa.set=S):(qa.get=n.get?o&&!1!==n.cache?Ie(e):Ye(n.get):S,qa.set=n.set||S),Object.defineProperty(t,e,qa)}function Ie(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ua.target&&e.depend(),e.value}}function Ye(t){return function(){return t.call(this,this)}}function Ne(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?S:Li(e[n],t)}function We(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 Fe(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=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 Ge(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 Be(t){t.mixin=function(t){return this.options=Q(this.options,t),this}}function ze(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&&Ze(a),a.options.computed&&qe(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Ni.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 Ze(t){var e=t.options.props;for(var n in e)De(t.prototype,"_props",n)}function qe(t){var e=t.options.computed;for(var n in e)Pe(t.prototype,n,e[n])}function Je(t){Ni.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 Ke(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=Ke(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,v(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 Ss(t)?"svg":"math"===t?"math":void 0}function ln(t){if(!Gi)return!0;if(Ts(t))return!1;if(t=t.toLowerCase(),null!=Ms[t])return Ms[t];var e=document.createElement(t);return t.indexOf("-")>-1?Ms[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Ms[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 dn(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 pn(t,e){return document.createElementNS(xs[t],e)}function hn(t){return document.createTextNode(t)}function mn(t){return document.createComment(t)}function vn(t,e,n){t.insertBefore(e,n)}function gn(t,e){t.removeChild(e)}function yn(t,e){t.appendChild(e)}function _n(t){return t.parentNode}function bn(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 Sn(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])?v(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)&&Tn(t,e)||i(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&o(e.asyncFactory.error))}function Tn(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||Cs(o)&&Cs(i)}function Mn(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 Cn(t,e){(t.data.directives||e.data.directives)&&Dn(t,e)}function Dn(t,e){var n,o,r,i=t===$s,a=e===$s,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,En(r,"update",e,t),r.def&&r.def.componentUpdated&&l.push(r)):(En(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++)En(u[n],"inserted",e,t)};i?mt(e,"insert",f):f()}if(l.length&&mt(e,"postpatch",function(){for(var n=0;n<l.length;n++)En(l[n],"componentUpdated",e,t)}),!i)for(n in s)c[n]||En(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=Ls),n[$n(r)]=r,r.def=X(e.$options,"directives",r.name,!0);return n}function $n(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function En(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 jn(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&&Ln(s,i,a);(Zi||Ji)&&u.value!==c.value&&Ln(s,"value",u.value);for(i in c)o(u[i])&&(_s(i)?s.removeAttributeNS(ys,bs(i)):hs(i)||s.removeAttribute(i))}}function Ln(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,vs(e,n)):_s(e)?ws(n)?t.removeAttributeNS(ys,bs(e)):t.setAttributeNS(ys,e,n):Pn(t,e,n)}function Pn(t,e,n){if(ws(n))t.removeAttribute(e);else{if(Zi&&!qi&&"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 In(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 Yn(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,d=0,p=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||d||p){switch(n){case 34:c=!0;break;case 39:s=!0;break;case 96:u=!0;break;case 40:p++;break;case 41:p--;break;case 91:d++;break;case 93:d--;break;case 123:f++;break;case 125:f--}if(47===n){for(var m=r-1,v=void 0;m>=0&&" "===(v=t.charAt(m));m--);v&&Ns.test(v)||(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=Nn(i,a[r]);return i}function Nn(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 Wn(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 Fn(t,e,n,o,r){(t.props||(t.props=[])).push(Kn({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(Kn({name:e,value:n,dynamic:r},o)),t.plain=!1}function Hn(t,e,n,o){t.attrsMap[e]=n,t.attrsList.push(Kn({name:e,value:n},o))}function Gn(t,e,n,o,r,i,a,s){(t.directives||(t.directives=[])).push(Kn({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 Bn(t,e,n,o,r,i,a,s){o=o||Si,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=Kn({value:n.trim(),dynamic:s},a);o!==Si&&(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 zn(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}function Zn(t,e,n){var o=qn(t,":"+e)||qn(t,"v-bind:"+e);if(null!=o)return Yn(o);if(!1!==n){var r=qn(t,e);if(null!=r)return JSON.stringify(r)}}function qn(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 Jn(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 Kn(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(!Ri.isReservedTag(i))return Qn(t,o,r),!1;return!0}function so(t,e,n){var o=n&&n.number,r=Zn(t,"value")||"null",i=Zn(t,"true-value")||"true",a=Zn(t,"false-value")||"false";Fn(t,"checked","Array.isArray("+e+")?_i("+e+","+r+")>-1"+("true"===i?":("+e+")":":_q("+e+","+i+")")),Bn(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=Zn(t,"value")||"null";r=o?"_n("+r+")":r,Fn(t,"checked","_q("+e+","+r+")"),Bn(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]"),Bn(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?Ws:"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),Fn(t,"value","("+e+")"),Bn(t,u,f,null,!0),(s||a)&&Bn(t,"blur","$forceUpdate()")}function fo(t){if(r(t[Ws])){var e=Zi?"change":"input";t[e]=[].concat(t[Ws],t[e]||[]),delete t[Ws]}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)&&mo(t,r,n,o)}}function ho(t,e,n,o){if(Fs){var r=Ga,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 mo(t,e,n,o){(o||cs).removeEventListener(t,e._wrapper||e,n)}function vo(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,mo,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&&Ss(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||_o(t,e)||bo(t,e))}function _o(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}function bo(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?Gs(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 So(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,d=xo(e.data.style)||{};e.data.normalizedStyle=r(d.__ob__)?x({},d):d;var p=ko(e,!0);for(s in f)o(p[s])&&zs(c,s,"");for(s in p)(a=p[s])!==f[s]&&zs(c,s,null==a?"":a)}}function Oo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ks).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 To(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ks).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 Mo(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 Co(t){ac(function(){ac(t)})}function Do(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Oo(t,e))}function Ao(t,e){t._transitionClasses&&v(t._transitionClasses,e),To(t,e)}function $o(t,e,n){var o=Eo(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 Eo(t,e){var n,o=window.getComputedStyle(t),r=(o[nc+"Delay"]||"").split(", "),i=(o[nc+"Duration"]||"").split(", "),a=jo(r,i),s=(o[rc+"Delay"]||"").split(", "),c=(o[rc+"Duration"]||"").split(", "),u=jo(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 jo(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return Lo(e)+Lo(t[n])}))}function Lo(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=Mo(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,d=i.appearClass,p=i.appearToClass,m=i.appearActiveClass,v=i.beforeEnter,g=i.enter,y=i.afterEnter,_=i.enterCancelled,b=i.beforeAppear,w=i.appear,x=i.afterAppear,k=i.appearCancelled,S=i.duration,O=Ya,T=Ya.$vnode;T&&T.parent;)O=T.context,T=T.parent;var C=!O._isMounted||!t.isRootInsert;if(!C||w||""===w){var D=C&&d?d:u,A=C&&m?m:f,$=C&&p?p:l,E=C?b||v:v,j=C&&"function"==typeof w?w:g,L=C?x||y:y,P=C?k||_:_,I=h(c(S)?S.enter:S),Y=!1!==a&&!qi,N=No(j),W=n._enterCb=M(function(){Y&&(Ao(n,$),Ao(n,A)),W.cancelled?(Y&&Ao(n,D),P&&P(n)):L&&L(n),n._enterCb=null});t.data.show||mt(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(),j&&j(n,W)}),E&&E(n),Y&&(Do(n,D),Do(n,A),Co(function(){Ao(n,D),W.cancelled||(Do(n,$),N||(Yo(I)?setTimeout(W,I):$o(n,s,W)))})),t.data.show&&(e&&e(),j&&j(n,W)),Y||N||W()}}}function Io(t,e){function n(){k.cancelled||(!t.data.show&&i.parentNode&&((i.parentNode._pending||(i.parentNode._pending={}))[t.key]=t),p&&p(i),b&&(Do(i,l),Do(i,d),Co(function(){Ao(i,l),k.cancelled||(Do(i,f),w||(Yo(x)?setTimeout(k,x):$o(i,u,k)))})),m&&m(i,k),b||w||k())}var i=t.elm;r(i._enterCb)&&(i._enterCb.cancelled=!0,i._enterCb());var a=Mo(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,d=a.leaveActiveClass,p=a.beforeLeave,m=a.leave,v=a.afterLeave,g=a.leaveCancelled,y=a.delayLeave,_=a.duration,b=!1!==s&&!qi,w=No(m),x=h(c(_)?_.leave:_),k=i._leaveCb=M(function(){i.parentNode&&i.parentNode._pending&&(i.parentNode._pending[t.key]=null),b&&(Ao(i,f),Ao(i,d)),k.cancelled?(b&&Ao(i,l),g&&g(i)):(e(),v&&v(i)),i._leaveCb=null});y?y(n):n()}}function Yo(t){return"number"==typeof t&&!isNaN(t)}function No(t){if(o(t))return!1;var e=t.fns;return r(e)?No(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Wo(t,e){!0!==e.data.show&&Po(e)}function Ro(t,e,n){Fo(t,e,n),(Zi||Ji)&&setTimeout(function(){Fo(t,e,n)},0)}function Fo(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=T(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 Uo(t,e){return e.every(function(e){return!O(e,t)})}function Ho(t){return"_value"in t?t._value:t.value}function Go(t){t.target.composing=!0}function Vo(t){t.target.composing&&(t.target.composing=!1,Bo(t.target,"input"))}function Bo(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function zo(t){return!t.componentInstance||t.data&&t.data.transition?t:zo(t.componentInstance._vnode)}function Zo(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Zo(ue(e.children)):t}function qo(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 Jo(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Ko(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?Yc(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=Yn(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,qn(t,"class"));n&&(t.staticClass=JSON.stringify(n));var o=Zn(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,qn(t,"style"));if(n){t.staticStyle=JSON.stringify(Gs(n))}var o=Zn(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,d=i.toLowerCase(),p=eu[d]||(eu[d]=new RegExp("([\\s\\S]*?)(</"+d+"[^>]*>)","i")),h=t.replace(p,function(t,n,o){return f=o.length,tu(d)||"noscript"===d||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),au(d,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});l+=t.length-h.length,t=h,o(d,l-f,l)}else{var m=t.indexOf("<");if(0===m){if(Qc.test(t)){var v=t.indexOf("--\x3e");if(v>=0){e.shouldKeepComment&&e.comment(t.substring(4,v),l,l+v+3),n(v+3);continue}}if(Xc.test(t)){var g=t.indexOf("]>");if(g>=0){n(g+2);continue}}var y=t.match(Kc);if(y){n(y[0].length);continue}var _=t.match(Jc);if(_){var b=l;n(_[0].length),o(_[1],b,l);continue}var w=function(){var e=t.match(Zc);if(e){var o={tagName:e[1],attrs:[],start:l};n(e[0].length);for(var r,i;!(r=t.match(qc))&&(i=t.match(Vc)||t.match(Gc));)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,d=new Array(f),p=0;p<f;p++){var h=t.attrs[p],m=h[3]||h[4]||h[5]||"",v="a"===n&&"href"===h[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;d[p]={name:h[1],value:sr(m,v)}}l||(a.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:d,start:t.start,end:t.end}),i=n),e.start&&e.start(n,d,l,t.start,t.end)}(w),au(w.tagName,t)&&n(1);continue}}var x=void 0,k=void 0,S=void 0;if(m>=0){for(k=t.slice(m);!(Jc.test(k)||Zc.test(k)||Qc.test(k)||Xc.test(k)||(S=k.indexOf("<",1))<0);)m+=S,k=t.slice(m);x=t.substring(0,m)}m<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=pr(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)_r(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),Cc(t.tag)&&(f=!1);for(var r=0;r<Mc.length;r++)Mc[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||Wn,Cc=e.isPreTag||Pi,Dc=e.mustUseProp||Pi,Ac=e.getTagNamespace||Pi;var r=e.isReservedTag||Pi;$c=function(t){return!!t.component||!r(t.tag)},Oc=Rn(e.modules,"transformNode"),Tc=Rn(e.modules,"preTransformNode"),Mc=Rn(e.modules,"postTransformNode"),Sc=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 d=a&&a.ns||Ac(t);Zi&&"svg"===d&&(o=jr(o));var p=ur(t,o,a);d&&(p.ns=d),Er(p)&&!ra()&&(p.forbidden=!0);for(var h=0;h<Tc.length;h++)p=Tc[h](p,e)||p;l||(fr(p),p.pre&&(l=!0)),Cc(p.tag)&&(f=!0),l?dr(p):p.processed||(vr(p),yr(p),xr(p)),i||(i=p),r?n(p):(a=p,s.push(p))},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&&(!Zi||"textarea"!==a.tag||a.attrsMap.placeholder!==t)){var o=a.children;if(t=f||t.trim()?$r(a)?t:_u(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,Sc))?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!=qn(t,"v-pre")&&(t.pre=!0)}function dr(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 pr(t,e){hr(t),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,mr(t),kr(t),Or(t),Tr(t);for(var n=0;n<Oc.length;n++)t=Oc[n](t,e)||t;return Mr(t),t}function hr(t){var e=Zn(t,"key");if(e){t.key=e}}function mr(t){var e=Zn(t,"ref");e&&(t.ref=e,t.refInFor=Cr(t))}function vr(t){var e;if(e=qn(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=qn(t,"v-if");if(e)t.if=e,wr(t,{exp:e,block:t});else{null!=qn(t,"v-else")&&(t.else=!0);var n=qn(t,"v-else-if");n&&(t.elseif=n)}}function _r(t,e){var n=br(e.children);n&&n.if&&wr(n,{exp:t.elseif,block:t})}function br(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!=qn(t,"v-once")&&(t.once=!0)}function kr(t){var e;"template"===t.tag?(e=qn(t,"scope"),t.slotScope=e||qn(t,"slot-scope")):(e=qn(t,"slot-scope"))&&(t.slotScope=e);var n=Zn(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,zn(t,"slot"))),"template"===t.tag){var o=Jn(t,vu);if(o){var r=Sr(o),i=r.name,a=r.dynamic;t.slotTarget=i,t.slotTargetDynamic=a,t.slotScope=o.value||bu}}else{var s=Jn(t,vu);if(s){var c=t.scopedSlots||(t.scopedSlots={}),u=Sr(s),l=u.name,f=u.dynamic,d=c[l]=ur("template",[],t);d.slotTarget=l,d.slotTargetDynamic=f,d.children=t.children.filter(function(t){if(!t.slotScope)return t.parent=d,!0}),d.slotScope=s.value||bu,t.children=[],t.plain=!1}}}function Sr(t){var e=t.name.replace(vu,"");return e||"#"!==t.name[0]&&(e="default"),du.test(e)?{name:e.slice(1,-1),dynamic:!0}:{name:'"'+e+'"',dynamic:!1}}function Or(t){"slot"===t.tag&&(t.slotName=Zn(t,"name"))}function Tr(t){var e;(e=Zn(t,"is"))&&(t.component=e),null!=qn(t,"inline-template")&&(t.inlineTemplate=!0)}function Mr(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=Dr(o.replace(cu,"")),a&&(o=o.replace(mu,"")),hu.test(o))o=o.replace(hu,""),i=Yn(i),c=du.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?Bn(t,'"update:"+('+o+")",s,null,!1,kc,u[e],!0):(Bn(t,"update:"+Ai(o),s,null,!1,kc,u[e]),ji(o)!==Ai(o)&&Bn(t,"update:"+ji(o),s,null,!1,kc,u[e])))),a&&a.prop||!t.component&&Dc(t.tag,t.attrsMap.type,o)?Fn(t,o,i,u[e],c):Un(t,o,i,u[e],c);else if(su.test(o))o=o.replace(su,""),c=du.test(o),c&&(o=o.slice(1,-1)),Bn(t,o,i,a,!1,kc,u[e],c);else{o=o.replace(cu,"");var l=o.match(pu),f=l&&l[1];c=!1,f&&(o=o.slice(0,-(f.length+1)),du.test(f)&&(f=f.slice(1,-1),c=!0)),Gn(t,o,r,i,f,c,a,u[e])}else{Un(t,o,JSON.stringify(i),u[e]),!t.component&&"muted"===o&&Dc(t.tag,t.attrsMap.type,o)&&Fn(t,o,"true",u[e])}}function Cr(t){for(var e=t;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}function Dr(t){var e=t.match(mu);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 $r(t){return"script"===t.tag||"style"===t.tag}function Er(t){return"style"===t.tag||"script"===t.tag&&(!t.attrsMap.type||"text/javascript"===t.attrsMap.type)}function jr(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 Lr(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=Zn(t,"type")),n.type||o||!n["v-bind"]||(o="("+n["v-bind"]+").type"),o){var r=qn(t,"v-if",!0),i=r?"&&("+r+")":"",a=null!=qn(t,"v-else",!0),s=qn(t,"v-else-if",!0),c=Pr(t);vr(c),Hn(c,"type","checkbox"),pr(c,e),c.processed=!0,c.if="("+o+")==='checkbox'"+i,wr(c,{exp:c.if,block:c});var u=Pr(t);qn(u,"v-for",!0),Hn(u,"type","radio"),pr(u,e),wr(c,{exp:"("+o+")==='radio'"+i,block:u});var l=Pr(t);return qn(l,"v-for",!0),Hn(l,":type",o),pr(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 Ir(t,e){e.value&&Fn(t,"textContent","_s("+e.value+")",e)}function Yr(t,e){e.value&&Fn(t,"innerHTML","_s("+e.value+")",e)}function Nr(t,e){t&&(Ec=Mu(e.staticKeys||""),jc=e.isReservedTag||Pi,Rr(t),Fr(t,!1))}function Wr(t){return m("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}function Rr(t){if(t.static=Ur(t),1===t.type){if(!jc(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 Fr(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++)Fr(t.children[n],e||!!t.for);if(t.ifConditions)for(var r=1,i=t.ifConditions.length;r<i;r++)Fr(t.ifConditions[r].block,e)}}function Ur(t){return 2!==t.type&&(3===t.type||!(!t.pre&&(t.hasBindings||t.if||t.for||Ti(t.tag)||!jc(t.tag)||Hr(t)||!Object.keys(t).every(Ec))))}function Hr(t){for(;t.parent;){if(t=t.parent,"template"!==t.tag)return!1;if(t.for)return!0}return!1}function Gr(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=Au.test(t.value),n=Cu.test(t.value),o=Au.test(t.value.replace(Du,""));if(t.modifiers){var r="",i="",a=[];for(var s in t.modifiers)if(Lu[s])i+=Lu[s],$u[s]&&a.push(s);else if("exact"===s){var c=t.modifiers;i+=ju(["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+=Br(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 Br(t){return"if(!$event.type.indexOf('key')&&"+t.map(zr).join("&&")+")return null;"}function zr(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=$u[t],o=Eu[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(o)+")"}function Zr(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}}function qr(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 Jr(t,e){var n=new Iu(e);return{render:"with(this){return "+(t?Kr(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Kr(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 vi(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 "+Kr(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("+Kr(t,e)+","+e.onceId+++","+n+")":Kr(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):Kr(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||Kr)(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+=Gr(t.events,!1)+","),t.nativeEvents&&(n+=Gr(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=Jr(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!==bu||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===bu?"":String(t.slotScope),r="function("+o+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(li(t,e)||"undefined")+":undefined":li(t,e)||"undefined":Kr(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||Kr)(a,e)+s}var c=n?fi(i,e.maybeComponent):0,u=r||pi;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(di(r)||r.ifConditions&&r.ifConditions.some(function(t){return di(t.block)})){n=2;break}(e(r)||r.ifConditions&&r.ifConditions.some(function(t){return e(t.block)}))&&(n=1)}}return n}function di(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function pi(t,e){return 1===t.type?Kr(t,e):3===t.type&&t.isComment?mi(t):hi(t)}function hi(t){return"_v("+(2===t.type?t.expression:_i(JSON.stringify(t.text)))+")"}function mi(t){return"_e("+JSON.stringify(t.text)+")"}function vi(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=_i(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 _i(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function bi(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),S}}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=bi(a.render,c),s.staticRenderFns=a.staticRenderFns.map(function(t){return bi(t,c)}),e[i]=s}}function xi(t){return Lc=Lc||document.createElement("div"),Lc.innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',Lc.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 Si=Object.freeze({}),Oi=Object.prototype.toString,Ti=m("slot,component",!0),Mi=m("key,ref,slot,slot-scope,is"),Ci=Object.prototype.hasOwnProperty,Di=/-(\w)/g,Ai=y(function(t){return t.replace(Di,function(t,e){return e?e.toUpperCase():""})}),$i=y(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),Ei=/\B([A-Z])/g,ji=y(function(t){return t.replace(Ei,"-$1").toLowerCase()}),Li=Function.prototype.bind?b:_,Pi=function(t,e,n){return!1},Ii=function(t){return t},Yi="data-server-rendered",Ni=["component","directive","filter"],Wi=["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:Pi,isReservedAttr:Pi,isUnknownElement:Pi,getTagNamespace:S,parsePlatformTagName:Ii,mustUseProp:Pi,async:!0,_lifecycleHooks:Wi},Fi=/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("[^"+Fi.source+".$_\\d]"),Hi="__proto__"in{},Gi="undefined"!=typeof window,Vi="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Bi=Vi&&WXEnvironment.platform.toLowerCase(),zi=Gi&&window.navigator.userAgent.toLowerCase(),Zi=zi&&/msie|trident/.test(zi),qi=zi&&zi.indexOf("msie 9.0")>0,Ji=zi&&zi.indexOf("edge/")>0,Ki=(zi&&zi.indexOf("android"),zi&&/iphone|ipad|ipod|ios/.test(zi)||"ios"===Bi),Qi=(zi&&/chrome\/\d+/.test(zi),zi&&/phantomjs/.test(zi),zi&&zi.match(/firefox\/(\d+)/)),Xi={}.watch,ta=!1;if(Gi)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=!Gi&&!Vi&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),na},ia=Gi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,aa="undefined"!=typeof Symbol&&$(Symbol)&&"undefined"!=typeof Reflect&&$(Reflect.ownKeys);oa="undefined"!=typeof Set&&$(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=S,ca=0,ua=function(){this.id=ca++,this.subs=[]};ua.prototype.addSub=function(t){this.subs.push(t)},ua.prototype.removeSub=function(t){v(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},da={child:{configurable:!0}};da.child.get=function(){return this.componentInstance},Object.defineProperties(fa.prototype,da);var pa=function(t){void 0===t&&(t="");var e=new fa;return e.text=t,e.isComment=!0,e},ha=Array.prototype,ma=Object.create(ha);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=ha[t];D(ma,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 va=Object.getOwnPropertyNames(ma),ga=!0,ya=function(t){this.value=t,this.dep=new ua,this.vmCount=0,D(t,"__ob__",this),Array.isArray(t)?(Hi?Y(t,ma):N(t,ma,va),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++)W(t[e])};var _a=Ri.optionMergeStrategies;_a.data=function(t,e,n){return n?V(t,e,n):e&&"function"!=typeof e?t:V(t,e)},Wi.forEach(function(t){_a[t]=B}),Ni.forEach(function(t){_a[t+"s"]=Z}),_a.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},_a.props=_a.methods=_a.inject=_a.computed=function(t,e,n,o){if(!t)return e;var r=Object.create(null);return x(r,t),e&&x(r,e),r},_a.provide=V;var ba,wa=function(t,e){return void 0===e?t:e},xa=!1,ka=[],Sa=!1;if("undefined"!=typeof Promise&&$(Promise)){var Oa=Promise.resolve();ba=function(){Oa.then(ut),Ki&&setTimeout(S)},xa=!0}else if(Zi||"undefined"==typeof MutationObserver||!$(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())ba=void 0!==n&&$(n)?function(){n(ut)}:function(){setTimeout(ut,0)};else{var Ta=1,Ma=new MutationObserver(ut),Ca=document.createTextNode(String(Ta));Ma.observe(Ca,{characterData:!0}),ba=function(){Ta=(Ta+1)%2,Ca.data=String(Ta)},xa=!0}var Da=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}});Gt(Vt.prototype);var $a,Ea={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Ea.prepatch(n,n)}else{(t.componentInstance=Jt(t,Ya)).$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?Te(n):be(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?we(e,!0):e.$destroy())}},ja=Object.keys(Ea),La=1,Pa=2,Ia=null,Ya=null,Na=[],Wa=[],Ra={},Fa=!1,Ua=!1,Ha=0,Ga=0,Va=Date.now;if(Gi&&!Zi){var Ba=window.performance;Ba&&"function"==typeof Ba.now&&Va()>document.createEvent("Event").timeStamp&&(Va=function(){return Ba.now()})}var za=0,Za=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=++za,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=S)),this.value=this.lazy?void 0:this.get()};Za.prototype.get=function(){E(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),j(),this.cleanupDeps()}return t},Za.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))},Za.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},Za.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Ce(this)},Za.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)}}},Za.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Za.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Za.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var qa={enumerable:!0,configurable:!0,get:S,set:S},Ja={lazy:!0},Ka=0;!function(t){t.prototype._init=function(t){var e=this;e._uid=Ka++,e._isVue=!0,t&&t._isComponent?Fe(e,t):e.$options=Q(Ue(e.constructor),t||{},e),e._renderProxy=e,e._self=e,ve(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)}}(Ge),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=F,t.prototype.$delete=U,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 Za(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()}}}(Ge),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}}(Ge),function(t){t.prototype._update=function(t,e){var n=this,o=n.$el,r=n._vnode,i=me(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||v(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)}}}(Ge),function(t){Gt(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=Mt(o.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=o;var r;try{Ia=t,r=n.call(t._renderProxy,t.$createElement)}catch(e){it(e,t,"render"),r=t._vnode}finally{Ia=null}return Array.isArray(r)&&1===r.length&&(r=r[0]),r instanceof fa||(r=pa()),r.parent=o,r}}(Ge);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=Ke(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,v(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 Ri},Object.defineProperty(t,"config",e),t.util={warn:sa,extend:x,mergeOptions:Q,defineReactive:R},t.set=F,t.delete=U,t.nextTick=lt,t.observable=function(t){return W(t),t},t.options=Object.create(null),Ni.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,x(t.options.components,ts),Ve(t),Be(t),ze(t),Je(t)}(Ge),Object.defineProperty(Ge.prototype,"$isServer",{get:ra}),Object.defineProperty(Ge.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Ge,"FunctionalRenderContext",{value:Vt}),Ge.version="2.6.12";var es,ns,os,rs,is,as,ss,cs,us,ls,fs=m("style,class"),ds=m("input,textarea,option,select,progress"),ps=function(t,e,n){return"value"===n&&ds(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},hs=m("contenteditable,draggable,spellcheck"),ms=m("events,caret,typing,plaintext-only"),vs=function(t,e){return ws(e)||"false"===e?"false":"contenteditable"===t&&ms(e)?e:"true"},gs=m("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",_s=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},bs=function(t){return _s(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=m("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"),Ss=m("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},Ts=function(t){return ks(t)||Ss(t)},Ms=Object.create(null),Cs=m("text,number,password,search,email,tel,url"),Ds=Object.freeze({createElement:dn,createElementNS:pn,createTextNode:hn,createComment:mn,insertBefore:vn,removeChild:gn,appendChild:yn,parentNode:_n,nextSibling:bn,tagName:wn,setTextContent:xn,setStyleScope:kn}),As={create:function(t,e){Sn(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Sn(t,!0),Sn(e))},destroy:function(t){Sn(t,!0)}},$s=new fa("",{},[]),Es=["create","activate","update","remove","destroy"],js={create:Cn,update:Cn,destroy:function(t){Cn(t,$s)}},Ls=Object.create(null),Ps=[As,js],Is={create:jn,update:jn},Ys={create:In,update:In},Ns=/[\w).+\-_$\]]/,Ws="__r",Rs="__c",Fs=xa&&!(Qi&&Number(Qi[1])<=53),Us={create:vo,update:vo},Hs={create:go,update:go},Gs=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=/^--/,Bs=/\s*!important$/,zs=function(t,e,n){if(Vs.test(e))t.style.setProperty(e,n);else if(Bs.test(n))t.style.setProperty(ji(e),n.replace(Bs,""),"important");else{var o=qs(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}},Zs=["Webkit","Moz","ms"],qs=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<Zs.length;n++){var o=Zs[n]+e;if(o in ls)return o}}),Js={create:So,update:So},Ks=/\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=Gi&&!qi,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=Gi?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()},sc=/\b(transform|all)(,|$)/,cc=Gi?{create:Wo,activate:Wo,remove:function(t,e){!0!==t.data.show?Io(t,e):e()}}:{},uc=[Is,Ys,Us,Hs,Js,cc],lc=uc.concat(Ps),fc=function(t){function e(t){return new fa($.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=$.parentNode(t);r(e)&&$.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?$.createElementNS(t.ns,h):$.createElement(h,t),g(t),p(t,f,e),r(l)&&v(t,e),d(n,t.elm,o)):i(t.isComment)?(t.elm=$.createComment(t.text),d(n,t.elm,o)):(t.elm=$.createTextNode(t.text),d(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),d(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)?(v(t,e),g(t)):(Sn(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<D.activate.length;++i)D.activate[i]($s,a);e.push(a);break}d(n,t.elm,o)}function d(t,e,n){r(t)&&(r(n)?$.parentNode(n)===t&&$.insertBefore(t,e,n):$.appendChild(t,e))}function p(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)&&$.appendChild(t.elm,$.createTextNode(String(t.text)))}function h(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return r(t.tag)}function v(t,e){for(var n=0;n<D.create.length;++n)D.create[n]($s,t);M=t.data.hook,r(M)&&(r(M.create)&&M.create($s,t),r(M.insert)&&e.push(t))}function g(t){var e;if(r(e=t.fnScopeId))$.setStyleScope(t.elm,e);else for(var n=t;n;)r(e=n.context)&&r(e=e.$options._scopeId)&&$.setStyleScope(t.elm,e),n=n.parent;r(e=Ya)&&e!==t.context&&e!==t.fnContext&&r(e=e.$options._scopeId)&&$.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 _(t){var e,n,o=t.data;if(r(o))for(r(e=o.hook)&&r(e=e.destroy)&&e(t),e=0;e<D.destroy.length;++e)D.destroy[e](t);if(r(e=t.children))for(n=0;n<t.children.length;++n)_(t.children[n])}function b(t,e,n){for(;e<=n;++e){var o=t[e];r(o)&&(r(o.tag)?(w(o),_(o)):a(o.elm))}}function w(t,e){if(r(e)||r(t.data)){var o,i=D.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<D.remove.length;++o)D.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,d=0,p=0,h=e.length-1,m=e[0],v=e[h],g=n.length-1,_=n[0],w=n[g],x=!a;d<=h&&p<=g;)o(m)?m=e[++d]:o(v)?v=e[--h]:On(m,_)?(S(m,_,i,n,p),m=e[++d],_=n[++p]):On(v,w)?(S(v,w,i,n,g),v=e[--h],w=n[--g]):On(m,w)?(S(m,w,i,n,g),x&&$.insertBefore(t,m.elm,$.nextSibling(v.elm)),m=e[++d],w=n[--g]):On(v,_)?(S(v,_,i,n,p),x&&$.insertBefore(t,v.elm,m.elm),v=e[--h],_=n[++p]):(o(s)&&(s=Mn(e,d,h)),u=r(_.key)?s[_.key]:k(_,e,d,h),o(u)?c(_,i,t,m.elm,!1,n,p):(l=e[u],On(l,_)?(S(l,_,i,n,p),e[u]=void 0,x&&$.insertBefore(t,l.elm,m.elm)):c(_,i,t,m.elm,!1,n,p)),_=n[++p]);d>h?(f=o(n[g+1])?null:n[g+1].elm,y(t,f,n,p,g,i)):p>g&&b(e,d,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 S(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)?T(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 d=t.children,p=e.children;if(r(f)&&h(e)){for(l=0;l<D.update.length;++l)D.update[l](t,e);r(l=f.hook)&&r(l=l.update)&&l(t,e)}o(e.text)?r(d)&&r(p)?d!==p&&x(u,d,p,n,c):r(p)?(r(t.text)&&$.setTextContent(u,""),y(u,null,p,0,p.length-1,n)):r(d)?b(d,0,d.length-1):r(t.text)&&$.setTextContent(u,""):t.text!==e.text&&$.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(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,d=t.firstChild,h=0;h<u.length;h++){if(!d||!T(d,u[h],n,o)){f=!1;break}d=d.nextSibling}if(!f||d)return!1}else p(e,u,n);if(r(c)){var m=!1;for(var g in c)if(!E(g)){m=!0,v(e,n);break}!m&&c.class&&ft(c.class)}}else t.data!==e.text&&(t.data=e.text);return!0}var M,C,D={},A=t.modules,$=t.nodeOps;for(M=0;M<Es.length;++M)for(D[Es[M]]=[],C=0;C<A.length;++C)r(A[C][Es[M]])&&D[Es[M]].push(A[C][Es[M]]);var E=m("attrs,class,staticClass,staticStyle,key");return function(t,n,a,s){if(o(n))return void(r(t)&&_(t));var u=!1,l=[];if(o(t))u=!0,c(n,l);else{var f=r(t.nodeType);if(!f&&On(t,n))S(t,n,l,null,null,s);else{if(f){if(1===t.nodeType&&t.hasAttribute(Yi)&&(t.removeAttribute(Yi),a=!0),i(a)&&T(t,n,l))return O(n,l,!0),t;t=e(t)}var d=t.elm,p=$.parentNode(d);if(c(n,l,d._leaveCb?null:p,$.nextSibling(d)),r(n.parent))for(var m=n.parent,v=h(n);m;){for(var g=0;g<D.destroy.length;++g)D.destroy[g](m);if(m.elm=n.elm,v){for(var y=0;y<D.create.length;++y)D.create[y]($s,m);var w=m.data.hook.insert;if(w.merged)for(var x=1;x<w.fns.length;x++)w.fns[x]()}else Sn(m);m=m.parent}r(p)?b([t],0,0):r(t.tag)&&_(t)}}return O(n,l,u),n.elm}}({nodeOps:Ds,modules:lc});qi&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Bo(t,"input")});var dc={inserted:function(t,e,n,o){"select"===n.tag?(o.elm&&!o.elm._vOptions?mt(n,"postpatch",function(){dc.componentUpdated(t,e,n)}):Ro(t,e,n.context),t._vOptions=[].map.call(t.options,Ho)):("textarea"===n.tag||Cs(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Go),t.addEventListener("compositionend",Vo),t.addEventListener("change",Vo),qi&&(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 Uo(t,r)}):e.value!==e.oldValue&&Uo(e.value,r))&&Bo(t,"change")}}}},pc={bind:function(t,e,n){var o=e.value;n=zo(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=zo(n),n.data&&n.data.transition?(n.data.show=!0,o?Po(n,function(){t.style.display=t.__vOriginalDisplay}):Io(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:dc,show:pc},mc={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]},vc=function(t){return t.tag||ce(t)},gc=function(t){return"show"===t.name},yc={name:"transition",props:mc,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(vc),n.length)){var o=this.mode,r=n[0];if(Ko(this.$vnode))return r;var i=Zo(r);if(!i)return r;if(this._leaving)return Jo(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=qo(this),u=this._vnode,l=Zo(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,mt(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Jo(t,r);if("in-out"===o){if(ce(i))return u;var d,p=function(){d()};mt(c,"afterEnter",p),mt(c,"enterCancelled",p),mt(f,"delayLeave",function(t){d=t})}}return r}}},_c=x({tag:String,moveClass:String},mc);delete _c.mode;var bc={props:_c,beforeMount:function(){var t=this,e=this._update;this._update=function(n,o){var r=me(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=qo(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 d=o[f];d.data.transition=a,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?u.push(d):l.push(d)}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;Do(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){To(n,t)}),Oo(n,e),n.style.display="none",this.$el.appendChild(n);var o=Eo(n);return this.$el.removeChild(n),this._hasMove=o.hasTransform}}},wc={Transition:yc,TransitionGroup:bc};Ge.config.mustUseProp=ps,Ge.config.isReservedTag=Ts,Ge.config.isReservedAttr=fs,Ge.config.getTagNamespace=un,Ge.config.isUnknownElement=ln,x(Ge.options.directives,hc),x(Ge.options.components,wc),Ge.prototype.__patch__=Gi?fc:S,Ge.prototype.$mount=function(t,e){return t=t&&Gi?fn(t):void 0,ge(this,t,e)},Gi&&setTimeout(function(){Ri.devtools&&ia&&ia.emit("init",Ge)},0);var xc,kc,Sc,Oc,Tc,Mc,Cc,Dc,Ac,$c,Ec,jc,Lc,Pc=/\{\{((?:.|\r?\n)+?)\}\}/g,Ic=/[-.*+?^${}()|[\]\/\\]/g,Yc=y(function(t){var e=t[0].replace(Ic,"\\$&"),n=t[1].replace(Ic,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}),Nc={staticKeys:["staticClass"],transformNode:or,genData:rr},Wc={staticKeys:["staticStyle"],transformNode:ir,genData:ar},Rc={decode:function(t){return xc=xc||document.createElement("div"),xc.innerHTML=t,xc.textContent}},Fc=m("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Uc=m("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Hc=m("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"),Gc=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Vc=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Bc="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+Fi.source+"]*",zc="((?:"+Bc+"\\:)?"+Bc+")",Zc=new RegExp("^<"+zc),qc=/^\s*(\/?)>/,Jc=new RegExp("^<\\/"+zc+"[^>]*>"),Kc=/^<!DOCTYPE [^>]+>/i,Qc=/^<!\--/,Xc=/^<!\[/,tu=m("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=m("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,du=/^\[.*\]$/,pu=/:(.*)$/,hu=/^:|^\.|^v-bind:/,mu=/\.[^.\]]+(?=[^\]]*$)/g,vu=/^v-slot(:|$)|^#/,gu=/[\r\n]/,yu=/\s+/g,_u=y(Rc.decode),bu="_empty_",wu=/^xmlns:NS\d+/,xu=/^NS\d+:/,ku={preTransformNode:Lr},Su=[Nc,Wc,ku],Ou={model:ao,text:Ir,html:Yr},Tu={expectHTML:!0,modules:Su,directives:Ou,isPreTag:Os,isUnaryTag:Fc,mustUseProp:ps,canBeLeftOpenTag:Uc,isReservedTag:Ts,getTagNamespace:un,staticKeys:function(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}(Su)},Mu=y(Wr),Cu=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Du=/\([^)]*?\);*$/,Au=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,$u={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Eu={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"]},ju=function(t){return"if("+t+")return null;"},Lu={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:ju("$event.target !== $event.currentTarget"),ctrl:ju("!$event.ctrlKey"),shift:ju("!$event.shiftKey"),alt:ju("!$event.altKey"),meta:ju("!$event.metaKey"),left:ju("'button' in $event && $event.button !== 0"),middle:ju("'button' in $event && $event.button !== 1"),right:ju("'button' in $event && $event.button !== 2")},Pu={on:Zr,bind:qr,cloak:S},Iu=function(t){this.options=t,this.warn=t.warn||Wn,this.transforms=Rn(t.modules,"transformCode"),this.dataGenFns=Rn(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},Yu=(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&&Nr(n,e);var o=Jr(n,e);return{ast:n,render:o.render,staticRenderFns:o.staticRenderFns}})),Nu=Yu(Tu),Wu=(Nu.compile,Nu.compileToFunctions),Ru=!!Gi&&xi(!1),Fu=!!Gi&&xi(!0),Uu=y(function(t){var e=fn(t);return e&&e.innerHTML}),Hu=Ge.prototype.$mount;Ge.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=Wu(o,{outputSourceRange:!1,shouldDecodeNewlines:Ru,shouldDecodeNewlinesForHref:Fu,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)},Ge.compile=Wu,e.default=Ge}.call(e,n(0),n(6).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=v(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=_[_.length-1];if("top"===t.insertAt)o?o.nextSibling?n.insertBefore(e,o.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),_.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=_.indexOf(t);e>=0&&_.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=p.bind(null,n,e),r=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),o=d.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 d(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 p(t,e,n){var o=n.css,r=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||i)&&(o=b(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={},m=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}(function(){return window&&document&&document.all&&!window.atob}),v=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(18);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=m()),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){"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)},isClientLoggedIn:null,isModalOpened:!1,isMyItemsPage:!1},beforeMount:function(){this.isClientLoggedIn="1"===this.$el.dataset.opinionstageClientLoggedIn},methods:{closePopup:function(){t&&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(20),n(26),n(29),n(30);var i=n(2)},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(19),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(){m&&p&&(m=!1,p.length?h=p.concat(h):v=-1,h.length&&s())}function s(){if(!m){var t=r(a);m=!0;for(var e=h.length;e;){for(p=h,h=[];++v<e;)p&&p[v].run();v=-1,e=h.length}p=null,m=!1,i(t)}}function c(t,e){this.fun=t,this.array=e}function u(){}var l,f,d=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 p,h=[],m=!1,v=-1;d.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||m||r(s)},c.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=u,d.addListener=u,d.once=u,d.off=u,d.removeListener=u,d.removeAllListeners=u,d.emit=u,d.prependListener=u,d.prependOnceListener=u,d.listeners=function(t){return[]},d.binding=function(t){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(t){throw new Error("process.chdir is not supported")},d.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 d(){setTimeout(function(){for(var t=0;t<Tt.length;t++){var e=Tt[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)}Tt.length=0},50)}function p(t,e,n){1===Tt.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}})&&d()}function h(t,e){var n=this;if(t&&"object"==typeof t&&t.constructor===n)return t;var o=new n(v,e);return x(o,t),o}function m(){return new TypeError("A promises callback cannot return that same promise.")}function v(){}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 _(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):S(t,n))},function(e){o||(o=!0,O(t,e))},"Settle: "+(t._label||" unknown promise"));!o&&r&&(o=!0,O(t,r))},t)}function b(t,e){e._state===Ct?S(t,e._result):e._state===Dt?(e._onError=null,O(t,e._result)):T(e,void 0,function(n){e!==n?x(t,n,void 0):S(t,n)},function(e){return O(t,e)})}function w(t,e,n){e.constructor===t.constructor&&n===E&&t.constructor.resolve===h?b(t,e):n===At?(O(t,At.error),At.error=null):u(n)?_(t,e,n):S(t,e)}function x(t,e){t===e?S(t,e):c(e)?w(t,e,g(e)):S(t,e)}function k(t){t._onError&&t._onError(t._result),M(t)}function S(t,e){t._state===Mt&&(t._result=e,t._state=Ct,0===t._subscribers.length?xt.instrument&&p("fulfilled",t):xt.async(M,t))}function O(t,e){t._state===Mt&&(t._state=Dt,t._result=e,xt.async(k,t))}function T(t,e,n,o){var r=t._subscribers,i=r.length;t._onError=null,r[i]=e,r[i+Ct]=n,r[i+Dt]=o,0===i&&t._state&&xt.async(M,t)}function M(t){var e=t._subscribers,n=t._state;if(xt.instrument&&p(n===Ct?"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 C(){this.error=null}function D(t,e){try{return t(e)}catch(t){return $t.error=t,$t}}function A(t,e,n,o){var r=u(n),i=void 0,a=void 0;if(r){if((i=D(n,o))===$t)a=i.error,i.error=null;else if(i===e)return void O(e,m())}else i=o;e._state!==Mt||(r&&void 0===a?x(e,i):void 0!==a?O(e,a):t===Ct?S(e,i):t===Dt&&O(e,i))}function $(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 E(t,e,n){var o=this,r=o._state;if(r===Ct&&!t||r===Dt&&!e)return xt.instrument&&p("chained",o,o),o;o._onError=null;var i=new o.constructor(v,n),a=o._result;if(xt.instrument&&p("chained",o,i),r===Mt)T(o,i,t,e);else{var s=r===Ct?t:e;xt.async(function(){return A(r,i,s,a)})}return i}function j(t,e,n){return t===Ct?{state:"fulfilled",value:n}:{state:"rejected",reason:n}}function L(t,e){return St(t)?new Et(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(v,e);if(!St(t))return O(o,new TypeError("Promise.race must be called with an array")),o;for(var r=0;o._state===Mt&&r<t.length;r++)T(n.resolve(t[r]),void 0,function(t){return x(o,t)},function(t){return O(o,t)});return o}function I(t,e){var n=this,o=new n(v,e);return O(o,t),o}function Y(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function N(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function W(){this.value=void 0}function R(t){try{return t.then}catch(t){return It.value=t,It}}function F(t,e,n){try{t.apply(e,n)}catch(t){return It.value=t,It}}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 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 G(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=Z(s))===Yt){var c=new Pt(v);return O(c,Yt.value),c}i&&!0!==i&&(s=G(i,s))}r[a]=s}var u=new Pt(v);return r[o]=function(t,n){t?O(u,t):void 0===e?x(u,n):!0===e?x(u,H(arguments)):St(e)?x(u,U(arguments,e)):x(u,n)},i?z(u,r,t,n):B(u,r,t,n)};return n.__proto__=t,n}function B(t,e,n,o){var r=F(n,o,e);return r===It&&O(t,r.value),t}function z(t,e,n,o){return Pt.all(e).then(function(e){var r=F(n,o,e);return r===It&&O(t,r.value),t})}function Z(t){return!(!t||"object"!=typeof t)&&(t.constructor===Pt||R(t))}function q(t,e){return Pt.all(t,e)}function J(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 K(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 St(t)?new Nt(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 Rt(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 Ft(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 St(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 dt(t,e){return Pt.resolve(t,e).then(function(t){return ft(t,e)})}function pt(t,e,n){return St(t)||l(t)&&void 0!==t.then?u(e)?(St(t)?ft(t,n):dt(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){qt[Ut]=t,qt[Ut+1]=e,2===(Ut+=2)&&Jt()}function mt(){return void 0!==Ht?function(){Ht(gt)}:vt()}function vt(){return function(){return setTimeout(gt,1)}}function gt(){for(var t=0;t<Ut;t+=2){(0,qt[t])(qt[t+1]),qt[t]=void 0,qt[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 _t(){xt.on.apply(xt,arguments)}function bt(){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 q}),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 V}),n.d(e,"configure",function(){return s}),n.d(e,"on",function(){return _t}),n.d(e,"off",function(){return bt}),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 pt});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 St=kt,Ot=Date.now||function(){return(new Date).getTime()},Tt=[],Mt=void 0,Ct=1,Dt=2,At=new C,$t=new C,Et=function(){function t(t,e,n,o){this._instanceConstructor=t,this.promise=new t(v,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&&S(this.promise,this._result)},t.prototype._enumerate=function(t){for(var e=this.length,n=this.promise,o=0;n._state===Mt&&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===E&&t._state!==Mt)t._onError=null,this._settledAt(t._state,e,t._result);else if("function"!=typeof r)this._remaining--,this._result[e]=this._makeResult(Ct,e,t);else if(n===Pt){var i=new n(v);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(Ct,e,t))},t.prototype._settledAt=function(t,e,n){var o=this.promise;o._state===Mt&&(this._abortOnReject&&t===Dt?O(o,n):(this._remaining--,this._result[e]=this._makeResult(t,e,n),0===this._remaining&&S(o,this._result)))},t.prototype._makeResult=function(t,e,n){return n},t.prototype._willSettleAt=function(t,e){var n=this;T(t,void 0,function(t){return n._settledAt(Ct,e,t)},function(t){return n._settledAt(Dt,e,t)})},t}(),jt="rsvp_"+Ot()+"-",Lt=0,Pt=function(){function t(e,n){this._id=Lt++,this._label=n,this._state=void 0,this._result=void 0,this._subscribers=[],xt.instrument&&p("created",this),v!==e&&("function"!=typeof e&&Y(),this instanceof t?$(this,e):N())}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=L,Pt.race=P,Pt.resolve=h,Pt.reject=I,Pt.prototype._guidKey=jt,Pt.prototype.then=E;var It=new W,Yt=new W,Nt=function(t){function e(e,n,o){return J(this,t.call(this,e,n,!1,o))}return K(e,t),e}(Et);Nt.prototype._makeResult=j;var Wt=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&&S(this.promise,this._result)},e.prototype._enumerate=function(t){var e=this.promise,n=[];for(var o in t)Wt.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===Mt&&a<r;a++)i=n[a],this._eachEntry(i.entry,i.position)},e}(Et),Ft=function(t){function e(e,n,o){return ot(this,t.call(this,e,n,!1,o))}return rt(e,t),e}(Rt);Ft.prototype._makeResult=j;var Ut=0,Ht=void 0,Gt="undefined"!=typeof window?window:void 0,Vt=Gt||{},Bt=Vt.MutationObserver||Vt.WebKitMutationObserver,zt="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),Zt="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,qt=new Array(1e3),Jt=void 0;Jt=zt?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)}}():Bt?function(){var t=0,e=new Bt(gt),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){return n.data=t=++t%2}}():Zt?function(){var t=new MessageChannel;return t.port1.onmessage=gt,function(){return t.port2.postMessage(0)}}():void 0===Gt?function(){try{var t=n(21);return Ht=t.runOnLoop||t.runOnContext,mt()}catch(t){return vt()}}():vt();if("object"==typeof self)self;else{if("object"!=typeof r)throw new Error("no global: `self` or `global` found");r}var Kt;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)&&_t(ee,te[ee])}var ne=(Kt={asap:ht,cast:Qt,Promise:Pt,EventTarget:wt,all:q,allSettled:Q,race:X,hash:nt,hashSettled:it,rethrow:at,defer:st,denodeify:V,configure:s,on:_t,off:bt,resolve:ut,reject:lt,map:ct},yt(Kt,"async",Xt),yt(Kt,"filter",pt),Kt);e.default=ne}.call(e,n(7),n(6).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))&&(m(t)||r(t)?F:M).test(l(t))}function s(t,e){var n=o(t,e);return a(n)?n:void 0}function c(t){return!!Y&&Y 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 N.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function f(t){return p(t)&&W.call(t,"callee")&&(!H.call(t,"callee")||R.call(t)==w)}function d(t){return null!=t&&v(t.length)&&!m(t)}function p(t){return y(t)&&d(t)}function h(t){if(d(t)&&(rt(t)||"string"==typeof t||"function"==typeof t.splice||it(t)||f(t)))return!t.length;var e=ot(t);if(e==S||e==O)return!t.size;if(K||u(t))return!V(t).length;for(var n in t)if(W.call(t,n))return!1;return!0}function m(t){var e=g(t)?R.call(t):"";return e==x||e==k}function v(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=b}function g(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function y(t){return!!t&&"object"==typeof t}function _(){return!1}var b=9007199254740991,w="[object Arguments]",x="[object Function]",k="[object GeneratorFunction]",S="[object Map]",O="[object Set]",T=/[\\^$.*+?()[\]{}|]/g,M=/^\[object .+?Constructor\]$/,C="object"==typeof t&&t&&t.Object===Object&&t,D="object"==typeof self&&self&&self.Object===Object&&self,A=C||D||Function("return this")(),$="object"==typeof e&&e&&!e.nodeType&&e,E=$&&"object"==typeof n&&n&&!n.nodeType&&n,j=E&&E.exports===$,L=Function.prototype,P=Object.prototype,I=A["__core-js_shared__"],Y=function(){var t=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),N=L.toString,W=P.hasOwnProperty,R=P.toString,F=RegExp("^"+N.call(W).replace(T,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),U=j?A.Buffer:void 0,H=P.propertyIsEnumerable,G=U?U.isBuffer:void 0,V=function(t,e){return function(n){return t(e(n))}}(Object.keys,Object),B=s(A,"DataView"),z=s(A,"Map"),Z=s(A,"Promise"),q=s(A,"Set"),J=s(A,"WeakMap"),K=!H.call({valueOf:1},"valueOf"),Q=l(B),X=l(z),tt=l(Z),et=l(q),nt=l(J),ot=i;(B&&"[object DataView]"!=ot(new B(new ArrayBuffer(1)))||z&&ot(new z)!=S||Z&&"[object Promise]"!=ot(Z.resolve())||q&&ot(new q)!=O||J&&"[object WeakMap]"!=ot(new J))&&(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 X:return S;case tt:return"[object Promise]";case et:return O;case nt:return"[object WeakMap]"}return e});var rt=Array.isArray,it=G||_;n.exports=h}).call(e,n(0),n(22)(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(8),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){n(13),t.exports=n(32)},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(14),s=o(a),c=n(5),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(){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,o.app.widgetSelectCb=i,o.modal.open()})}}]),t}(),a=function(){function t(){r(this,t),this.app=void 0}return i(t,[{key:"show",value:function(t){"function"!=typeof t&&(t=function(){});var n=e("[data-opinionstage-content-popup-template]").html();e("[opinionstage-my-items-view]").html(n),this.app||(this.app=new u.default),this.app.widgetType=l.WIDGET_ALL,this.app.isModalOpened=!0,this.app.isMyItemsPage=!0,this.app.widgetSelectCb=t}}]),t}();t.contentPopup=new o,t.widgetList=new a,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){window.location.href.indexOf("modal_is_open")>-1&&(OpinionStage.contentPopup.open({onWidgetSelect:onWidgetSelect}),modal.open()),t("body").on("click","[data-opinionstage-content-launch]",function(t){function e(t){wp.media.editor.insert(t.shortcode)}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(15),a=function(t){return t&&t.__esModule?t:{default:t}}(i);n(16);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(17);"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;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{max-width:960px;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){(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,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d: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)}}(),d.setImmediate=o,d.clearImmediate=r}}("undefined"==typeof self?void 0===t?this:t:self)}).call(e,n(0),n(7))},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,i.call(this,this.searchCriteria).then(function(){t.noMoreData=!c(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}):v.default.resolve()}function a(t,e,n){var o=[];return e&&o.push("type="+e),n&&o.push("updated_at="+n),(0,y.default)(o)?t:t+"?"+(0,b.default)(o,"&")}function s(t,e){var n=this,o=a(this.clientWidgetsHasNewUrl,t,e);return S.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 c(t){return t>1}function u(){var t=this;s.call(this,this.searchCriteria.type,this.lastUpdateTime).then(function(){t.newWidgetsAvailable&&f.call(t)})}function l(){this.clientIsLoggedIn&&(this.isCheckingWidgetUpdates=!0,this.widgetUpdatesChecker=setInterval(u.bind(this),3e3))}function f(){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 p=n(1),h=o(p),m=n(8),v=o(m),g=n(9),y=o(g),_=n(10),b=o(_),w=n(23),x=o(w),k=n(11),S=o(k),O=n(2);e.default=h.default.component("popup-content",{template:"#opinionstage-popup-content",props:["clientIsLoggedIn","modalIsOpened","widgetType","isMyItemsPage","clientWidgetsUrl","clientWidgetsHasNewUrl","accessKey","pluginVersion"],data:function(){return{dataLoading:!1,widgets:[],searchCriteria:{},noMoreData:!0,newWidgetsAvailable:!1,lastUpdateTime:null,isCheckingWidgetUpdates:!1,widgetUpdatesChecker:null}},store:x.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,f.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),l.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.clientIsLoggedIn?this.reloadData():(this.newWidgetsAvailable=!1,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){var e={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,isDraft:!1,isClosed:!1,isOpen:!1};switch(t.attributes.status){case"draft":e.isDraft=!0;break;case"closed":e.isClosed=!0;break;default:e.isOpen=!0}return e})}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,d.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,v.default)(a,"&")}Object.defineProperty(e,"__esModule",{value:!0});var s=n(1),c=o(s),u=n(24),l=o(u),f=n(25),d=o(f),p=n(9),h=o(p),m=n(10),v=o(m),g=n(11),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)},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})},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=D.config.silent;D.config.silent=!0,t._vm=new D({data:{$$state:e},computed:a}),D.config.silent=s,t.strict&&g(t),o&&(n&&t._withCommit(function(){o._data.$$state=null}),D.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(){D.set(s,c,o.state)})}var u=o.context=d(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;m(t,o,r,u)}),o.forEachGetter(function(e,n){v(t,a+n,e,u)}),o.forEachChild(function(o,i){f(t,e,n.concat(i),o,r)})}function d(t,e,n){var o=""===e,r={dispatch:o?t.dispatch:function(n,o,r){var i=_(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=_(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 p(t,e)}},state:{get:function(){return y(t.state,n)}}}),r}function p(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 m(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 v(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 _(t,e,n){return i(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function b(t){D&&t===D||(D=t,S(D))}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 b}),n.d(e,"mapState",function(){return E}),n.d(e,"mapMutations",function(){return j}),n.d(e,"mapGetters",function(){return L}),n.d(e,"mapActions",function(){return P}),n.d(e,"createNamespacedHelpers",function(){return I});/**
|
14 |
* vuex v2.5.0
|
15 |
* (c) 2017 Evan You
|
16 |
* @license MIT
|
17 |
*/
|
18 |
+
var S=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__,T=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)||{}},M={namespaced:{configurable:!0}};M.namespaced.get=function(){return!!this._rawModule.namespaced},T.prototype.addChild=function(t,e){this._children[t]=e},T.prototype.removeChild=function(t){delete this._children[t]},T.prototype.getChild=function(t){return this._children[t]},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)},T.prototype.forEachChild=function(t){r(this._children,t)},T.prototype.forEachGetter=function(t){this._rawModule.getters&&r(this._rawModule.getters,t)},T.prototype.forEachAction=function(t){this._rawModule.actions&&r(this._rawModule.actions,t)},T.prototype.forEachMutation=function(t){this._rawModule.mutations&&r(this._rawModule.mutations,t)},Object.defineProperties(T.prototype,M);var C=function(t){this.register([],t,!1)};C.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},C.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")},"")},C.prototype.update=function(t){s([],this.root,t)},C.prototype.register=function(t,e,n){var o=this;void 0===n&&(n=!0);var i=new T(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)})},C.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 D,A=function(t){var e=this;void 0===t&&(t={}),!D&&"undefined"!=typeof window&&window.Vue&&b(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 C(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new D;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)}),D.config.devtools&&o(this)},$={state:{configurable:!0}};$.state.get=function(){return this._vm._data.$$state},$.state.set=function(t){},A.prototype.commit=function(t,e,n){var o=this,r=_(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=_(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));D.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,$);var E=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}),j=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}),L=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}),I=function(t){return{mapState:E.bind(null,t),mapGetters:L.bind(null,t),mapMutations:j.bind(null,t),mapActions:P.bind(null,t)}},Y={Store:A,install:b,version:"2.5.0",mapState:E,mapMutations:j,mapGetters:L,mapActions:P,createNamespacedHelpers:I};e.default=Y},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(D)||[]}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 d(t){if("string"==typeof t)return t;if(m(t))return N?N.call(t):"";var e=t+"";return"0"==e&&1/t==-y?"-0":e}function p(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 m(t){return"symbol"==typeof t||h(t)&&P.call(t)==_}function v(t){return null==t?"":d(t)}function g(t,e,n){if((t=v(t))&&(n||void 0===e))return t.replace(b,"");if(!t||!(e=d(e)))return t;var o=u(t),r=u(e);return p(o,a(o,r),s(o,r)+1).join("")}var y=1/0,_="[object Symbol]",b=/^\s+|\s+$/g,w="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",x="\\ud83c[\\udffb-\\udfff]",k="(?:\\ud83c[\\udde6-\\uddff]){2}",S="[\\ud800-\\udbff][\\udc00-\\udfff]",O="(?:[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]|\\ud83c[\\udffb-\\udfff])?",T="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",k,S].join("|")+")[\\ufe0e\\ufe0f]?"+O+")*",M="[\\ufe0e\\ufe0f]?"+O+T,C="(?:"+["[^\\ud800-\\udfff]"+w+"?",w,k,S,"[\\ud800-\\udfff]"].join("|")+")",D=RegExp(x+"(?="+x+")|"+C+M,"g"),A=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),$="object"==typeof e&&e&&e.Object===Object&&e,E="object"==typeof self&&self&&self.Object===Object&&self,j=$||E||Function("return this")(),L=Object.prototype,P=L.toString,I=j.Symbol,Y=I?I.prototype:void 0,N=Y?Y.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(27),c=o(s),u=n(2);a.default.use(n(28));var 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]="standard 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,selectedDraftWidget:{}}},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){t.isDraft?this.selectedDraftWidget=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=m,o=v;return m=v=void 0,S=e,y=t.apply(o,n)}function i(t){return S=t,_=setTimeout(l,e),O?r(t):y}function c(t){var n=t-k,o=t-S,r=e-n;return T?w(r,g-o):r}function u(t){var n=t-k,o=t-S;return void 0===k||n>=e||n<0||T&&o>=g}function l(){var t=x();if(u(t))return f(t);_=setTimeout(l,c(t))}function f(t){return _=void 0,M&&m?r(t):(m=v=void 0,y)}function d(){void 0!==_&&clearTimeout(_),S=0,m=k=v=_=void 0}function p(){return void 0===_?y:f(x())}function h(){var t=x(),n=u(t);if(m=arguments,v=this,k=t,n){if(void 0===_)return i(k);if(T)return _=setTimeout(l,e),r(k)}return void 0===_&&(_=setTimeout(l,e)),y}var m,v,g,y,_,k,S=0,O=!1,T=!1,M=!0;if("function"!=typeof t)throw new TypeError(s);return e=a(e)||0,o(n)&&(O=!!n.leading,T="maxWait"in n,g=T?b(a(n.maxWait)||0,e):g,M="trailing"in n?!!n.trailing:M),h.cancel=d,h.flush=p,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)&&_.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=d.test(t);return n||p.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,d=/^0b[01]+$/i,p=/^0o[0-7]+$/i,h=parseInt,m="object"==typeof e&&e&&e.Object===Object&&e,v="object"==typeof self&&self&&self.Object===Object&&self,g=m||v||Function("return this")(),y=Object.prototype,_=y.toString,b=Math.max,w=Math.min,x=function(){return g.Date.now()};t.exports=n}).call(e,n(0))},function(t,e,n){(function(t){!function(t,n){n(e)}(0,function(e){"use strict";function n(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var r="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},i=function(t,e){return e={exports:{}},t(e,e.exports),e.exports}(function(t,e){var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};
|
19 |
//! moment.js
|
20 |
+
!function(n,r){"object"===o(e)?t.exports=r():n.moment=r()}(r,function(){function e(){return Lo.apply(null,arguments)}function r(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function i(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}function s(t){return void 0===t}function c(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function u(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function l(t,e){var n,o=[];for(n=0;n<t.length;++n)o.push(e(t[n],n));return o}function f(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function d(t,e){for(var n in e)f(e,n)&&(t[n]=e[n]);return f(e,"toString")&&(t.toString=e.toString),f(e,"valueOf")&&(t.valueOf=e.valueOf),t}function p(t,e,n,o){return Me(t,e,n,o,!0).utc()}function h(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function m(t){return null==t._pf&&(t._pf=h()),t._pf}function v(t){if(null==t._isValid){var e=m(t),n=Po.call(e.parsedDateParts,function(t){return null!=t}),o=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(o=o&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return o;t._isValid=o}return t._isValid}function g(t){var e=p(NaN);return null!=t?d(m(e),t):m(e).userInvalidated=!0,e}function y(t,e){var n,o,r;if(s(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),s(e._i)||(t._i=e._i),s(e._f)||(t._f=e._f),s(e._l)||(t._l=e._l),s(e._strict)||(t._strict=e._strict),s(e._tzm)||(t._tzm=e._tzm),s(e._isUTC)||(t._isUTC=e._isUTC),s(e._offset)||(t._offset=e._offset),s(e._pf)||(t._pf=m(e)),s(e._locale)||(t._locale=e._locale),Io.length>0)for(n=0;n<Io.length;n++)o=Io[n],r=e[o],s(r)||(t[o]=r);return t}function _(t){y(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Yo&&(Yo=!0,e.updateOffset(this),Yo=!1)}function b(t){return t instanceof _||null!=t&&null!=t._isAMomentObject}function w(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function x(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=w(e)),n}function k(t,e,n){var o,r=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),a=0;for(o=0;o<r;o++)(n&&t[o]!==e[o]||!n&&x(t[o])!==x(e[o]))&&a++;return a+i}function S(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function O(t,n){var r=!0;return d(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),r){for(var i,a=[],s=0;s<arguments.length;s++){if(i="","object"===o(arguments[s])){i+="\n["+s+"] ";for(var c in arguments[0])i+=c+": "+arguments[0][c]+", ";i=i.slice(0,-2)}else i=arguments[s];a.push(i)}S(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),r=!1}return n.apply(this,arguments)},n)}function T(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),No[t]||(S(n),No[t]=!0)}function M(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function C(t){var e,n;for(n in t)e=t[n],M(e)?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function D(t,e){var n,o=d({},t);for(n in e)f(e,n)&&(i(t[n])&&i(e[n])?(o[n]={},d(o[n],t[n]),d(o[n],e[n])):null!=e[n]?o[n]=e[n]:delete o[n]);for(n in t)f(t,n)&&!f(e,n)&&i(t[n])&&(o[n]=d({},o[n]));return o}function A(t){null!=t&&this.set(t)}function $(t,e,n){var o=this._calendar[t]||this._calendar.sameElse;return M(o)?o.call(e,n):o}function E(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function j(){return this._invalidDate}function L(t){return this._ordinal.replace("%d",t)}function P(t,e,n,o){var r=this._relativeTime[n];return M(r)?r(t,e,n,o):r.replace(/%d/i,t)}function I(t,e){var n=this._relativeTime[t>0?"future":"past"];return M(n)?n(e):n.replace(/%s/i,e)}function Y(t,e){var n=t.toLowerCase();Go[n]=Go[n+"s"]=Go[e]=t}function N(t){return"string"==typeof t?Go[t]||Go[t.toLowerCase()]:void 0}function W(t){var e,n,o={};for(n in t)f(t,n)&&(e=N(n))&&(o[e]=t[n]);return o}function R(t,e){Vo[t]=e}function F(t){var e=[];for(var n in t)e.push({unit:n,priority:Vo[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function U(t,e,n){var o=""+Math.abs(t),r=e-o.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+o}function H(t,e,n,o){var r=o;"string"==typeof o&&(r=function(){return this[o]()}),t&&(qo[t]=r),e&&(qo[e[0]]=function(){return U(r.apply(this,arguments),e[1],e[2])}),n&&(qo[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function G(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function V(t){var e,n,o=t.match(Bo);for(e=0,n=o.length;e<n;e++)qo[o[e]]?o[e]=qo[o[e]]:o[e]=G(o[e]);return function(e){var r,i="";for(r=0;r<n;r++)i+=M(o[r])?o[r].call(e,t):o[r];return i}}function B(t,e){return t.isValid()?(e=z(e,t.localeData()),Zo[e]=Zo[e]||V(e),Zo[e](t)):t.localeData().invalidDate()}function z(t,e){function n(t){return e.longDateFormat(t)||t}var o=5;for(zo.lastIndex=0;o>=0&&zo.test(t);)t=t.replace(zo,n),zo.lastIndex=0,o-=1;return t}function Z(t,e,n){pr[t]=M(e)?e:function(t,o){return t&&n?n:e}}function q(t,e){return f(pr,t)?pr[t](e._strict,e._locale):new RegExp(J(t))}function J(t){return K(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,o,r){return e||n||o||r}))}function K(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Q(t,e){var n,o=e;for("string"==typeof t&&(t=[t]),c(e)&&(o=function(t,n){n[e]=x(t)}),n=0;n<t.length;n++)hr[t[n]]=o}function X(t,e){Q(t,function(t,n,o,r){o._w=o._w||{},e(t,o._w,o,r)})}function tt(t,e,n){null!=e&&f(hr,t)&&hr[t](e,n._a,n,t)}function et(t){return nt(t)?366:365}function nt(t){return t%4==0&&t%100!=0||t%400==0}function ot(){return nt(this.year())}function rt(t,n){return function(o){return null!=o?(at(this,t,o),e.updateOffset(this,n),this):it(this,t)}}function it(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function at(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&nt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),lt(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function st(t){return t=N(t),M(this[t])?this[t]():this}function ct(t,e){if("object"===(void 0===t?"undefined":o(t))){t=W(t);for(var n=F(t),r=0;r<n.length;r++)this[n[r].unit](t[n[r].unit])}else if(t=N(t),M(this[t]))return this[t](e);return this}function ut(t,e){return(t%e+e)%e}function lt(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=ut(e,12);return t+=(e-n)/12,1===n?nt(t)?29:28:31-n%7%2}function ft(t,e){return t?r(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Tr).test(e)?"format":"standalone"][t.month()]:r(this._months)?this._months:this._months.standalone}function dt(t,e){return t?r(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Tr.test(e)?"format":"standalone"][t.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function pt(t,e,n){var o,r,i,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;o<12;++o)i=p([2e3,o]),this._shortMonthsParse[o]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===e?(r=Sr.call(this._shortMonthsParse,a),-1!==r?r:null):(r=Sr.call(this._longMonthsParse,a),-1!==r?r:null):"MMM"===e?-1!==(r=Sr.call(this._shortMonthsParse,a))?r:(r=Sr.call(this._longMonthsParse,a),-1!==r?r:null):-1!==(r=Sr.call(this._longMonthsParse,a))?r:(r=Sr.call(this._shortMonthsParse,a),-1!==r?r:null)}function ht(t,e,n){var o,r,i;if(this._monthsParseExact)return pt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(r=p([2e3,o]),n&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[o]||(i="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[o]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[o].test(t))return o;if(n&&"MMM"===e&&this._shortMonthsParse[o].test(t))return o;if(!n&&this._monthsParse[o].test(t))return o}}function mt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=x(e);else if(e=t.localeData().monthsParse(e),!c(e))return t;return n=Math.min(t.date(),lt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function vt(t){return null!=t?(mt(this,t),e.updateOffset(this,!0),this):it(this,"Month")}function gt(){return lt(this.year(),this.month())}function yt(t){return this._monthsParseExact?(f(this,"_monthsRegex")||bt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Dr),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function _t(t){return this._monthsParseExact?(f(this,"_monthsRegex")||bt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Ar),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function bt(){function t(t,e){return e.length-t.length}var e,n,o=[],r=[],i=[];for(e=0;e<12;e++)n=p([2e3,e]),o.push(this.monthsShort(n,"")),r.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(o.sort(t),r.sort(t),i.sort(t),e=0;e<12;e++)o[e]=K(o[e]),r[e]=K(r[e]);for(e=0;e<24;e++)i[e]=K(i[e]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}function wt(t,e,n,o,r,i,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,o,r,i,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,o,r,i,a),s}function xt(t){var e;if(t<100&&t>=0){var n=Array.prototype.slice.call(arguments);n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function kt(t,e,n){var o=7+e-n;return-(7+xt(t,0,o).getUTCDay()-e)%7+o-1}function St(t,e,n,o,r){var i,a,s=(7+n-o)%7,c=kt(t,o,r),u=1+7*(e-1)+s+c;return u<=0?(i=t-1,a=et(i)+u):u>et(t)?(i=t+1,a=u-et(t)):(i=t,a=u),{year:i,dayOfYear:a}}function Ot(t,e,n){var o,r,i=kt(t.year(),e,n),a=Math.floor((t.dayOfYear()-i-1)/7)+1;return a<1?(r=t.year()-1,o=a+Tt(r,e,n)):a>Tt(t.year(),e,n)?(o=a-Tt(t.year(),e,n),r=t.year()+1):(r=t.year(),o=a),{week:o,year:r}}function Tt(t,e,n){var o=kt(t,e,n),r=kt(t+1,e,n);return(et(t)-o+r)/7}function Mt(t){return Ot(t,this._week.dow,this._week.doy).week}function Ct(){return this._week.dow}function Dt(){return this._week.doy}function At(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function $t(t){var e=Ot(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Et(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function jt(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Lt(t,e){return t.slice(e,7).concat(t.slice(0,e))}function Pt(t,e){var n=r(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Lt(n,this._week.dow):t?n[t.day()]:n}function It(t){return!0===t?Lt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Yt(t){return!0===t?Lt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Nt(t,e,n){var o,r,i,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)i=p([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===e?(r=Sr.call(this._weekdaysParse,a),-1!==r?r:null):"ddd"===e?(r=Sr.call(this._shortWeekdaysParse,a),-1!==r?r:null):(r=Sr.call(this._minWeekdaysParse,a),-1!==r?r:null):"dddd"===e?-1!==(r=Sr.call(this._weekdaysParse,a))?r:-1!==(r=Sr.call(this._shortWeekdaysParse,a))?r:(r=Sr.call(this._minWeekdaysParse,a),-1!==r?r:null):"ddd"===e?-1!==(r=Sr.call(this._shortWeekdaysParse,a))?r:-1!==(r=Sr.call(this._weekdaysParse,a))?r:(r=Sr.call(this._minWeekdaysParse,a),-1!==r?r:null):-1!==(r=Sr.call(this._minWeekdaysParse,a))?r:-1!==(r=Sr.call(this._weekdaysParse,a))?r:(r=Sr.call(this._shortWeekdaysParse,a),-1!==r?r:null)}function Wt(t,e,n){var o,r,i;if(this._weekdaysParseExact)return Nt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(r=p([2e3,1]).day(o),n&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(i="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[o]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[o].test(t))return o;if(n&&"ddd"===e&&this._shortWeekdaysParse[o].test(t))return o;if(n&&"dd"===e&&this._minWeekdaysParse[o].test(t))return o;if(!n&&this._weekdaysParse[o].test(t))return o}}function Rt(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Et(t,this.localeData()),this.add(t-e,"d")):e}function Ft(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ut(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=jt(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Ht(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Bt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Pr),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Gt(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Bt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ir),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Vt(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Bt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Yr),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Bt(){function t(t,e){return e.length-t.length}var e,n,o,r,i,a=[],s=[],c=[],u=[];for(e=0;e<7;e++)n=p([2e3,1]).day(e),o=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),i=this.weekdays(n,""),a.push(o),s.push(r),c.push(i),u.push(o),u.push(r),u.push(i);for(a.sort(t),s.sort(t),c.sort(t),u.sort(t),e=0;e<7;e++)s[e]=K(s[e]),c[e]=K(c[e]),u[e]=K(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function zt(){return this.hours()%12||12}function Zt(){return this.hours()||24}function qt(t,e){H(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Jt(t,e){return e._meridiemParse}function Kt(t){return"p"===(t+"").toLowerCase().charAt(0)}function Qt(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Xt(t){return t?t.toLowerCase().replace("_","-"):t}function te(t){for(var e,n,o,r,i=0;i<t.length;){for(r=Xt(t[i]).split("-"),e=r.length,n=Xt(t[i+1]),n=n?n.split("-"):null;e>0;){if(o=ee(r.slice(0,e).join("-")))return o;if(n&&n.length>=e&&k(r,n,!0)>=e-1)break;e--}i++}return Nr}function ee(e){var o=null;if(!Ur[e]&&t&&t.exports)try{o=Nr._abbr;n("./locale/"+e),ne(o)}catch(t){}return Ur[e]}function ne(t,e){var n;return t&&(n=s(e)?ie(t):oe(t,e),n?Nr=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Nr._abbr}function oe(t,e){if(null!==e){var n,o=Fr;if(e.abbr=t,null!=Ur[t])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),o=Ur[t]._config;else if(null!=e.parentLocale)if(null!=Ur[e.parentLocale])o=Ur[e.parentLocale]._config;else{if(null==(n=ee(e.parentLocale)))return Hr[e.parentLocale]||(Hr[e.parentLocale]=[]),Hr[e.parentLocale].push({name:t,config:e}),null;o=n._config}return Ur[t]=new A(D(o,e)),Hr[t]&&Hr[t].forEach(function(t){oe(t.name,t.config)}),ne(t),Ur[t]}return delete Ur[t],null}function re(t,e){if(null!=e){var n,o,r=Fr;o=ee(t),null!=o&&(r=o._config),e=D(r,e),n=new A(e),n.parentLocale=Ur[t],Ur[t]=n,ne(t)}else null!=Ur[t]&&(null!=Ur[t].parentLocale?Ur[t]=Ur[t].parentLocale:null!=Ur[t]&&delete Ur[t]);return Ur[t]}function ie(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Nr;if(!r(t)){if(e=ee(t))return e;t=[t]}return te(t)}function ae(){return Wo(Ur)}function se(t){var e,n=t._a;return n&&-2===m(t).overflow&&(e=n[vr]<0||n[vr]>11?vr:n[gr]<1||n[gr]>lt(n[mr],n[vr])?gr:n[yr]<0||n[yr]>24||24===n[yr]&&(0!==n[_r]||0!==n[br]||0!==n[wr])?yr:n[_r]<0||n[_r]>59?_r:n[br]<0||n[br]>59?br:n[wr]<0||n[wr]>999?wr:-1,m(t)._overflowDayOfYear&&(e<mr||e>gr)&&(e=gr),m(t)._overflowWeeks&&-1===e&&(e=xr),m(t)._overflowWeekday&&-1===e&&(e=kr),m(t).overflow=e),t}function ce(t,e,n){return null!=t?t:null!=e?e:n}function ue(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function le(t){var e,n,o,r,i,a=[];if(!t._d){for(o=ue(t),t._w&&null==t._a[gr]&&null==t._a[vr]&&fe(t),null!=t._dayOfYear&&(i=ce(t._a[mr],o[mr]),(t._dayOfYear>et(i)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),n=xt(i,0,t._dayOfYear),t._a[vr]=n.getUTCMonth(),t._a[gr]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=o[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[yr]&&0===t._a[_r]&&0===t._a[br]&&0===t._a[wr]&&(t._nextDay=!0,t._a[yr]=0),t._d=(t._useUTC?xt:wt).apply(null,a),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[yr]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(m(t).weekdayMismatch=!0)}}function fe(t){var e,n,o,r,i,a,s,c;if(e=t._w,null!=e.GG||null!=e.W||null!=e.E)i=1,a=4,n=ce(e.GG,t._a[mr],Ot(Ce(),1,4).year),o=ce(e.W,1),((r=ce(e.E,1))<1||r>7)&&(c=!0);else{i=t._locale._week.dow,a=t._locale._week.doy;var u=Ot(Ce(),i,a);n=ce(e.gg,t._a[mr],u.year),o=ce(e.w,u.week),null!=e.d?((r=e.d)<0||r>6)&&(c=!0):null!=e.e?(r=e.e+i,(e.e<0||e.e>6)&&(c=!0)):r=i}o<1||o>Tt(n,i,a)?m(t)._overflowWeeks=!0:null!=c?m(t)._overflowWeekday=!0:(s=St(n,o,r,i,a),t._a[mr]=s.year,t._dayOfYear=s.dayOfYear)}function de(t){var e,n,o,r,i,a,s=t._i,c=Gr.exec(s)||Vr.exec(s);if(c){for(m(t).iso=!0,e=0,n=zr.length;e<n;e++)if(zr[e][1].exec(c[1])){r=zr[e][0],o=!1!==zr[e][2];break}if(null==r)return void(t._isValid=!1);if(c[3]){for(e=0,n=Zr.length;e<n;e++)if(Zr[e][1].exec(c[3])){i=(c[2]||" ")+Zr[e][0];break}if(null==i)return void(t._isValid=!1)}if(!o&&null!=i)return void(t._isValid=!1);if(c[4]){if(!Br.exec(c[4]))return void(t._isValid=!1);a="Z"}t._f=r+(i||"")+(a||""),be(t)}else t._isValid=!1}function pe(t,e,n,o,r,i){var a=[he(t),Cr.indexOf(e),parseInt(n,10),parseInt(o,10),parseInt(r,10)];return i&&a.push(parseInt(i,10)),a}function he(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function me(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ve(t,e,n){if(t){if(jr.indexOf(t)!==new Date(e[0],e[1],e[2]).getDay())return m(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function ge(t,e,n){if(t)return Kr[t];if(e)return 0;var o=parseInt(n,10),r=o%100;return(o-r)/100*60+r}function ye(t){var e=Jr.exec(me(t._i));if(e){var n=pe(e[4],e[3],e[2],e[5],e[6],e[7]);if(!ve(e[1],n,t))return;t._a=n,t._tzm=ge(e[8],e[9],e[10]),t._d=xt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),m(t).rfc2822=!0}else t._isValid=!1}function _e(t){var n=qr.exec(t._i);if(null!==n)return void(t._d=new Date(+n[1]));de(t),!1===t._isValid&&(delete t._isValid,ye(t),!1===t._isValid&&(delete t._isValid,e.createFromInputFallback(t)))}function be(t){if(t._f===e.ISO_8601)return void de(t);if(t._f===e.RFC_2822)return void ye(t);t._a=[],m(t).empty=!0;var n,o,r,i,a,s=""+t._i,c=s.length,u=0;for(r=z(t._f,t._locale).match(Bo)||[],n=0;n<r.length;n++)i=r[n],o=(s.match(q(i,t))||[])[0],o&&(a=s.substr(0,s.indexOf(o)),a.length>0&&m(t).unusedInput.push(a),s=s.slice(s.indexOf(o)+o.length),u+=o.length),qo[i]?(o?m(t).empty=!1:m(t).unusedTokens.push(i),tt(i,o,t)):t._strict&&!o&&m(t).unusedTokens.push(i);m(t).charsLeftOver=c-u,s.length>0&&m(t).unusedInput.push(s),t._a[yr]<=12&&!0===m(t).bigHour&&t._a[yr]>0&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[yr]=we(t._locale,t._a[yr],t._meridiem),le(t),se(t)}function we(t,e,n){var o;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(o=t.isPM(n),o&&e<12&&(e+=12),o||12!==e||(e=0),e):e}function xe(t){var e,n,o,r,i;if(0===t._f.length)return m(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<t._f.length;r++)i=0,e=y({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],be(e),v(e)&&(i+=m(e).charsLeftOver,i+=10*m(e).unusedTokens.length,m(e).score=i,(null==o||i<o)&&(o=i,n=e));d(t,n||e)}function ke(t){if(!t._d){var e=W(t._i);t._a=l([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),le(t)}}function Se(t){var e=new _(se(Oe(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Oe(t){var e=t._i,n=t._f;return t._locale=t._locale||ie(t._l),null===e||void 0===n&&""===e?g({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),b(e)?new _(se(e)):(u(e)?t._d=e:r(n)?xe(t):n?be(t):Te(t),v(t)||(t._d=null),t))}function Te(t){var n=t._i;s(n)?t._d=new Date(e.now()):u(n)?t._d=new Date(n.valueOf()):"string"==typeof n?_e(t):r(n)?(t._a=l(n.slice(0),function(t){return parseInt(t,10)}),le(t)):i(n)?ke(t):c(n)?t._d=new Date(n):e.createFromInputFallback(t)}function Me(t,e,n,o,s){var c={};return!0!==n&&!1!==n||(o=n,n=void 0),(i(t)&&a(t)||r(t)&&0===t.length)&&(t=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=s,c._l=n,c._i=t,c._f=e,c._strict=o,Se(c)}function Ce(t,e,n,o){return Me(t,e,n,o,!1)}function De(t,e){var n,o;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return Ce();for(n=e[0],o=1;o<e.length;++o)e[o].isValid()&&!e[o][t](n)||(n=e[o]);return n}function Ae(){return De("isBefore",[].slice.call(arguments,0))}function $e(){return De("isAfter",[].slice.call(arguments,0))}function Ee(t){for(var e in t)if(-1===Sr.call(ei,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,o=0;o<ei.length;++o)if(t[ei[o]]){if(n)return!1;parseFloat(t[ei[o]])!==x(t[ei[o]])&&(n=!0)}return!0}function je(){return this._isValid}function Le(){return Xe(NaN)}function Pe(t){var e=W(t),n=e.year||0,o=e.quarter||0,r=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,s=e.hour||0,c=e.minute||0,u=e.second||0,l=e.millisecond||0;this._isValid=Ee(e),this._milliseconds=+l+1e3*u+6e4*c+1e3*s*60*60,this._days=+a+7*i,this._months=+r+3*o+12*n,this._data={},this._locale=ie(),this._bubble()}function Ie(t){return t instanceof Pe}function Ye(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ne(t,e){H(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+U(~~(t/60),2)+e+U(~~t%60,2)})}function We(t,e){var n=(e||"").match(t);if(null===n)return null;var o=n[n.length-1]||[],r=(o+"").match(ni)||["-",0,0],i=60*r[1]+x(r[2]);return 0===i?0:"+"===r[0]?i:-i}function Re(t,n){var o,r;return n._isUTC?(o=n.clone(),r=(b(t)||u(t)?t.valueOf():Ce(t).valueOf())-o.valueOf(),o._d.setTime(o._d.valueOf()+r),e.updateOffset(o,!1),o):Ce(t).local()}function Fe(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Ue(t,n,o){var r,i=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=We(lr,t)))return this}else Math.abs(t)<16&&!o&&(t*=60);return!this._isUTC&&n&&(r=Fe(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==t&&(!n||this._changeInProgress?rn(this,Xe(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Fe(this)}function He(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Ge(t){return this.utcOffset(0,t)}function Ve(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Fe(this),"m")),this}function Be(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=We(ur,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function ze(t){return!!this.isValid()&&(t=t?Ce(t).utcOffset():0,(this.utcOffset()-t)%60==0)}function Ze(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function qe(){if(!s(this._isDSTShifted))return this._isDSTShifted;var t={};if(y(t,this),t=Oe(t),t._a){var e=t._isUTC?p(t._a):Ce(t._a);this._isDSTShifted=this.isValid()&&k(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Je(){return!!this.isValid()&&!this._isUTC}function Ke(){return!!this.isValid()&&this._isUTC}function Qe(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Xe(t,e){var n,r,i,a=t,s=null;return Ie(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:c(t)?(a={},e?a[e]=t:a.milliseconds=t):(s=oi.exec(t))?(n="-"===s[1]?-1:1,a={y:0,d:x(s[gr])*n,h:x(s[yr])*n,m:x(s[_r])*n,s:x(s[br])*n,ms:x(Ye(1e3*s[wr]))*n}):(s=ri.exec(t))?(n="-"===s[1]?-1:1,a={y:tn(s[2],n),M:tn(s[3],n),w:tn(s[4],n),d:tn(s[5],n),h:tn(s[6],n),m:tn(s[7],n),s:tn(s[8],n)}):null==a?a={}:"object"===(void 0===a?"undefined":o(a))&&("from"in a||"to"in a)&&(i=nn(Ce(a.from),Ce(a.to)),a={},a.ms=i.milliseconds,a.M=i.months),r=new Pe(a),Ie(t)&&f(t,"_locale")&&(r._locale=t._locale),r}function tn(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function en(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function nn(t,e){var n;return t.isValid()&&e.isValid()?(e=Re(e,t),t.isBefore(e)?n=en(t,e):(n=en(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function on(t,e){return function(n,o){var r,i;return null===o||isNaN(+o)||(T(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=o,o=i),n="string"==typeof n?+n:n,r=Xe(n,o),rn(this,r,t),this}}function rn(t,n,o,r){var i=n._milliseconds,a=Ye(n._days),s=Ye(n._months);t.isValid()&&(r=null==r||r,s&&mt(t,it(t,"Month")+s*o),a&&at(t,"Date",it(t,"Date")+a*o),i&&t._d.setTime(t._d.valueOf()+i*o),r&&e.updateOffset(t,a||s))}function an(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function sn(t,n){var o=t||Ce(),r=Re(o,this).startOf("day"),i=e.calendarFormat(this,r)||"sameElse",a=n&&(M(n[i])?n[i].call(this,o):n[i]);return this.format(a||this.localeData().calendar(i,this,Ce(o)))}function cn(){return new _(this)}function un(t,e){var n=b(t)?t:Ce(t);return!(!this.isValid()||!n.isValid())&&(e=N(e)||"millisecond","millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function ln(t,e){var n=b(t)?t:Ce(t);return!(!this.isValid()||!n.isValid())&&(e=N(e)||"millisecond","millisecond"===e?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function fn(t,e,n,o){var r=b(t)?t:Ce(t),i=b(e)?e:Ce(e);return!!(this.isValid()&&r.isValid()&&i.isValid())&&(o=o||"()",("("===o[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===o[1]?this.isBefore(i,n):!this.isAfter(i,n)))}function dn(t,e){var n,o=b(t)?t:Ce(t);return!(!this.isValid()||!o.isValid())&&(e=N(e)||"millisecond","millisecond"===e?this.valueOf()===o.valueOf():(n=o.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function pn(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function hn(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function mn(t,e,n){var o,r,i;if(!this.isValid())return NaN;if(o=Re(t,this),!o.isValid())return NaN;switch(r=6e4*(o.utcOffset()-this.utcOffset()),e=N(e)){case"year":i=vn(this,o)/12;break;case"month":i=vn(this,o);break;case"quarter":i=vn(this,o)/3;break;case"second":i=(this-o)/1e3;break;case"minute":i=(this-o)/6e4;break;case"hour":i=(this-o)/36e5;break;case"day":i=(this-o-r)/864e5;break;case"week":i=(this-o-r)/6048e5;break;default:i=this-o}return n?i:w(i)}function vn(t,e){var n,o,r=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(r,"months");return e-i<0?(n=t.clone().add(r-1,"months"),o=(e-i)/(i-n)):(n=t.clone().add(r+1,"months"),o=(e-i)/(n-i)),-(r+o)||0}function gn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function yn(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?B(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",B(n,"Z")):B(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function _n(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',o=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=e+'[")]';return this.format(n+o+"-MM-DD[T]HH:mm:ss.SSS"+r)}function bn(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=B(this,t);return this.localeData().postformat(n)}function wn(t,e){return this.isValid()&&(b(t)&&t.isValid()||Ce(t).isValid())?Xe({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function xn(t){return this.from(Ce(),t)}function kn(t,e){return this.isValid()&&(b(t)&&t.isValid()||Ce(t).isValid())?Xe({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function Sn(t){return this.to(Ce(),t)}function On(t){var e;return void 0===t?this._locale._abbr:(e=ie(t),null!=e&&(this._locale=e),this)}function Tn(){return this._locale}function Mn(t,e){return(t%e+e)%e}function Cn(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-fi:new Date(t,e,n).valueOf()}function Dn(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-fi:Date.UTC(t,e,n)}function An(t){var n;if(void 0===(t=N(t))||"millisecond"===t||!this.isValid())return this;var o=this._isUTC?Dn:Cn;switch(t){case"year":n=o(this.year(),0,1);break;case"quarter":n=o(this.year(),this.month()-this.month()%3,1);break;case"month":n=o(this.year(),this.month(),1);break;case"week":n=o(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=o(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=o(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=Mn(n+(this._isUTC?0:this.utcOffset()*ui),li);break;case"minute":n=this._d.valueOf(),n-=Mn(n,ui);break;case"second":n=this._d.valueOf(),n-=Mn(n,ci)}return this._d.setTime(n),e.updateOffset(this,!0),this}function $n(t){var n;if(void 0===(t=N(t))||"millisecond"===t||!this.isValid())return this;var o=this._isUTC?Dn:Cn;switch(t){case"year":n=o(this.year()+1,0,1)-1;break;case"quarter":n=o(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=o(this.year(),this.month()+1,1)-1;break;case"week":n=o(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=o(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=o(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=li-Mn(n+(this._isUTC?0:this.utcOffset()*ui),li)-1;break;case"minute":n=this._d.valueOf(),n+=ui-Mn(n,ui)-1;break;case"second":n=this._d.valueOf(),n+=ci-Mn(n,ci)-1}return this._d.setTime(n),e.updateOffset(this,!0),this}function En(){return this._d.valueOf()-6e4*(this._offset||0)}function jn(){return Math.floor(this.valueOf()/1e3)}function Ln(){return new Date(this.valueOf())}function Pn(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function In(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Yn(){return this.isValid()?this.toISOString():null}function Nn(){return v(this)}function Wn(){return d({},m(this))}function Rn(){return m(this).overflow}function Fn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Un(t,e){H(0,[t,t.length],0,e)}function Hn(t){return zn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Gn(t){return zn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Vn(){return Tt(this.year(),1,4)}function Bn(){var t=this.localeData()._week;return Tt(this.year(),t.dow,t.doy)}function zn(t,e,n,o,r){var i;return null==t?Ot(this,o,r).year:(i=Tt(t,o,r),e>i&&(e=i),Zn.call(this,t,e,n,o,r))}function Zn(t,e,n,o,r){var i=St(t,e,n,o,r),a=xt(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function qn(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Jn(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function Kn(t,e){e[wr]=x(1e3*("0."+t))}function Qn(){return this._isUTC?"UTC":""}function Xn(){return this._isUTC?"Coordinated Universal Time":""}function to(t){return Ce(1e3*t)}function eo(){return Ce.apply(null,arguments).parseZone()}function no(t){return t}function oo(t,e,n,o){var r=ie(),i=p().set(o,e);return r[n](i,t)}function ro(t,e,n){if(c(t)&&(e=t,t=void 0),t=t||"",null!=e)return oo(t,e,n,"month");var o,r=[];for(o=0;o<12;o++)r[o]=oo(t,o,n,"month");return r}function io(t,e,n,o){"boolean"==typeof t?(c(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,c(e)&&(n=e,e=void 0),e=e||"");var r=ie(),i=t?r._week.dow:0;if(null!=n)return oo(e,(n+i)%7,o,"day");var a,s=[];for(a=0;a<7;a++)s[a]=oo(e,(a+i)%7,o,"day");return s}function ao(t,e){return ro(t,e,"months")}function so(t,e){return ro(t,e,"monthsShort")}function co(t,e,n){return io(t,e,n,"weekdays")}function uo(t,e,n){return io(t,e,n,"weekdaysShort")}function lo(t,e,n){return io(t,e,n,"weekdaysMin")}function fo(){var t=this._data;return this._milliseconds=_i(this._milliseconds),this._days=_i(this._days),this._months=_i(this._months),t.milliseconds=_i(t.milliseconds),t.seconds=_i(t.seconds),t.minutes=_i(t.minutes),t.hours=_i(t.hours),t.months=_i(t.months),t.years=_i(t.years),this}function po(t,e,n,o){var r=Xe(e,n);return t._milliseconds+=o*r._milliseconds,t._days+=o*r._days,t._months+=o*r._months,t._bubble()}function ho(t,e){return po(this,t,e,1)}function mo(t,e){return po(this,t,e,-1)}function vo(t){return t<0?Math.floor(t):Math.ceil(t)}function go(){var t,e,n,o,r,i=this._milliseconds,a=this._days,s=this._months,c=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*vo(_o(s)+a),a=0,s=0),c.milliseconds=i%1e3,t=w(i/1e3),c.seconds=t%60,e=w(t/60),c.minutes=e%60,n=w(e/60),c.hours=n%24,a+=w(n/24),r=w(yo(a)),s+=r,a-=vo(_o(r)),o=w(s/12),s%=12,c.days=a,c.months=s,c.years=o,this}function yo(t){return 4800*t/146097}function _o(t){return 146097*t/4800}function bo(t){if(!this.isValid())return NaN;var e,n,o=this._milliseconds;if("month"===(t=N(t))||"quarter"===t||"year"===t)switch(e=this._days+o/864e5,n=this._months+yo(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(_o(this._months)),t){case"week":return e/7+o/6048e5;case"day":return e+o/864e5;case"hour":return 24*e+o/36e5;case"minute":return 1440*e+o/6e4;case"second":return 86400*e+o/1e3;case"millisecond":return Math.floor(864e5*e)+o;default:throw new Error("Unknown unit "+t)}}function wo(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12):NaN}function xo(t){return function(){return this.as(t)}}function ko(){return Xe(this)}function So(t){return t=N(t),this.isValid()?this[t+"s"]():NaN}function Oo(t){return function(){return this.isValid()?this._data[t]:NaN}}function To(){return w(this.days()/7)}function Mo(t,e,n,o,r){return r.relativeTime(e||1,!!n,t,o)}function Co(t,e,n){var o=Xe(t).abs(),r=Ii(o.as("s")),i=Ii(o.as("m")),a=Ii(o.as("h")),s=Ii(o.as("d")),c=Ii(o.as("M")),u=Ii(o.as("y")),l=r<=Yi.ss&&["s",r]||r<Yi.s&&["ss",r]||i<=1&&["m"]||i<Yi.m&&["mm",i]||a<=1&&["h"]||a<Yi.h&&["hh",a]||s<=1&&["d"]||s<Yi.d&&["dd",s]||c<=1&&["M"]||c<Yi.M&&["MM",c]||u<=1&&["y"]||["yy",u];return l[2]=e,l[3]=+t>0,l[4]=n,Mo.apply(null,l)}function Do(t){return void 0===t?Ii:"function"==typeof t&&(Ii=t,!0)}function Ao(t,e){return void 0!==Yi[t]&&(void 0===e?Yi[t]:(Yi[t]=e,"s"===t&&(Yi.ss=e-1),!0))}function $o(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=Co(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function Eo(t){return(t>0)-(t<0)||+t}function jo(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,o=Ni(this._milliseconds)/1e3,r=Ni(this._days),i=Ni(this._months);t=w(o/60),e=w(t/60),o%=60,t%=60,n=w(i/12),i%=12;var a=n,s=i,c=r,u=e,l=t,f=o?o.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var p=d<0?"-":"",h=Eo(this._months)!==Eo(d)?"-":"",m=Eo(this._days)!==Eo(d)?"-":"",v=Eo(this._milliseconds)!==Eo(d)?"-":"";return p+"P"+(a?h+a+"Y":"")+(s?h+s+"M":"")+(c?m+c+"D":"")+(u||l||f?"T":"")+(u?v+u+"H":"")+(l?v+l+"M":"")+(f?v+f+"S":"")}var Lo,Po;Po=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,o=0;o<n;o++)if(o in e&&t.call(this,e[o],o,e))return!0;return!1};var Io=e.momentProperties=[],Yo=!1,No={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var Wo;Wo=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)f(t,e)&&n.push(e);return n};var Ro={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Fo={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Uo=/\d{1,2}/,Ho={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Go={},Vo={},Bo=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,zo=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Zo={},qo={},Jo=/\d/,Ko=/\d\d/,Qo=/\d{3}/,Xo=/\d{4}/,tr=/[+-]?\d{6}/,er=/\d\d?/,nr=/\d\d\d\d?/,or=/\d\d\d\d\d\d?/,rr=/\d{1,3}/,ir=/\d{1,4}/,ar=/[+-]?\d{1,6}/,sr=/\d+/,cr=/[+-]?\d+/,ur=/Z|[+-]\d\d:?\d\d/gi,lr=/Z|[+-]\d\d(?::?\d\d)?/gi,fr=/[+-]?\d+(\.\d{1,3})?/,dr=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,pr={},hr={},mr=0,vr=1,gr=2,yr=3,_r=4,br=5,wr=6,xr=7,kr=8;H("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),H(0,["YY",2],0,function(){return this.year()%100}),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),Y("year","y"),R("year",1),Z("Y",cr),Z("YY",er,Ko),Z("YYYY",ir,Xo),Z("YYYYY",ar,tr),Z("YYYYYY",ar,tr),Q(["YYYYY","YYYYYY"],mr),Q("YYYY",function(t,n){n[mr]=2===t.length?e.parseTwoDigitYear(t):x(t)}),Q("YY",function(t,n){n[mr]=e.parseTwoDigitYear(t)}),Q("Y",function(t,e){e[mr]=parseInt(t,10)}),e.parseTwoDigitYear=function(t){return x(t)+(x(t)>68?1900:2e3)};var Sr,Or=rt("FullYear",!0);Sr=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},H("M",["MM",2],"Mo",function(){return this.month()+1}),H("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),H("MMMM",0,0,function(t){return this.localeData().months(this,t)}),Y("month","M"),R("month",8),Z("M",er),Z("MM",er,Ko),Z("MMM",function(t,e){return e.monthsShortRegex(t)}),Z("MMMM",function(t,e){return e.monthsRegex(t)}),Q(["M","MM"],function(t,e){e[vr]=x(t)-1}),Q(["MMM","MMMM"],function(t,e,n,o){var r=n._locale.monthsParse(t,o,n._strict);null!=r?e[vr]=r:m(n).invalidMonth=t});var Tr=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Mr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Cr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Dr=dr,Ar=dr;H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),Y("week","w"),Y("isoWeek","W"),R("week",5),R("isoWeek",5),Z("w",er),Z("ww",er,Ko),Z("W",er),Z("WW",er,Ko),X(["w","ww","W","WW"],function(t,e,n,o){e[o.substr(0,1)]=x(t)});var $r={dow:0,doy:6};H("d",0,"do","day"),H("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),H("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),H("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),Y("day","d"),Y("weekday","e"),Y("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),Z("d",er),Z("e",er),Z("E",er),Z("dd",function(t,e){return e.weekdaysMinRegex(t)}),Z("ddd",function(t,e){return e.weekdaysShortRegex(t)}),Z("dddd",function(t,e){return e.weekdaysRegex(t)}),X(["dd","ddd","dddd"],function(t,e,n,o){var r=n._locale.weekdaysParse(t,o,n._strict);null!=r?e.d=r:m(n).invalidWeekday=t}),X(["d","e","E"],function(t,e,n,o){e[o]=x(t)});var Er="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),jr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Lr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Pr=dr,Ir=dr,Yr=dr;H("H",["HH",2],0,"hour"),H("h",["hh",2],0,zt),H("k",["kk",2],0,Zt),H("hmm",0,0,function(){return""+zt.apply(this)+U(this.minutes(),2)}),H("hmmss",0,0,function(){return""+zt.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),H("Hmm",0,0,function(){return""+this.hours()+U(this.minutes(),2)}),H("Hmmss",0,0,function(){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)}),qt("a",!0),qt("A",!1),Y("hour","h"),R("hour",13),Z("a",Jt),Z("A",Jt),Z("H",er),Z("h",er),Z("k",er),Z("HH",er,Ko),Z("hh",er,Ko),Z("kk",er,Ko),Z("hmm",nr),Z("hmmss",or),Z("Hmm",nr),Z("Hmmss",or),Q(["H","HH"],yr),Q(["k","kk"],function(t,e,n){var o=x(t);e[yr]=24===o?0:o}),Q(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),Q(["h","hh"],function(t,e,n){e[yr]=x(t),m(n).bigHour=!0}),Q("hmm",function(t,e,n){var o=t.length-2;e[yr]=x(t.substr(0,o)),e[_r]=x(t.substr(o)),m(n).bigHour=!0}),Q("hmmss",function(t,e,n){var o=t.length-4,r=t.length-2;e[yr]=x(t.substr(0,o)),e[_r]=x(t.substr(o,2)),e[br]=x(t.substr(r)),m(n).bigHour=!0}),Q("Hmm",function(t,e,n){var o=t.length-2;e[yr]=x(t.substr(0,o)),e[_r]=x(t.substr(o))}),Q("Hmmss",function(t,e,n){var o=t.length-4,r=t.length-2;e[yr]=x(t.substr(0,o)),e[_r]=x(t.substr(o,2)),e[br]=x(t.substr(r))});var Nr,Wr=/[ap]\.?m?\.?/i,Rr=rt("Hours",!0),Fr={calendar:Ro,longDateFormat:Fo,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Uo,relativeTime:Ho,months:Mr,monthsShort:Cr,week:$r,weekdays:Er,weekdaysMin:Lr,weekdaysShort:jr,meridiemParse:Wr},Ur={},Hr={},Gr=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Vr=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Br=/Z|[+-]\d\d(?::?\d\d)?/,zr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Zr=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],qr=/^\/?Date\((\-?\d+)/i,Jr=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Kr={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};e.createFromInputFallback=O("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var Qr=O("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ce.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:g()}),Xr=O("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ce.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:g()}),ti=function(){return Date.now?Date.now():+new Date},ei=["year","quarter","month","week","day","hour","minute","second","millisecond"];Ne("Z",":"),Ne("ZZ",""),Z("Z",lr),Z("ZZ",lr),Q(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=We(lr,t)});var ni=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var oi=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,ri=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Xe.fn=Pe.prototype,Xe.invalid=Le;var ii=on(1,"add"),ai=on(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var si=O("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)}),ci=1e3,ui=60*ci,li=60*ui,fi=3506328*li;H(0,["gg",2],0,function(){return this.weekYear()%100}),H(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Un("gggg","weekYear"),Un("ggggg","weekYear"),Un("GGGG","isoWeekYear"),Un("GGGGG","isoWeekYear"),Y("weekYear","gg"),Y("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),Z("G",cr),Z("g",cr),Z("GG",er,Ko),Z("gg",er,Ko),Z("GGGG",ir,Xo),Z("gggg",ir,Xo),Z("GGGGG",ar,tr),Z("ggggg",ar,tr),X(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,o){e[o.substr(0,2)]=x(t)}),X(["gg","GG"],function(t,n,o,r){n[r]=e.parseTwoDigitYear(t)}),H("Q",0,"Qo","quarter"),Y("quarter","Q"),R("quarter",7),Z("Q",Jo),Q("Q",function(t,e){e[vr]=3*(x(t)-1)}),H("D",["DD",2],"Do","date"),Y("date","D"),R("date",9),Z("D",er),Z("DD",er,Ko),Z("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),Q(["D","DD"],gr),Q("Do",function(t,e){e[gr]=x(t.match(er)[0])});var di=rt("Date",!0);H("DDD",["DDDD",3],"DDDo","dayOfYear"),Y("dayOfYear","DDD"),R("dayOfYear",4),Z("DDD",rr),Z("DDDD",Qo),Q(["DDD","DDDD"],function(t,e,n){n._dayOfYear=x(t)}),H("m",["mm",2],0,"minute"),Y("minute","m"),R("minute",14),Z("m",er),Z("mm",er,Ko),Q(["m","mm"],_r);var pi=rt("Minutes",!1);H("s",["ss",2],0,"second"),Y("second","s"),R("second",15),Z("s",er),Z("ss",er,Ko),Q(["s","ss"],br);var hi=rt("Seconds",!1);H("S",0,0,function(){return~~(this.millisecond()/100)}),H(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,function(){return 10*this.millisecond()}),H(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),H(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),H(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),H(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),H(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Y("millisecond","ms"),R("millisecond",16),Z("S",rr,Jo),Z("SS",rr,Ko),Z("SSS",rr,Qo);var mi;for(mi="SSSS";mi.length<=9;mi+="S")Z(mi,sr);for(mi="S";mi.length<=9;mi+="S")Q(mi,Kn);var vi=rt("Milliseconds",!1);H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var gi=_.prototype;gi.add=ii,gi.calendar=sn,gi.clone=cn,gi.diff=mn,gi.endOf=$n,gi.format=bn,gi.from=wn,gi.fromNow=xn,gi.to=kn,gi.toNow=Sn,gi.get=st,gi.invalidAt=Rn,gi.isAfter=un,gi.isBefore=ln,gi.isBetween=fn,gi.isSame=dn,gi.isSameOrAfter=pn,gi.isSameOrBefore=hn,gi.isValid=Nn,gi.lang=si,gi.locale=On,gi.localeData=Tn,gi.max=Xr,gi.min=Qr,gi.parsingFlags=Wn,gi.set=ct,gi.startOf=An,gi.subtract=ai,gi.toArray=Pn,gi.toObject=In,gi.toDate=Ln,gi.toISOString=yn,gi.inspect=_n,gi.toJSON=Yn,gi.toString=gn,gi.unix=jn,gi.valueOf=En,gi.creationData=Fn,gi.year=Or,gi.isLeapYear=ot,gi.weekYear=Hn,gi.isoWeekYear=Gn,gi.quarter=gi.quarters=qn,gi.month=vt,gi.daysInMonth=gt,gi.week=gi.weeks=At,gi.isoWeek=gi.isoWeeks=$t,gi.weeksInYear=Bn,gi.isoWeeksInYear=Vn,gi.date=di,gi.day=gi.days=Rt,gi.weekday=Ft,gi.isoWeekday=Ut,gi.dayOfYear=Jn,gi.hour=gi.hours=Rr,gi.minute=gi.minutes=pi,gi.second=gi.seconds=hi,gi.millisecond=gi.milliseconds=vi,gi.utcOffset=Ue,gi.utc=Ge,gi.local=Ve,gi.parseZone=Be,gi.hasAlignedHourOffset=ze,gi.isDST=Ze,gi.isLocal=Je,gi.isUtcOffset=Ke,gi.isUtc=Qe,gi.isUTC=Qe,gi.zoneAbbr=Qn,gi.zoneName=Xn,gi.dates=O("dates accessor is deprecated. Use date instead.",di),gi.months=O("months accessor is deprecated. Use month instead",vt),gi.years=O("years accessor is deprecated. Use year instead",Or),gi.zone=O("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",He),gi.isDSTShifted=O("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",qe);var yi=A.prototype;yi.calendar=$,yi.longDateFormat=E,yi.invalidDate=j,yi.ordinal=L,yi.preparse=no,yi.postformat=no,yi.relativeTime=P,yi.pastFuture=I,yi.set=C,yi.months=ft,yi.monthsShort=dt,yi.monthsParse=ht,yi.monthsRegex=_t,yi.monthsShortRegex=yt,yi.week=Mt,yi.firstDayOfYear=Dt,yi.firstDayOfWeek=Ct,yi.weekdays=Pt,yi.weekdaysMin=Yt,yi.weekdaysShort=It,yi.weekdaysParse=Wt,yi.weekdaysRegex=Ht,yi.weekdaysShortRegex=Gt,yi.weekdaysMinRegex=Vt,yi.isPM=Kt,yi.meridiem=Qt,ne("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===x(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),e.lang=O("moment.lang is deprecated. Use moment.locale instead.",ne),e.langData=O("moment.langData is deprecated. Use moment.localeData instead.",ie);var _i=Math.abs,bi=xo("ms"),wi=xo("s"),xi=xo("m"),ki=xo("h"),Si=xo("d"),Oi=xo("w"),Ti=xo("M"),Mi=xo("Q"),Ci=xo("y"),Di=Oo("milliseconds"),Ai=Oo("seconds"),$i=Oo("minutes"),Ei=Oo("hours"),ji=Oo("days"),Li=Oo("months"),Pi=Oo("years"),Ii=Math.round,Yi={ss:44,s:45,m:45,h:22,d:26,M:11},Ni=Math.abs,Wi=Pe.prototype;return Wi.isValid=je,Wi.abs=fo,Wi.add=ho,Wi.subtract=mo,Wi.as=bo,Wi.asMilliseconds=bi,Wi.asSeconds=wi,Wi.asMinutes=xi,Wi.asHours=ki,Wi.asDays=Si,Wi.asWeeks=Oi,Wi.asMonths=Ti,Wi.asQuarters=Mi,Wi.asYears=Ci,Wi.valueOf=wo,Wi._bubble=go,Wi.clone=ko,Wi.get=So,Wi.milliseconds=Di,Wi.seconds=Ai,Wi.minutes=$i,Wi.hours=Ei,Wi.days=ji,Wi.weeks=To,Wi.months=Li,Wi.years=Pi,Wi.humanize=$o,Wi.toISOString=jo,Wi.toString=jo,Wi.toJSON=jo,Wi.locale=On,Wi.localeData=Tn,Wi.toIsoString=O("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",jo),Wi.lang=si,H("X",0,0,"unix"),H("x",0,0,"valueOf"),Z("x",cr),Z("X",fr),Q("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),Q("x",function(t,e,n){n._d=new Date(x(t))}),e.version="2.24.0",function(t){Lo=t}(Ce),e.fn=gi,e.min=Ae,e.max=$e,e.now=ti,e.utc=p,e.unix=to,e.months=ao,e.isDate=u,e.locale=ne,e.invalid=g,e.duration=Xe,e.isMoment=b,e.weekdays=co,e.parseZone=eo,e.localeData=ie,e.isDuration=Ie,e.monthsShort=so,e.weekdaysMin=lo,e.defineLocale=oe,e.updateLocale=re,e.locales=ae,e.weekdaysShort=uo,e.normalizeUnits=N,e.relativeTimeRounding=Do,e.relativeTimeThreshold=Ao,e.calendarFormat=an,e.prototype=gi,e.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},e})}),a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s={install:function(t,e){var n=e&&e.moment?e.moment:i;Object.defineProperties(t.prototype,{$moment:{get:function(){return n}}}),t.moment=n,t.filter("moment",function(){function t(){for(var e=arguments,o=arguments.length,r=Array(o),i=0;i<o;i++)r[i]=e[i];r=Array.prototype.slice.call(r);var s=r.shift();switch(s){case"add":for(var u=r.shift().split(",").map(Function.prototype.call,String.prototype.trim),l={},f=0;f<u.length;f++){var d=u[f].split(" ");l[d[1]]=d[0]}c.add(l);break;case"subtract":for(var p=r.shift().split(",").map(Function.prototype.call,String.prototype.trim),h={},m=0;m<p.length;m++){var v=p[m].split(" ");h[v[1]]=v[0]}c.subtract(h);break;case"from":var g="now",y=!1;"now"===r[0]&&r.shift(),n(r[0]).isValid()&&(g=n(r.shift())),!0===r[0]&&(r.shift(),y=!0),c="now"!==g?c.from(g,y):c.fromNow(y);break;case"diff":var _=n(),b="",w=!1;n(r[0]).isValid()?_=n(r.shift()):null!==r[0]&&"now"!==r[0]||r.shift(),r[0]&&(b=r.shift()),!0===r[0]&&(w=r.shift()),c=c.diff(_,b,w);break;case"calendar":var x=n(),k={};n(r[0]).isValid()?x=n(r.shift()):null!==r[0]&&"now"!==r[0]||r.shift(),"object"===a(r[0])&&(k=r.shift()),c=c.calendar(x,k);break;case"utc":c.utc();break;case"timezone":c.tz(r.shift());break;default:var S=s;c=c.format(S)}r.length&&t.apply(t,r)}for(var e=arguments,o=arguments.length,r=Array(o),i=0;i<o;i++)r[i]=e[i];r=Array.prototype.slice.call(r);var s=r.shift(),c=void 0;return c=Array.isArray(s)&&"string"==typeof s[0]?n(s[0],s[1],!0):"number"==typeof s&&s.toString().length<12?n.unix(s):n(s),s&&c.isValid()?(t.apply(t,r),c):(console.warn("Could not build a valid `moment` object from input."),s)}),t.filter("duration",function(){function t(t){Array.isArray(t)||(t=[t]);var e=n.duration.apply(n,o(t));return e.isValid()||console.warn("Could not build a valid `duration` object from input."),e}for(var e=arguments,r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=e[a];i=Array.prototype.slice.call(i);var s=i.shift(),c=i.shift(),u=t(s);if("add"===c||"subtract"===c){var l=t(i);u[c](l)}else if(u&&u[c]){var f;u=(f=u)[c].apply(f,o(i))}return u})}},c=s.install;e.default=s,e.install=c,Object.defineProperty(e,"__esModule",{value:!0})})}).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(31);"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-contents{min-width:960px}.opinionstage-content-popup-contents[data-opinionstage-client-logged-in=""]{max-width:680px;min-width:680px}.opinionstage-content-popup-contents[data-opinionstage-client-logged-in=""] .main-title{font-size:20px}.opinionstage-content-popup-contents[data-opinionstage-client-logged-in=""] .page-content{margin:0 auto;padding:40px 30px}.opinionstage-content-popup-contents[data-opinionstage-client-logged-in=""] .page-content #os-start-login{margin-top:30px}.opinionstage-content-popup-contents *{margin:0;padding:0;-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;width:100%;margin:auto;padding:0 10px}.opinionstage-content-popup-contents .header__container.mw-1000{margin-left:0;max-width:1000px}.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__list .opinionstage-item-action-container{padding:25px 0}.opinionstage-content-popup-contents .content__loading{text-align:center}.opinionstage-content-popup-contents .content__itm{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;position:relative;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__info-title{font-weight:600}.opinionstage-content-popup-contents .content__info .opinionstage-draft{color:#f46368;text-transform:capitalize;font-size:80%}.opinionstage-content-popup-contents .content__info .icon-os-status-open{color:#3aaebd}.opinionstage-content-popup-contents .content__info .icon-os-status-closed{color:#f46368}.opinionstage-content-popup-contents .opinionstage-with-separator:before{content:"";margin:0 10px;height:100%;border-left:1px solid #b1b1b1}.opinionstage-content-popup-contents .content__info-details{position:absolute;bottom:0;font-size:13px;color:#b1b1b1}.opinionstage-content-popup-contents .content__info-details span{color:#b1b1b1}.opinionstage-content-popup-contents .content__links{background:none;display:inline-block;float:right;text-align:right;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 .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-radius:5px;color:#fff;cursor:pointer;display:inline-block;font:27px/48px Open Sans,Helvetica,sans-serif;margin-left:20px;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:#38aebd;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:#38aebd;border-radius:3px;border-style:hidden;width:95px;margin-right:15px}.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:12px;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:"\\E958";-webkit-transform:rotate(-90deg);transform:rotate(-90deg);display:block;font-family:os-icon-plugin-plugin-font;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:"";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:"\\E958";-webkit-transform:rotate(-90deg);transform:rotate(-90deg);display:block;font-family:os-icon-plugin-plugin-font;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}.opinionstage-content-popup-contents .opinionstage-anchors-list .filter__itm{padding:0}.opinionstage-content-popup-contents .opinionstage-anchors-list .filter__itm:hover a{color:#fff}.opinionstage-content-popup-contents .opinionstage-anchors-list a{padding:5px 10px 5px 20px;display:block;text-decoration:none;width:100%}.opinionstage-content-popup-contents .selected-draft__container{position:absolute;left:0;top:0;height:100%;width:100%;background-color:rgba(0,0,0,.8);z-index:9999}.opinionstage-content-popup-contents .selected-draft__container>div{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border-radius:6px;overflow:hidden;background-color:#fff;padding:25px 35px}.opinionstage-content-popup-contents .selected-draft__message{background-color:#f5f5f5;width:650px;padding:25px 35px;margin-top:20px}.opinionstage-content-popup-contents .selected-draft__message p{font-size:16px}.opinionstage-content-popup-contents .selected-draft__message a{color:#32adbc}.opinionstage-content-popup-contents .opinionstage-close{position:absolute;right:16px;top:12px;width:20px;height:20px;cursor:pointer}.opinionstage-content-popup-contents .opinionstage-close:after,.opinionstage-content-popup-contents .opinionstage-close:before{position:absolute;left:15px;content:" ";height:17px;width:2px;background-color:#b1b1b1}.opinionstage-content-popup-contents .opinionstage-close:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.opinionstage-content-popup-contents .opinionstage-close:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.opinionstage-my-items-view section{background:#fff}.opinionstage-my-items-view .opinionstage-section-notification,.opinionstage-my-items-view .page-content{width:1000px;margin-left:0}',""])},function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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(5),a=function(t){return t&&t.__esModule?t:{default:t}}(i),s=n(2);window.OpinionStage&&void 0!==OpinionStage.contentPopup&&console.warn("[OpinionStage] content-popup APIs was already included"),function(t,e){var n=function(){function t(){o(this,t),this.app=void 0}return r(t,[{key:"show",value:function(t){"function"!=typeof t&&(t=function(){});var n=e("[data-opinionstage-content-popup-template]").html();e("[opinionstage-my-items-view]").html(n),this.app||(this.app=new a.default),this.app.widgetType=s.WIDGET_ALL,this.app.isModalOpened=!0,this.app.isMyItemsPage=!0,this.app.widgetSelectCb=t}}]),t}();t.widgetList=new n,t.widgetList.WIDGET_ALL=s.WIDGET_ALL}(window.OpinionStage=window.OpinionStage||{},jQuery)}]);
|
admin/js/menu-page.js
CHANGED
@@ -1,159 +1,26 @@
|
|
1 |
jQuery(document).ready(function ($) {
|
2 |
-
|
3 |
-
|
4 |
-
this.cache = {
|
5 |
-
$messageLoading: $('#opinionstage-my-items-loading-message'),
|
6 |
-
$messageNoItemsFound: $('#opinionstage-my-items-no-items'),
|
7 |
-
$buttonLoadMore: $('#opinionstage-load-more'),
|
8 |
-
$table: $('#opinionstage-items-table'),
|
9 |
-
$loadtPage: 1,
|
10 |
-
$searchField: $('#opinionstage-my-items-search-field'),
|
11 |
-
$failedLoadItemsMessage: $('#opinionstage-failed-load-items-request'),
|
12 |
-
searchTerm: '',
|
13 |
-
$modal: $('#opinionistage-my-items-page-modal-wrapper'),
|
14 |
-
$modalShortcodeTextarea: $('#opinionstage-widget-shortcode'),
|
15 |
-
$closeModalButton: $('#opinionstage-dialog-close'),
|
16 |
-
$widgetType: $('#itemList').val() ? $('#itemList').val() : 'all'
|
17 |
-
}
|
18 |
-
},
|
19 |
-
loadItems: function (override, firstLoad) {
|
20 |
-
if (override === undefined) {
|
21 |
-
override = true
|
22 |
-
}
|
23 |
-
if (firstLoad === undefined) {
|
24 |
-
firstLoad = false
|
25 |
-
}
|
26 |
-
var self = this
|
27 |
-
if (override) {
|
28 |
-
self.cache.$table.html('')
|
29 |
-
self.cache.$messageLoading.show()
|
30 |
-
self.cache.$messageNoItemsFound.hide()
|
31 |
-
}
|
32 |
-
self.cache.$buttonLoadMore.hide()
|
33 |
-
self.cache.$failedLoadItemsMessage.hide()
|
34 |
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
action: 'opinionstage_ajax_load_my_items',
|
40 |
-
type: self.cache.$widgetType,
|
41 |
-
per_page: 10,
|
42 |
-
page: self.cache.$loadtPage,
|
43 |
-
title_like: self.cache.searchTerm,
|
44 |
-
security: OPINIONSTAGE.myItemsNonce
|
45 |
-
},
|
46 |
-
success: function (response) {
|
47 |
-
self.cache.$messageLoading.hide()
|
48 |
-
if (response.success) {
|
49 |
-
if (response.html.length > 0) {
|
50 |
-
self.renderResults(response.html, override)
|
51 |
-
if (response.nextPage) {
|
52 |
-
self.cache.$buttonLoadMore.show()
|
53 |
-
self.cache.$loadtPage = response.nextPage
|
54 |
-
} else {
|
55 |
-
self.cache.$buttonLoadMore.hide()
|
56 |
-
}
|
57 |
-
} else {
|
58 |
-
if (firstLoad) {
|
59 |
-
$('.opinionstage-item-view-dashboard').hide()
|
60 |
-
$('.opinionstage-dashboard-left').show()
|
61 |
-
}
|
62 |
-
self.cache.$messageNoItemsFound.show()
|
63 |
-
}
|
64 |
-
} else {
|
65 |
-
self.cache.$failedLoadItemsMessage.show()
|
66 |
-
}
|
67 |
-
}
|
68 |
-
})
|
69 |
-
},
|
70 |
-
|
71 |
-
bindEvents: function () {
|
72 |
-
var self = this
|
73 |
-
self.cache.$buttonLoadMore.on('click', function (e) {
|
74 |
-
e.preventDefault()
|
75 |
-
self.loadItems(false)
|
76 |
-
})
|
77 |
-
|
78 |
-
$('#itemList').on('change', function (e) {
|
79 |
-
e.preventDefault()
|
80 |
-
self.cache.$loadtPage = 1
|
81 |
-
self.cache.$searchField.val('')
|
82 |
-
self.cache.searchTerm = ''
|
83 |
-
self.cache.$widgetType = $(this).val()
|
84 |
-
self.loadItems()
|
85 |
-
})
|
86 |
-
|
87 |
-
self.cache.$searchField.on("keyup", function (e) {
|
88 |
-
if (e.key === 'Enter') {
|
89 |
-
self.cache.searchTerm = $(this).val()
|
90 |
-
self.cache.$loadtPage = 1
|
91 |
-
self.loadItems()
|
92 |
-
}
|
93 |
-
})
|
94 |
-
|
95 |
-
$('body').on('click', '.opinionstage-open-modal', function (e) {
|
96 |
-
e.preventDefault()
|
97 |
-
|
98 |
-
var $modalPublishedDetails = $('#published-item-details')
|
99 |
-
var $modalEditLink = $('#opinionstage-modal-edit-link')
|
100 |
-
var $modalDraftDetails = $('#draft-item-details')
|
101 |
-
var $this = $(this)
|
102 |
-
if ($this.data('is-draft')) {
|
103 |
-
$modalPublishedDetails.hide()
|
104 |
-
$modalEditLink.attr('href', $this.data('edit-url'))
|
105 |
-
$modalDraftDetails.show()
|
106 |
-
} else {
|
107 |
-
$modalDraftDetails.hide()
|
108 |
-
$modalEditLink.attr('href', '#')
|
109 |
-
$modalPublishedDetails.show()
|
110 |
-
$(self.cache.$modalShortcodeTextarea).val($this.data('shortcode'))
|
111 |
-
}
|
112 |
-
|
113 |
-
|
114 |
-
self.cache.$modal.fadeIn()
|
115 |
-
})
|
116 |
-
|
117 |
-
self.cache.$modal.on('click', function (e) {
|
118 |
-
if ($(e.target).is(self.cache.$modal)) {
|
119 |
-
self.cache.$modal.fadeOut(function () {
|
120 |
-
$(self.cache.$modalShortcodeTextarea).val('')
|
121 |
-
})
|
122 |
-
}
|
123 |
-
})
|
124 |
-
self.cache.$closeModalButton.on('click', function (e) {
|
125 |
-
self.cache.$modal.fadeOut(function () {
|
126 |
-
$(self.cache.$modalShortcodeTextarea).val('')
|
127 |
-
})
|
128 |
-
})
|
129 |
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
$(
|
134 |
-
document.execCommand("copy")
|
135 |
})
|
136 |
-
}
|
137 |
|
138 |
-
|
139 |
-
var self = this
|
140 |
-
var html = override ? '' : self.cache.$table.html()
|
141 |
-
html += html_ajax
|
142 |
-
self.cache.$table.html(html)
|
143 |
-
},
|
144 |
|
145 |
-
|
146 |
-
|
147 |
-
this.
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
if ($('.opinionstage-item-view-dashboard').length > 0) {
|
153 |
-
OpinionstageMyItems.init()
|
154 |
}
|
155 |
-
|
156 |
-
$('a.opinionstage-disabled-link').click(function (e) {
|
157 |
-
e.preventDefault()
|
158 |
-
})
|
159 |
})
|
1 |
jQuery(document).ready(function ($) {
|
2 |
+
if( $('[data-opinionstage-content-popup-template]').length > 0 ) {
|
3 |
+
var $modal = $('#opinionistage-my-items-page-modal-wrapper')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
5 |
+
function showModal(selectedWidgetData) {
|
6 |
+
$modal.find('#opinionstage-widget-shortcode').val(selectedWidgetData.shortcode)
|
7 |
+
$modal.fadeIn()
|
8 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
+
$('#opinionstage-dialog-close').on('click', function (e) {
|
11 |
+
e.preventDefault()
|
12 |
+
$modal.fadeOut(function () {
|
13 |
+
$(this).find('#opinionstage-widget-shortcode').val('')
|
|
|
14 |
})
|
15 |
+
})
|
16 |
|
17 |
+
OpinionStage.widgetList.show(showModal)
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
+
$("body").on("click", '[data-copy-text-from]', function (e) {
|
20 |
+
e.preventDefault()
|
21 |
+
var t = $(this).data().copyTextFrom
|
22 |
+
$("[" + t + "]")[0].select()
|
23 |
+
document.execCommand("copy")
|
24 |
+
})
|
|
|
|
|
|
|
25 |
}
|
|
|
|
|
|
|
|
|
26 |
})
|
admin/menu-page.php
CHANGED
@@ -49,3 +49,18 @@ function opinionstage_load_template() {
|
|
49 |
$OSAPL = OpinionStageAdminPageLoader::get_instance();
|
50 |
$OSAPL->maybe_load_template_file();
|
51 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
$OSAPL = OpinionStageAdminPageLoader::get_instance();
|
50 |
$OSAPL->maybe_load_template_file();
|
51 |
}
|
52 |
+
|
53 |
+
|
54 |
+
/**
|
55 |
+
* Helper function
|
56 |
+
*
|
57 |
+
* @return bool
|
58 |
+
*/
|
59 |
+
function opinionstage_is_my_items_admin_page() {
|
60 |
+
$out = false;
|
61 |
+
if ( function_exists( 'get_current_screen' ) ) {
|
62 |
+
$current_screen = get_current_screen();
|
63 |
+
$out = 'toplevel_page_opinionstage-settings' === $current_screen->id;
|
64 |
+
}
|
65 |
+
return $out;
|
66 |
+
}
|
admin/resources/common.php
CHANGED
@@ -11,21 +11,21 @@ defined( 'ABSPATH' ) || die();
|
|
11 |
* Registers common assets
|
12 |
*/
|
13 |
function opinionstage_common_load_resources() {
|
14 |
-
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
|
|
17 |
|
18 |
-
|
19 |
-
|
20 |
-
'OPINIONSTAGE',
|
21 |
-
array(
|
22 |
-
'myItemsNonce' => wp_create_nonce( 'opinionstage-load-my-items' ),
|
23 |
-
)
|
24 |
-
);
|
25 |
|
26 |
-
|
27 |
-
|
28 |
-
|
|
|
29 |
}
|
30 |
|
31 |
function opinionstage_common_load_header() {
|
11 |
* Registers common assets
|
12 |
*/
|
13 |
function opinionstage_common_load_resources() {
|
14 |
+
$current_screen = get_current_screen();
|
15 |
+
if (
|
16 |
+
'toplevel_page_opinionstage-settings' === $current_screen->id
|
17 |
+
|| 'opinion-stage_page_opinionstage-help-resource' === $current_screen->id
|
18 |
+
|| 'toplevel_page_opinionstage-getting-started' === $current_screen->id
|
19 |
+
) {
|
20 |
+
opinionstage_register_css_asset( 'menu-page', 'menu-page.css' );
|
21 |
|
22 |
+
opinionstage_enqueue_css_asset( 'menu-page' );
|
23 |
+
}
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
+
if ( opinionstage_is_my_items_admin_page() ) {
|
26 |
+
opinionstage_register_javascript_asset( 'menu-page', 'menu-page.js', array( 'jquery' ) );
|
27 |
+
opinionstage_enqueue_js_asset( 'menu-page' );
|
28 |
+
}
|
29 |
}
|
30 |
|
31 |
function opinionstage_common_load_header() {
|
admin/template-parts/my-items-tbody-element.php
DELETED
@@ -1,51 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Table Element on My Items page
|
4 |
-
*
|
5 |
-
* @package OpinionStageWordPressPlugin
|
6 |
-
*/
|
7 |
-
?>
|
8 |
-
<tbody>
|
9 |
-
<tr class="item-wrapper">
|
10 |
-
<td class="image">
|
11 |
-
<a href="<?php echo esc_url( $item->landing_page_url ); ?>" target="_blank">
|
12 |
-
<div class="content-item-image quiz">
|
13 |
-
<img height="90" src="<?php echo esc_url( $item->image_url ); ?>" width="120">
|
14 |
-
<div class="content-item-label"><?php echo esc_html( $item->type ); ?></div>
|
15 |
-
</div>
|
16 |
-
</a>
|
17 |
-
</td>
|
18 |
-
<td class="long">
|
19 |
-
<div><a
|
20 |
-
href="<?php echo esc_url( $item->edit_url ); ?>"
|
21 |
-
target="_blank">
|
22 |
-
<?php if ( $item->is_draft ) { ?>
|
23 |
-
<span class="opinionstage-draft"><?php esc_html_e( 'draft', 'social-polls-by-opinionstage' ); ?></span>
|
24 |
-
<?php } ?>
|
25 |
-
<?php echo sprintf( '<span class="opinionstage-item-title">%s</span>', esc_html( $item->title ) ); ?>
|
26 |
-
</a>
|
27 |
-
<table>
|
28 |
-
<tr>
|
29 |
-
<td><span class="os-icon-plugin icon-os-common-date"></span>
|
30 |
-
<div class="label"><?php echo esc_html( gmdate( 'j F Y', strtotime( $item->updated_at ) ) ); ?>
|
31 |
-
<?php if ( $item->is_closed ) { ?>
|
32 |
-
<span class="opinionstage-with-separator"><span class="icon-os-status-closed"></span><?php esc_html_e( 'closed', 'social-polls-by-opinionstage' ); ?></span>
|
33 |
-
<?php } elseif ( $item->is_open ) { ?>
|
34 |
-
<span class="opinionstage-with-separator"><span class="icon-os-status-open"></span><?php esc_html_e( 'open', 'social-polls-by-opinionstage' ); ?></span>
|
35 |
-
<?php } ?>
|
36 |
-
</div>
|
37 |
-
</td>
|
38 |
-
</tr>
|
39 |
-
</table>
|
40 |
-
</div>
|
41 |
-
</td>
|
42 |
-
<td class="action">
|
43 |
-
<div class="opinionstage-item-action-container">
|
44 |
-
<a href="#" class="opinionstage-blue-bordered-btn opinionstage-edit-content opinionstage-open-modal" data-is-draft="<?php echo esc_attr( $item->is_draft ); ?>" data-edit-url="<?php echo esc_attr( $item->edit_url ); ?>" data-shortcode='<?php echo esc_attr( htmlspecialchars( $item->shortcode, ENT_QUOTES ) ); ?>'
|
45 |
-
> <?php esc_html_e( 'Add To Site', 'social-polls-by-opinionstage' ); ?> </a>
|
46 |
-
<a href="<?php echo esc_url( $item->edit_url ); ?>" class="opinionstage-blue-bordered-btn opinionstage-edit-content " target="_blank"> <?php esc_html_e( 'Edit', 'social-polls-by-opinionstage' ); ?> </a>
|
47 |
-
<a href="<?php echo esc_url( $item->stats_url ); ?>" class="opinionstage-blue-bordered-btn opinionstage-edit-content " target="_blank"> <?php esc_html_e( 'Results', 'social-polls-by-opinionstage' ); ?> </a>
|
48 |
-
</div>
|
49 |
-
</td>
|
50 |
-
</tr>
|
51 |
-
</tbody>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/template-parts/vue/create-screen.php
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Create Screen template.
|
4 |
+
*
|
5 |
+
* @package OpinionStageWordPressPlugin
|
6 |
+
*/
|
7 |
+
|
8 |
+
?>
|
9 |
+
<div class="opinionstage-dashboard">
|
10 |
+
<div class="opinionstage-dashboard-left">
|
11 |
+
<div id="opinionstage-section-create" class="opinionstage-dashboard-section">
|
12 |
+
<div class="opinionstage-section-header">
|
13 |
+
<div class="opinionstage-section-title"><?php esc_html_e( 'Create', 'social-polls-by-opinionstage' ); ?></div>
|
14 |
+
</div>
|
15 |
+
<div class="opinionstage-section-content">
|
16 |
+
<div class="opinionstage-section-raw">
|
17 |
+
<div class="opinionstage-section-cell opinionstage-icon-cell">
|
18 |
+
<div class="os-icon-plugin"><img
|
19 |
+
src="<?php echo esc_url( plugins_url( '../images/poll.png', dirname( __FILE__ ) ) ); ?>">
|
20 |
+
</div>
|
21 |
+
</div>
|
22 |
+
<div class="opinionstage-section-cell opinionstage-description-cell">
|
23 |
+
<div class="title"><?php esc_html_e( 'Poll', 'social-polls-by-opinionstage' ); ?></div>
|
24 |
+
<div class="example"><?php esc_html_e( 'Ask one question and define several answer choices', 'social-polls-by-opinionstage' ); ?></div>
|
25 |
+
</div>
|
26 |
+
<div class="opinionstage-section-cell opinionstage-btn-cell">
|
27 |
+
<?php echo opinionstage_create_poll_link( 'opinionstage-blue-btn', __( 'From scratch', 'social-polls-by-opinionstage' ) ); ?>
|
28 |
+
<a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( 'polls' ) ); ?>"
|
29 |
+
class="opinionstage-blue-btn border"
|
30 |
+
target="_blank"><?php esc_html_e( 'From Template' ); ?></a>
|
31 |
+
</div>
|
32 |
+
</div>
|
33 |
+
<div class="opinionstage-section-raw">
|
34 |
+
<div class="opinionstage-section-cell opinionstage-icon-cell">
|
35 |
+
<div class="os-icon-plugin"><img
|
36 |
+
src="<?php echo esc_url( plugins_url( '../images/survey.png', dirname( __FILE__ ) ) ); ?>">
|
37 |
+
</div>
|
38 |
+
</div>
|
39 |
+
<div class="opinionstage-section-cell opinionstage-description-cell">
|
40 |
+
<div class="title"><?php esc_html_e( 'Survey', 'social-polls-by-opinionstage' ); ?></div>
|
41 |
+
<div class="example"><?php esc_html_e( 'Ask multiple questions from a range of question types', 'social-polls-by-opinionstage' ); ?></div>
|
42 |
+
</div>
|
43 |
+
<div class="opinionstage-section-cell opinionstage-btn-cell">
|
44 |
+
<?php echo opinionstage_create_survey_link( 'opinionstage-blue-btn', __( 'From scratch', 'social-polls-by-opinionstage' ) ); ?>
|
45 |
+
<a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( 'surveys' ) ); ?>"
|
46 |
+
class="opinionstage-blue-btn border"
|
47 |
+
target="_blank"><?php esc_html_e( 'From Template' ); ?></a>
|
48 |
+
</div>
|
49 |
+
</div>
|
50 |
+
<div class="opinionstage-section-raw">
|
51 |
+
<div class="opinionstage-section-cell opinionstage-icon-cell">
|
52 |
+
<div class="os-icon-plugin"><img
|
53 |
+
src="<?php echo esc_url( plugins_url( '../images/trivia.png', dirname( __FILE__ ) ) ); ?>">
|
54 |
+
</div>
|
55 |
+
</div>
|
56 |
+
<div class="opinionstage-section-cell opinionstage-description-cell">
|
57 |
+
<div class="title"><?php esc_html_e( 'Trivia Quiz', 'social-polls-by-opinionstage' ); ?></div>
|
58 |
+
<div class="example"><?php esc_html_e( 'Create a knowledge test or assessment', 'social-polls-by-opinionstage' ); ?></div>
|
59 |
+
</div>
|
60 |
+
<div class="opinionstage-section-cell opinionstage-btn-cell">
|
61 |
+
<?php echo opinionstage_create_trivia_link( 'opinionstage-blue-btn', __( 'From scratch', 'social-polls-by-opinionstage' ) ); ?>
|
62 |
+
<a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( 'trivia_quizzes' ) ); ?>"
|
63 |
+
class="opinionstage-blue-btn border"
|
64 |
+
target="_blank"><?php esc_html_e( 'From Template' ); ?></a>
|
65 |
+
</div>
|
66 |
+
</div>
|
67 |
+
<div class="opinionstage-section-raw">
|
68 |
+
<div class="opinionstage-section-cell opinionstage-icon-cell">
|
69 |
+
<div class="os-icon-plugin"><img
|
70 |
+
src="<?php echo esc_url( plugins_url( '../images/personality.png', dirname( __FILE__ ) ) ); ?>">
|
71 |
+
</div>
|
72 |
+
</div>
|
73 |
+
<div class="opinionstage-section-cell opinionstage-description-cell">
|
74 |
+
<div class="title"><?php esc_html_e( 'Personality Quiz', 'social-polls-by-opinionstage' ); ?></div>
|
75 |
+
<div class="example"><?php esc_html_e( 'Create a personality test or a product/service selector', 'social-polls-by-opinionstage' ); ?></div>
|
76 |
+
</div>
|
77 |
+
<div class="opinionstage-section-cell opinionstage-btn-cell">
|
78 |
+
<?php echo opinionstage_create_personality_link( 'opinionstage-blue-btn', __( 'From scratch', 'social-polls-by-opinionstage' ) ); ?>
|
79 |
+
<a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( 'personality_quizzes' ) ); ?>"
|
80 |
+
class="opinionstage-blue-btn border"
|
81 |
+
target="_blank"><?php esc_html_e( 'From Template' ); ?></a>
|
82 |
+
</div>
|
83 |
+
</div>
|
84 |
+
<div class="opinionstage-section-raw">
|
85 |
+
<div class="opinionstage-section-cell opinionstage-icon-cell">
|
86 |
+
<div class="os-icon-plugin"><img
|
87 |
+
src="<?php echo esc_url( plugins_url( '../images/form.png', dirname( __FILE__ ) ) ); ?>">
|
88 |
+
</div>
|
89 |
+
</div>
|
90 |
+
<div class="opinionstage-section-cell opinionstage-description-cell">
|
91 |
+
<div class="title"><?php esc_html_e( 'Standard Form', 'social-polls-by-opinionstage' ); ?></div>
|
92 |
+
<div class="example"><?php esc_html_e( 'Display all fields on one page (use surveys for interactive forms)', 'social-polls-by-opinionstage' ); ?></div>
|
93 |
+
</div>
|
94 |
+
<div class="opinionstage-section-cell opinionstage-btn-cell">
|
95 |
+
<?php echo opinionstage_create_form_link( 'opinionstage-blue-btn', __( 'From scratch', 'social-polls-by-opinionstage' ) ); ?>
|
96 |
+
<a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( 'classic_forms' ) ); ?>"
|
97 |
+
class="opinionstage-blue-btn border"
|
98 |
+
target="_blank"><?php esc_html_e( 'From Template' ); ?></a>
|
99 |
+
</div>
|
100 |
+
</div>
|
101 |
+
</div>
|
102 |
+
</div>
|
103 |
+
</div>
|
104 |
+
</div>
|
admin/template-parts/vue/widget-list.php
ADDED
@@ -0,0 +1,157 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Widgets List template.
|
4 |
+
*
|
5 |
+
* @package OpinionStageWordPressPlugin
|
6 |
+
*/
|
7 |
+
|
8 |
+
?>
|
9 |
+
<div class='page-content'>
|
10 |
+
<div class='content-actions'>
|
11 |
+
<div class='content-actions__left'>
|
12 |
+
<h1 class="main-title"><?php esc_html_e( 'My Items', 'social-polls-by-opinionstage' ); ?></h1>
|
13 |
+
</div>
|
14 |
+
<div class="content-actions__right">
|
15 |
+
<div class='filter'>
|
16 |
+
<div class="dropdown dropdown_items">
|
17 |
+
<button class="dropbtn"><span>{{ selectedWidgetTitle }}</span></button>
|
18 |
+
<div class="dropdown-content">
|
19 |
+
<div class='filter__itm'
|
20 |
+
@click="selectWidgetType('all')"
|
21 |
+
:class="{ active: selectedWidgetType === 'all' }"
|
22 |
+
><?php esc_html_e( 'all items', 'social-polls-by-opinionstage' ); ?></div>
|
23 |
+
<div class='filter__itm'
|
24 |
+
@click="selectWidgetType('poll')"
|
25 |
+
:class="{ active: selectedWidgetType === 'poll' }"
|
26 |
+
><?php esc_html_e( 'poll', 'social-polls-by-opinionstage' ); ?></div>
|
27 |
+
<div class='filter__itm'
|
28 |
+
@click="selectWidgetType('survey')"
|
29 |
+
:class="{ active: selectedWidgetType === 'survey' }"
|
30 |
+
><?php esc_html_e( 'survey', 'social-polls-by-opinionstage' ); ?></div>
|
31 |
+
<div class='filter__itm'
|
32 |
+
@click="selectWidgetType('trivia')"
|
33 |
+
:class="{ active: selectedWidgetType === 'trivia' }"
|
34 |
+
><?php esc_html_e( 'trivia quiz', 'social-polls-by-opinionstage' ); ?></div>
|
35 |
+
<div class='filter__itm'
|
36 |
+
@click="selectWidgetType('outcome')"
|
37 |
+
:class="{ active: selectedWidgetType === 'outcome' }"
|
38 |
+
><?php esc_html_e( 'personality quiz', 'social-polls-by-opinionstage' ); ?></div>
|
39 |
+
<div class='filter__itm'
|
40 |
+
@click="selectWidgetType('form')"
|
41 |
+
:class="{ active: selectedWidgetType === 'form' }"
|
42 |
+
><?php esc_html_e( 'standard form', 'social-polls-by-opinionstage' ); ?></div>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
</div>
|
46 |
+
<div class="os-search" :class='{ hidden: !showSearch }'>
|
47 |
+
<input
|
48 |
+
class='os-search__input'
|
49 |
+
placeholder='Search...'
|
50 |
+
type='search'
|
51 |
+
v-model='widgetTitleSearch'
|
52 |
+
>
|
53 |
+
<span class="os-search__icon icon-os-plugin-common-search"></span>
|
54 |
+
</div>
|
55 |
+
<div class="content-actions__sep"></div>
|
56 |
+
|
57 |
+
<a href="<?php echo esc_url( add_query_arg( 'w_type', 'all', OPINIONSTAGE_REDIRECT_CREATE_WIDGET_API_UTM ) ); ?>" class="opinionstage-blue-btn" target="_blank"><?php esc_html_e( 'Create', 'social-polls-by-opinionstage' ); ?></a>
|
58 |
+
</div>
|
59 |
+
</div>
|
60 |
+
<div class='content__list'>
|
61 |
+
<div v-if='hasData'>
|
62 |
+
<div class='content__itm' v-for="widget in widgets">
|
63 |
+
<a target="_blank" :href='widget.landingPageUrl'>
|
64 |
+
<div class='content__image'>
|
65 |
+
<img :src='widget.imageUrl'>
|
66 |
+
<div class='content__label'>{{ widget.type }}</div>
|
67 |
+
</div>
|
68 |
+
</a>
|
69 |
+
<div class='content__info'>
|
70 |
+
<span v-if="widget.isDraft"
|
71 |
+
class="opinionstage-draft"><?php esc_html_e( 'draft', 'social-polls-by-opinionstage' ); ?></span>
|
72 |
+
<a target="_blank" :href='widget.editUrl'>
|
73 |
+
<span class="content__info-title">{{ widget.title }}</span>
|
74 |
+
<div class="content__info-details">
|
75 |
+
<span class="os-icon-plugin icon-os-common-date"></span>
|
76 |
+
{{ widget.updatedAt | moment('DD MMMM YYYY') }}
|
77 |
+
<span v-if="widget.isClosed">
|
78 |
+
<span class="opinionstage-with-separator">
|
79 |
+
<span class="icon-os-status-closed"></span>
|
80 |
+
<?php esc_html_e( 'closed', 'social-polls-by-opinionstage' ); ?>
|
81 |
+
</span>
|
82 |
+
</span>
|
83 |
+
<span v-if="widget.isOpen">
|
84 |
+
<span class="opinionstage-with-separator">
|
85 |
+
<span class="icon-os-status-open"></span>
|
86 |
+
<?php esc_html_e( 'open', 'social-polls-by-opinionstage' ); ?>
|
87 |
+
</span>
|
88 |
+
</span>
|
89 |
+
</div>
|
90 |
+
</a>
|
91 |
+
</div>
|
92 |
+
<?php if ( $is_my_items_admin_page ) { ?>
|
93 |
+
<div class="opinionstage-item-action-container">
|
94 |
+
<a href="#" @click="select(widget)"
|
95 |
+
class="opinionstage-blue-bordered-btn opinionstage-edit-content "><?php esc_html_e( 'Add To Site', 'social-polls-by-opinionstage' ); ?></a>
|
96 |
+
<a :href='widget.editUrl' class="opinionstage-blue-bordered-btn opinionstage-edit-content "
|
97 |
+
target="_blank"><?php esc_html_e( 'Edit', 'social-polls-by-opinionstage' ); ?></a>
|
98 |
+
<a :href='widget.statsUrl' class="opinionstage-blue-bordered-btn opinionstage-edit-content "
|
99 |
+
target="_blank"><?php esc_html_e( 'Results', 'social-polls-by-opinionstage' ); ?></a>
|
100 |
+
</div>
|
101 |
+
<?php } else { ?>
|
102 |
+
<div class='content__links'>
|
103 |
+
<button class='popup-content-btn content__links-itm'
|
104 |
+
@click="select(widget)"><?php $is_my_items_admin_page ? esc_html_e( 'Add to site', 'social-polls-by-opinionstage' ) : esc_html_e( 'insert', 'social-polls-by-opinionstage' ); ?></button>
|
105 |
+
<div class="dropdown dropdown-popup-action">
|
106 |
+
<div class="popup-action popup-content-btn"></div>
|
107 |
+
<div class="popup-action-dropdown dropdown-content">
|
108 |
+
<a class='content__links-itm' target="_blank"
|
109 |
+
:href='widget.landingPageUrl'><?php esc_html_e( 'view', 'social-polls-by-opinionstage' ); ?></a>
|
110 |
+
<a class='content__links-itm' target="_blank" :href='widget.editUrl'
|
111 |
+
v-show="!widget.template"><?php esc_html_e( 'edit', 'social-polls-by-opinionstage' ); ?></a>
|
112 |
+
<a class='content__links-itm' target="_blank" :href='widget.statsUrl'
|
113 |
+
v-show="!widget.template"><?php esc_html_e( 'Results', 'social-polls-by-opinionstage' ); ?></a>
|
114 |
+
</div>
|
115 |
+
</div>
|
116 |
+
</div>
|
117 |
+
|
118 |
+
<?php } ?>
|
119 |
+
</div>
|
120 |
+
<div class='content__loading' v-if='dataLoading'>
|
121 |
+
<?php esc_html_e( 'loading...', 'social-polls-by-opinionstage' ); ?>
|
122 |
+
</div>
|
123 |
+
<div v-else>
|
124 |
+
<button
|
125 |
+
class='btn-show-more'
|
126 |
+
v-if='!noMoreData'
|
127 |
+
@click='showMore'
|
128 |
+
><?php esc_html_e( 'Click for more', 'social-polls-by-opinionstage' ); ?></button>
|
129 |
+
</div>
|
130 |
+
</div>
|
131 |
+
<div v-else>
|
132 |
+
<?php esc_html_e( 'No items found', 'social-polls-by-opinionstage' ); ?>
|
133 |
+
</div>
|
134 |
+
</div>
|
135 |
+
<div class="selected-draft" v-if="selectedDraftWidget.editUrl">
|
136 |
+
<div class="selected-draft__container">
|
137 |
+
<div>
|
138 |
+
<span id="opinionstage-dialog-close" class="opinionstage-close" @click="selectedDraftWidget = !selectedDraftWidget"></span>
|
139 |
+
<div class="selected-draft__message">
|
140 |
+
<p>
|
141 |
+
<?php
|
142 |
+
printf(
|
143 |
+
'%s <a :href="selectedDraftWidget.editUrl" target="_ blank">%s</a> %s',
|
144 |
+
esc_html__( 'Widget is not published yet. Please', 'social-polls-by-opinionstage' ),
|
145 |
+
esc_html__( 'edit', 'social-polls-by-opinionstage' ),
|
146 |
+
esc_html__( 'the widget to publish it', 'social-polls-by-opinionstage' )
|
147 |
+
);
|
148 |
+
?>
|
149 |
+
</p>
|
150 |
+
<p>
|
151 |
+
<?php esc_html_e( 'Need Help?', 'social-polls-by-opinionstage' ); ?>
|
152 |
+
<a href="<?php echo esc_url( OPINIONSTAGE_LIVE_CHAT_URL_UTM ); ?>" target="_blank"><?php esc_html_e( 'Contact Us' ); ?></a></p>
|
153 |
+
</div>
|
154 |
+
</div>
|
155 |
+
</div>
|
156 |
+
</div>
|
157 |
+
</div>
|
admin/views/settings.php
CHANGED
@@ -14,169 +14,40 @@ defined( 'ABSPATH' ) || die();
|
|
14 |
}
|
15 |
</style>
|
16 |
<div id="opinionstage-content">
|
17 |
-
<div class="opinionstage-
|
18 |
-
<div class="opinionstage-logo-wrapper">
|
19 |
-
<div class="opinionstage-logo"></div>
|
20 |
-
<?php if ( $os_client_logged_in ) { ?>
|
21 |
-
<div class="opinionstage-connectivity-status"><?php echo esc_html( $os_options['email'] ); ?>
|
22 |
-
<form method="POST" action="<?php echo esc_url( get_admin_url( null, 'admin.php?page=' . OPINIONSTAGE_DISCONNECT_PAGE ) ); ?>" class="opinionstage-connect-form">
|
23 |
-
<button class="opinionstage-disconnect" type="submit"><?php esc_html_e( 'Disconnect', 'social-polls-by-opinionstage' ); ?></button>
|
24 |
-
</form>
|
25 |
-
</div>
|
26 |
-
<?php } ?>
|
27 |
-
</div>
|
28 |
</div>
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
<div id="
|
34 |
-
<
|
35 |
-
|
36 |
-
<
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
<option value="trivia"><?php esc_html_e( 'TRIVIA QUIZ', 'social-polls-by-opinionstage' ); ?></option>
|
44 |
-
<option value="outcome"><?php esc_html_e( 'PERSONALITY QUIZ', 'social-polls-by-opinionstage' ); ?></option>
|
45 |
-
<option value="form"><?php esc_html_e( 'STANDARD FORM', 'social-polls-by-opinionstage' ); ?></option>
|
46 |
-
</select>
|
47 |
-
</div>
|
48 |
-
<div class="search search-container">
|
49 |
-
<input id="opinionstage-my-items-search-field" class="std-input" name="search" placeholder="Search" type="text">
|
50 |
-
</div>
|
51 |
-
</div>
|
52 |
-
|
53 |
-
<div class="select-wrapper">
|
54 |
-
<a href="<?php echo esc_url( add_query_arg( 'w_type', 'all', OPINIONSTAGE_REDIRECT_CREATE_WIDGET_API_UTM ) ); ?>" class="opinionstage-connect-btn opinionstage-blue-btn" target="_blank"><?php esc_html_e( 'Create', 'social-polls-by-opinionstage' ); ?></a>
|
55 |
-
</div>
|
56 |
-
</div>
|
57 |
</div>
|
58 |
</div>
|
59 |
-
<
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
<li><a href="https://help.opinionstage.com/en/articles/5161692-how-to-add-items-to-a-post-page" target="_blank"><?php esc_html_e( 'Add to a post/page', 'social-polls-by-opinionstage' ); ?></a></li>
|
71 |
-
<li><a href="https://help.opinionstage.com/en/articles/5161716-how-to-add-an-item-to-a-sidebar-widget" target="_blank"><?php esc_html_e( 'Add to a sidebar Widget', 'social-polls-by-opinionstage' ); ?></a></li>
|
72 |
-
<li><a href="https://help.opinionstage.com/en/articles/5161746-how-to-add-an-item-as-a-popup-on-wordpress" target="_blank"><?php esc_html_e( 'Add as a popup', 'social-polls-by-opinionstage' ); ?></a></li>
|
73 |
-
<li><a href="https://help.opinionstage.com/en/articles/5161782-how-to-add-an-item-using-the-wordpress-shortcode" target="_blank"><?php esc_html_e( 'Add with the WordPress shortcode', 'social-polls-by-opinionstage' ); ?></a></li>
|
74 |
-
</ul>
|
75 |
-
<div class="opinionstage-textarea-wrapper">
|
76 |
-
<textarea name="opinionstage-widget-shortcode" id="opinionstage-widget-shortcode" data-wp-embed-code rows="2" readonly="readonly"></textarea> <a data-copy-text-from="data-wp-embed-code" href="#" class="no-text-decoration">Copy</a>
|
77 |
-
</div>
|
78 |
-
</div>
|
79 |
-
<div id="draft-item-details">
|
80 |
-
<p>
|
81 |
-
<?php
|
82 |
-
printf(
|
83 |
-
'%s <a href="" id="opinionstage-modal-edit-link" target="_blank">%s</a> %s',
|
84 |
-
esc_html__( 'Widget is not published yet. Please', 'social-polls-by-opinionstage' ),
|
85 |
-
esc_html__( 'edit', 'social-polls-by-opinionstage' ),
|
86 |
-
esc_html__( 'the widget to publish it', 'social-polls-by-opinionstage' )
|
87 |
-
);
|
88 |
-
?>
|
89 |
-
</p>
|
90 |
-
</div>
|
91 |
-
<p>
|
92 |
-
<?php esc_html_e( 'Need Help?', 'social-polls-by-opinionstage' ); ?>
|
93 |
-
<a href="<?php echo esc_url( OPINIONSTAGE_LIVE_CHAT_URL_UTM ); ?>" target="_blank"><?php esc_html_e( 'Contact Us' ); ?></a></p>
|
94 |
-
</p>
|
95 |
-
</div>
|
96 |
-
</div>
|
97 |
-
</div>
|
98 |
-
<p id="opinionstage-failed-load-items-request"><?php esc_html_e( 'An error occurred while loading the items.', 'social-polls-by-opinionstage' ); ?>
|
99 |
-
<a href="<?php echo esc_url( OPINIONSTAGE_LIVE_CHAT_URL_UTM ); ?>" target="_blank"><?php esc_html_e( 'Please contact our chat support for help', 'social-polls-by-opinionstage' ); ?></a></p>
|
100 |
-
<div id="opinionstage-load-more" class="btn btn_aqua btn_full-width"><?php esc_html_e( 'Click for more', 'social-polls-by-opinionstage' ); ?></div>
|
101 |
-
</div>
|
102 |
-
<?php } ?>
|
103 |
-
|
104 |
-
<div class="opinionstage-dashboard-left"
|
105 |
-
<?php
|
106 |
-
if ( $os_client_logged_in ) {
|
107 |
-
?>
|
108 |
-
style="display: none;" <?php } ?>>
|
109 |
-
<div id="opinionstage-section-create" class="opinionstage-dashboard-section">
|
110 |
-
<div class="opinionstage-section-header">
|
111 |
-
<div class="opinionstage-section-title"><?php esc_html_e( 'Create', 'social-polls-by-opinionstage' ); ?></div>
|
112 |
-
</div>
|
113 |
-
<div class="opinionstage-section-content">
|
114 |
-
<div class="opinionstage-section-raw">
|
115 |
-
<div class="opinionstage-section-cell opinionstage-icon-cell">
|
116 |
-
<div class="os-icon-plugin"><img src="<?php echo esc_url( plugins_url( 'images/poll.png', dirname( __FILE__ ) ) ); ?>" ></div>
|
117 |
-
</div>
|
118 |
-
<div class="opinionstage-section-cell opinionstage-description-cell">
|
119 |
-
<div class="title"><?php esc_html_e( 'Poll', 'social-polls-by-opinionstage' ); ?></div>
|
120 |
-
<div class="example"><?php esc_html_e( 'Ask one question and define several answer choices', 'social-polls-by-opinionstage' ); ?></div>
|
121 |
-
</div>
|
122 |
-
<div class="opinionstage-section-cell opinionstage-btn-cell">
|
123 |
-
<?php echo opinionstage_create_poll_link( 'opinionstage-blue-btn', __( 'From scratch', 'social-polls-by-opinionstage' ) ); ?>
|
124 |
-
<a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( 'polls' ) ); ?>" class="opinionstage-blue-btn border" target="_blank"><?php esc_html_e( 'From Template' ); ?></a>
|
125 |
-
</div>
|
126 |
-
</div>
|
127 |
-
<div class="opinionstage-section-raw">
|
128 |
-
<div class="opinionstage-section-cell opinionstage-icon-cell">
|
129 |
-
<div class="os-icon-plugin"><img src="<?php echo esc_url( plugins_url( 'images/survey.png', dirname( __FILE__ ) ) ); ?>" ></div>
|
130 |
-
</div>
|
131 |
-
<div class="opinionstage-section-cell opinionstage-description-cell">
|
132 |
-
<div class="title"><?php esc_html_e( 'Survey', 'social-polls-by-opinionstage' ); ?></div>
|
133 |
-
<div class="example"><?php esc_html_e( 'Ask multiple questions from a range of question types', 'social-polls-by-opinionstage' ); ?></div>
|
134 |
-
</div>
|
135 |
-
<div class="opinionstage-section-cell opinionstage-btn-cell">
|
136 |
-
<?php echo opinionstage_create_survey_link( 'opinionstage-blue-btn', __( 'From scratch', 'social-polls-by-opinionstage' ) ); ?>
|
137 |
-
<a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( 'surveys' ) ); ?>" class="opinionstage-blue-btn border" target="_blank"><?php esc_html_e( 'From Template' ); ?></a>
|
138 |
-
</div>
|
139 |
-
</div>
|
140 |
-
<div class="opinionstage-section-raw">
|
141 |
-
<div class="opinionstage-section-cell opinionstage-icon-cell">
|
142 |
-
<div class="os-icon-plugin"><img src="<?php echo esc_url( plugins_url( 'images/trivia.png', dirname( __FILE__ ) ) ); ?>" ></div>
|
143 |
-
</div>
|
144 |
-
<div class="opinionstage-section-cell opinionstage-description-cell">
|
145 |
-
<div class="title"><?php esc_html_e( 'Trivia Quiz', 'social-polls-by-opinionstage' ); ?></div>
|
146 |
-
<div class="example"><?php esc_html_e( 'Create a knowledge test or assessment', 'social-polls-by-opinionstage' ); ?></div>
|
147 |
-
</div>
|
148 |
-
<div class="opinionstage-section-cell opinionstage-btn-cell">
|
149 |
-
<?php echo opinionstage_create_trivia_link( 'opinionstage-blue-btn', __( 'From scratch', 'social-polls-by-opinionstage' ) ); ?>
|
150 |
-
<a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( 'trivia_quizzes' ) ); ?>" class="opinionstage-blue-btn border" target="_blank"><?php esc_html_e( 'From Template' ); ?></a>
|
151 |
-
</div>
|
152 |
-
</div>
|
153 |
-
<div class="opinionstage-section-raw">
|
154 |
-
<div class="opinionstage-section-cell opinionstage-icon-cell">
|
155 |
-
<div class="os-icon-plugin"><img src="<?php echo esc_url( plugins_url( 'images/personality.png', dirname( __FILE__ ) ) ); ?>" ></div>
|
156 |
-
</div>
|
157 |
-
<div class="opinionstage-section-cell opinionstage-description-cell">
|
158 |
-
<div class="title"><?php esc_html_e( 'Personality Quiz', 'social-polls-by-opinionstage' ); ?></div>
|
159 |
-
<div class="example"><?php esc_html_e( 'Create a personality test or a product/service selector', 'social-polls-by-opinionstage' ); ?></div>
|
160 |
-
</div>
|
161 |
-
<div class="opinionstage-section-cell opinionstage-btn-cell">
|
162 |
-
<?php echo opinionstage_create_personality_link( 'opinionstage-blue-btn', __( 'From scratch', 'social-polls-by-opinionstage' ) ); ?>
|
163 |
-
<a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( 'personality_quizzes' ) ); ?>" class="opinionstage-blue-btn border" target="_blank"><?php esc_html_e( 'From Template' ); ?></a>
|
164 |
-
</div>
|
165 |
-
</div>
|
166 |
-
<div class="opinionstage-section-raw">
|
167 |
-
<div class="opinionstage-section-cell opinionstage-icon-cell">
|
168 |
-
<div class="os-icon-plugin"><img src="<?php echo esc_url( plugins_url( 'images/form.png', dirname( __FILE__ ) ) ); ?>" ></div>
|
169 |
-
</div>
|
170 |
-
<div class="opinionstage-section-cell opinionstage-description-cell">
|
171 |
-
<div class="title"><?php esc_html_e( 'Standard Form', 'social-polls-by-opinionstage' ); ?></div>
|
172 |
-
<div class="example"><?php esc_html_e( 'Display all fields on one page (use surveys for interactive forms)', 'social-polls-by-opinionstage' ); ?></div>
|
173 |
-
</div>
|
174 |
-
<div class="opinionstage-section-cell opinionstage-btn-cell">
|
175 |
-
<?php echo opinionstage_create_form_link( 'opinionstage-blue-btn', __( 'From scratch', 'social-polls-by-opinionstage' ) ); ?>
|
176 |
-
<a href="<?php echo esc_url( opinionstage_get_templates_url_for_type( 'classic_forms' ) ); ?>" class="opinionstage-blue-btn border" target="_blank"><?php esc_html_e( 'From Template' ); ?></a>
|
177 |
-
</div>
|
178 |
-
</div>
|
179 |
</div>
|
|
|
|
|
|
|
|
|
180 |
</div>
|
181 |
</div>
|
182 |
</div>
|
14 |
}
|
15 |
</style>
|
16 |
<div id="opinionstage-content">
|
17 |
+
<div opinionstage-my-items-view class="opinionstage-my-items-view">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
</div>
|
19 |
+
<div id="opinionistage-my-items-page-modal-wrapper">
|
20 |
+
<div class="opinionistage-my-items-page-modal">
|
21 |
+
<div class="inner">
|
22 |
+
<span id="opinionstage-dialog-close" class="opinionstage-close"></span>
|
23 |
+
<div id="published-item-details">
|
24 |
+
<p><?php esc_html_e( 'You can add the item in the following ways:', 'social-polls-by-opinionstage' ); ?></p>
|
25 |
+
<ul>
|
26 |
+
<li><a href="https://help.opinionstage.com/en/articles/5161692-how-to-add-items-to-a-post-page" target="_blank"><?php esc_html_e( 'Add to a post/page', 'social-polls-by-opinionstage' ); ?></a></li>
|
27 |
+
<li><a href="https://help.opinionstage.com/en/articles/5161716-how-to-add-an-item-to-a-sidebar-widget" target="_blank"><?php esc_html_e( 'Add to a sidebar Widget', 'social-polls-by-opinionstage' ); ?></a></li>
|
28 |
+
<li><a href="https://help.opinionstage.com/en/articles/5161746-how-to-add-an-item-as-a-popup-on-wordpress" target="_blank"><?php esc_html_e( 'Add as a popup', 'social-polls-by-opinionstage' ); ?></a></li>
|
29 |
+
<li><a href="https://help.opinionstage.com/en/articles/5161782-how-to-add-an-item-using-the-wordpress-shortcode" target="_blank"><?php esc_html_e( 'Add with the WordPress shortcode', 'social-polls-by-opinionstage' ); ?></a></li>
|
30 |
+
</ul>
|
31 |
+
<div class="opinionstage-textarea-wrapper">
|
32 |
+
<textarea name="opinionstage-widget-shortcode" id="opinionstage-widget-shortcode" data-wp-embed-code rows="2" readonly="readonly"></textarea> <a data-copy-text-from="data-wp-embed-code" href="#" class="no-text-decoration">Copy</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
</div>
|
34 |
</div>
|
35 |
+
<div id="draft-item-details">
|
36 |
+
<p>
|
37 |
+
<?php
|
38 |
+
printf(
|
39 |
+
'%s <a href="" id="opinionstage-modal-edit-link" target="_blank">%s</a> %s',
|
40 |
+
esc_html__( 'Widget is not published yet. Please', 'social-polls-by-opinionstage' ),
|
41 |
+
esc_html__( 'edit', 'social-polls-by-opinionstage' ),
|
42 |
+
esc_html__( 'the widget to publish it', 'social-polls-by-opinionstage' )
|
43 |
+
);
|
44 |
+
?>
|
45 |
+
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
</div>
|
47 |
+
<p>
|
48 |
+
<?php esc_html_e( 'Need Help?', 'social-polls-by-opinionstage' ); ?>
|
49 |
+
<a href="<?php echo esc_url( OPINIONSTAGE_LIVE_CHAT_URL_UTM ); ?>" target="_blank"><?php esc_html_e( 'Contact Us' ); ?></a></p>
|
50 |
+
</p>
|
51 |
</div>
|
52 |
</div>
|
53 |
</div>
|
assets/admin/src/menu-page.scss
CHANGED
@@ -23,6 +23,7 @@ $light_red: #f46368;
|
|
23 |
|
24 |
.opinionstage-logo-wrapper {
|
25 |
padding: 10px 30px;
|
|
|
26 |
}
|
27 |
|
28 |
.opinionstage-logo {
|
@@ -55,13 +56,6 @@ $light_red: #f46368;
|
|
55 |
display: inline-block;
|
56 |
}
|
57 |
|
58 |
-
.opinionstage-connect-btn {
|
59 |
-
padding-bottom: 14.2px !important;
|
60 |
-
padding-top: 14.2px !important;
|
61 |
-
position: relative;
|
62 |
-
cursor: pointer;
|
63 |
-
}
|
64 |
-
|
65 |
.opinionstage-status-title {
|
66 |
font-size: 24px;
|
67 |
font-weight: bold;
|
@@ -77,11 +71,6 @@ $light_red: #f46368;
|
|
77 |
margin-right: 7px;
|
78 |
}
|
79 |
|
80 |
-
#os-switch-email {
|
81 |
-
font-size: 14px;
|
82 |
-
padding: 11px 0;
|
83 |
-
}
|
84 |
-
|
85 |
.opinionstage-blue-btn {
|
86 |
background-color: $blue;
|
87 |
border-radius: 3px;
|
@@ -91,7 +80,7 @@ $light_red: #f46368;
|
|
91 |
font-size: 15px;
|
92 |
font-weight: 600;
|
93 |
min-width: 100px;
|
94 |
-
padding:
|
95 |
text-decoration: none;
|
96 |
text-align: center;
|
97 |
transition: 0.2s ease;
|
@@ -109,10 +98,6 @@ $light_red: #f46368;
|
|
109 |
}
|
110 |
}
|
111 |
|
112 |
-
.opinionstage-create-btn {
|
113 |
-
width: 100px;
|
114 |
-
}
|
115 |
-
|
116 |
a.opinionstage-blue-bordered-btn {
|
117 |
border: 1px solid $blue;
|
118 |
border-radius: 2px;
|
@@ -146,11 +131,6 @@ $light_red: #f46368;
|
|
146 |
overflow: hidden;
|
147 |
}
|
148 |
|
149 |
-
.opinionstage-dashboard-left,
|
150 |
-
.opinionstage-dashboard-right {
|
151 |
-
width: 1000px;
|
152 |
-
}
|
153 |
-
|
154 |
.opinionstage-dashboard-left {
|
155 |
margin: 30px;
|
156 |
.opinionstage-section-header .opinionstage-section-title {
|
@@ -161,40 +141,6 @@ $light_red: #f46368;
|
|
161 |
}
|
162 |
}
|
163 |
|
164 |
-
.opinionstage-dashboard-section {
|
165 |
-
margin-bottom: 30px;
|
166 |
-
}
|
167 |
-
|
168 |
-
.opinionstage-dashboard-section {
|
169 |
-
.opinionstage-section-header {
|
170 |
-
height: 58px;
|
171 |
-
margin-top: 10px;
|
172 |
-
overflow: hidden;
|
173 |
-
|
174 |
-
a {
|
175 |
-
margin: 0;
|
176 |
-
padding: 10px;
|
177 |
-
|
178 |
-
&:focus {
|
179 |
-
box-shadow: none;
|
180 |
-
}
|
181 |
-
}
|
182 |
-
}
|
183 |
-
|
184 |
-
}
|
185 |
-
|
186 |
-
.opinionstage-section-content {
|
187 |
-
display: table;
|
188 |
-
border-collapse: collapse;
|
189 |
-
width: 100%;
|
190 |
-
position: relative;
|
191 |
-
}
|
192 |
-
|
193 |
-
a.opinionstage-help-link {
|
194 |
-
font-size: 18px;
|
195 |
-
text-decoration: none;
|
196 |
-
}
|
197 |
-
|
198 |
#opinionstage-section-create {
|
199 |
.opinionstage-section-content {
|
200 |
height: 435px;
|
@@ -266,15 +212,11 @@ $light_red: #f46368;
|
|
266 |
border-bottom: 1px solid #c8c8c9;
|
267 |
margin: 0 10px;
|
268 |
padding: 25px 0 25px 10px;
|
|
|
|
|
|
|
269 |
}
|
270 |
|
271 |
-
.opinionstage-help-row:last-child {
|
272 |
-
border-bottom: none;
|
273 |
-
}
|
274 |
-
}
|
275 |
-
|
276 |
-
.opinionstage-dashboard-left .opinionstage-create-btn {
|
277 |
-
padding: 12px 10px !important;
|
278 |
}
|
279 |
|
280 |
#opinionstage-content,
|
@@ -288,16 +230,13 @@ $light_red: #f46368;
|
|
288 |
}
|
289 |
}
|
290 |
}
|
291 |
-
.opinionstage-my-items-message {
|
292 |
-
display: none;
|
293 |
-
font-size: 16px;
|
294 |
-
text-align: center;
|
295 |
-
}
|
296 |
|
297 |
-
|
298 |
-
|
299 |
-
font-size: 15px;
|
300 |
text-align: center;
|
|
|
|
|
|
|
301 |
}
|
302 |
|
303 |
.toplevel_page_opinionstage-getting-started {
|
@@ -306,15 +245,6 @@ $light_red: #f46368;
|
|
306 |
padding-left: 0;
|
307 |
}
|
308 |
}
|
309 |
-
.opinionstage-grey-link {
|
310 |
-
display: inline-block;
|
311 |
-
color: #6E6E6E;
|
312 |
-
font-size: 14px;
|
313 |
-
&:hover {
|
314 |
-
color: #6E6E6E;
|
315 |
-
}
|
316 |
-
}
|
317 |
-
|
318 |
.opinionstage-getting-started-section {
|
319 |
padding: 25px;
|
320 |
max-width: 950px;
|
@@ -586,24 +516,6 @@ a.opinionstage-blue-bordered-btn {
|
|
586 |
transition: .2s ease;
|
587 |
}
|
588 |
|
589 |
-
|
590 |
-
.content-item-image.quiz {
|
591 |
-
height: 90px;
|
592 |
-
position: relative;
|
593 |
-
width: 120px;
|
594 |
-
background-repeat: no-repeat;
|
595 |
-
background-size: cover;
|
596 |
-
img {
|
597 |
-
bottom: 0;
|
598 |
-
display: block;
|
599 |
-
height: 90px;
|
600 |
-
opacity: 0.8;
|
601 |
-
position: absolute;
|
602 |
-
right: 0;
|
603 |
-
width: 120px;
|
604 |
-
}
|
605 |
-
}
|
606 |
-
|
607 |
.content-item-label {
|
608 |
background-color: #222120;
|
609 |
color: white;
|
@@ -615,43 +527,6 @@ a.opinionstage-blue-bordered-btn {
|
|
615 |
top: 0;
|
616 |
}
|
617 |
|
618 |
-
tr.item-wrapper {
|
619 |
-
border-top: 1px #e5e5e5 solid;
|
620 |
-
display: table-cell;
|
621 |
-
padding: 10px 0;
|
622 |
-
transition: .2s ease;
|
623 |
-
&:hover {
|
624 |
-
background-color: #f7f7f7;
|
625 |
-
}
|
626 |
-
|
627 |
-
.opinionstage-item-title {
|
628 |
-
font-weight: 600;
|
629 |
-
}
|
630 |
-
|
631 |
-
.icon-os-status-closed,
|
632 |
-
.icon-os-status-open {
|
633 |
-
margin-right: 5px;
|
634 |
-
}
|
635 |
-
.icon-os-status-closed {
|
636 |
-
color: $light_red;
|
637 |
-
}
|
638 |
-
.icon-os-status-open {
|
639 |
-
color: $blue2;
|
640 |
-
}
|
641 |
-
.opinionstage-draft {
|
642 |
-
color: $light_red;
|
643 |
-
text-transform: capitalize;
|
644 |
-
font-size: 80%;
|
645 |
-
}
|
646 |
-
|
647 |
-
@media only screen and (max-width: 768px) {
|
648 |
-
> td {
|
649 |
-
display: block;
|
650 |
-
width: 100%;
|
651 |
-
}
|
652 |
-
}
|
653 |
-
}
|
654 |
-
|
655 |
.opinionstage-with-separator:before {
|
656 |
content: "";
|
657 |
margin: 0 10px;
|
@@ -712,45 +587,8 @@ div#container .opinionstage-section-header {
|
|
712 |
text-decoration: none;
|
713 |
}
|
714 |
|
715 |
-
/* Load More */
|
716 |
-
div#opinionstage-load-more {
|
717 |
-
display: none;
|
718 |
-
cursor: pointer;
|
719 |
-
box-sizing: border-box;
|
720 |
-
display: -ms-inline-flexbox;
|
721 |
-
display: inline-flex;
|
722 |
-
align-items: center;
|
723 |
-
justify-content: center;
|
724 |
-
cursor: pointer;
|
725 |
-
font-size: 14px;
|
726 |
-
line-height: 38px;
|
727 |
-
border: 1px solid #dededd;
|
728 |
-
border-radius: 3px;
|
729 |
-
padding: 0 10px;
|
730 |
-
text-decoration: none;
|
731 |
-
outline: none;
|
732 |
-
transition: 0.2s ease;
|
733 |
-
user-select: none;
|
734 |
-
vertical-align: baseline;
|
735 |
-
color: #38aebd;
|
736 |
-
background-color: transparent;
|
737 |
-
border-color: #38aebd;
|
738 |
-
width: 100%;
|
739 |
-
max-width: 1000px;
|
740 |
-
margin-bottom: 20px;
|
741 |
-
margin-left: 20px;
|
742 |
-
&:hover {
|
743 |
-
text-decoration: none;
|
744 |
-
opacity: 0.8;
|
745 |
-
}
|
746 |
-
}
|
747 |
-
|
748 |
-
td.image {
|
749 |
-
width: 12%;
|
750 |
-
}
|
751 |
-
|
752 |
.opinionstage-connectivity-status {
|
753 |
-
color: #fff;
|
754 |
float: right;
|
755 |
font-size: 15px;
|
756 |
margin: 5px 0;
|
@@ -759,7 +597,7 @@ td.image {
|
|
759 |
.opinionstage-disconnect {
|
760 |
background-color: transparent;
|
761 |
border: none;
|
762 |
-
color: $blue;
|
763 |
cursor: pointer;
|
764 |
&:focus {
|
765 |
border: none;
|
@@ -834,21 +672,6 @@ td.image {
|
|
834 |
}
|
835 |
}
|
836 |
|
837 |
-
|
838 |
-
.opinionstage-item-view-dashboard {
|
839 |
-
.opinionstage-dashboard-section {
|
840 |
-
margin: 0;
|
841 |
-
}
|
842 |
-
#opinionstage-items-table tbody {
|
843 |
-
&:last-child tr.item-wrapper {
|
844 |
-
border-bottom: 1px #e5e5e5 solid;
|
845 |
-
}
|
846 |
-
.action .opinionstage-edit-content:last-child {
|
847 |
-
margin-right: 0;
|
848 |
-
}
|
849 |
-
}
|
850 |
-
}
|
851 |
-
|
852 |
.opinionstage-item-action-container {
|
853 |
float: right;
|
854 |
.opinionstage-edit-content {
|
@@ -1022,6 +845,9 @@ a.help-center-os {
|
|
1022 |
}
|
1023 |
}
|
1024 |
|
|
|
|
|
|
|
1025 |
/* my items page - modal form --end */
|
1026 |
|
1027 |
|
23 |
|
24 |
.opinionstage-logo-wrapper {
|
25 |
padding: 10px 30px;
|
26 |
+
max-width: 780px;
|
27 |
}
|
28 |
|
29 |
.opinionstage-logo {
|
56 |
display: inline-block;
|
57 |
}
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
.opinionstage-status-title {
|
60 |
font-size: 24px;
|
61 |
font-weight: bold;
|
71 |
margin-right: 7px;
|
72 |
}
|
73 |
|
|
|
|
|
|
|
|
|
|
|
74 |
.opinionstage-blue-btn {
|
75 |
background-color: $blue;
|
76 |
border-radius: 3px;
|
80 |
font-size: 15px;
|
81 |
font-weight: 600;
|
82 |
min-width: 100px;
|
83 |
+
padding: 11px 10px;
|
84 |
text-decoration: none;
|
85 |
text-align: center;
|
86 |
transition: 0.2s ease;
|
98 |
}
|
99 |
}
|
100 |
|
|
|
|
|
|
|
|
|
101 |
a.opinionstage-blue-bordered-btn {
|
102 |
border: 1px solid $blue;
|
103 |
border-radius: 2px;
|
131 |
overflow: hidden;
|
132 |
}
|
133 |
|
|
|
|
|
|
|
|
|
|
|
134 |
.opinionstage-dashboard-left {
|
135 |
margin: 30px;
|
136 |
.opinionstage-section-header .opinionstage-section-title {
|
141 |
}
|
142 |
}
|
143 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
#opinionstage-section-create {
|
145 |
.opinionstage-section-content {
|
146 |
height: 435px;
|
212 |
border-bottom: 1px solid #c8c8c9;
|
213 |
margin: 0 10px;
|
214 |
padding: 25px 0 25px 10px;
|
215 |
+
&:last-child {
|
216 |
+
border-bottom: none;
|
217 |
+
}
|
218 |
}
|
219 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
220 |
}
|
221 |
|
222 |
#opinionstage-content,
|
230 |
}
|
231 |
}
|
232 |
}
|
|
|
|
|
|
|
|
|
|
|
233 |
|
234 |
+
|
235 |
+
p.failed-load-items-request {
|
|
|
236 |
text-align: center;
|
237 |
+
font-size: 16px;
|
238 |
+
padding: 15px 0;
|
239 |
+
max-width: 1000px;
|
240 |
}
|
241 |
|
242 |
.toplevel_page_opinionstage-getting-started {
|
245 |
padding-left: 0;
|
246 |
}
|
247 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
248 |
.opinionstage-getting-started-section {
|
249 |
padding: 25px;
|
250 |
max-width: 950px;
|
516 |
transition: .2s ease;
|
517 |
}
|
518 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
519 |
.content-item-label {
|
520 |
background-color: #222120;
|
521 |
color: white;
|
527 |
top: 0;
|
528 |
}
|
529 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
530 |
.opinionstage-with-separator:before {
|
531 |
content: "";
|
532 |
margin: 0 10px;
|
587 |
text-decoration: none;
|
588 |
}
|
589 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
590 |
.opinionstage-connectivity-status {
|
591 |
+
color: #fff !important;
|
592 |
float: right;
|
593 |
font-size: 15px;
|
594 |
margin: 5px 0;
|
597 |
.opinionstage-disconnect {
|
598 |
background-color: transparent;
|
599 |
border: none;
|
600 |
+
color: $blue !important;
|
601 |
cursor: pointer;
|
602 |
&:focus {
|
603 |
border: none;
|
672 |
}
|
673 |
}
|
674 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
675 |
.opinionstage-item-action-container {
|
676 |
float: right;
|
677 |
.opinionstage-edit-content {
|
845 |
}
|
846 |
}
|
847 |
|
848 |
+
.toplevel_page_opinionstage-settings .selected-draft__container {
|
849 |
+
position: fixed !important;
|
850 |
+
}
|
851 |
/* my items page - modal form --end */
|
852 |
|
853 |
|
assets/content-popup/app/components/popup-content.js
CHANGED
@@ -26,6 +26,7 @@ export default Vue.component('popup-content', {
|
|
26 |
'clientIsLoggedIn',
|
27 |
'modalIsOpened',
|
28 |
'widgetType',
|
|
|
29 |
// static properties:
|
30 |
'clientWidgetsUrl',
|
31 |
'clientWidgetsHasNewUrl',
|
@@ -61,7 +62,6 @@ export default Vue.component('popup-content', {
|
|
61 |
|
62 |
loadData.call(this).then( () => {
|
63 |
this.widgets = this.$store.state.widgets[0]
|
64 |
-
|
65 |
if ( !this.searchCriteria.title ) {
|
66 |
setLastUpdateTimeFromWidget.call(this)
|
67 |
}
|
26 |
'clientIsLoggedIn',
|
27 |
'modalIsOpened',
|
28 |
'widgetType',
|
29 |
+
'isMyItemsPage',
|
30 |
// static properties:
|
31 |
'clientWidgetsUrl',
|
32 |
'clientWidgetsHasNewUrl',
|
62 |
|
63 |
loadData.call(this).then( () => {
|
64 |
this.widgets = this.$store.state.widgets[0]
|
|
|
65 |
if ( !this.searchCriteria.title ) {
|
66 |
setLastUpdateTimeFromWidget.call(this)
|
67 |
}
|
assets/content-popup/app/index.js
CHANGED
@@ -26,6 +26,7 @@ export default function (modal) {
|
|
26 |
widgetSelectCb: function (widget) { console.log('dumb widget insert callback, widget:', widget) },
|
27 |
isClientLoggedIn: null,
|
28 |
isModalOpened: false,
|
|
|
29 |
},
|
30 |
|
31 |
beforeMount () {
|
@@ -34,7 +35,9 @@ export default function (modal) {
|
|
34 |
|
35 |
methods: {
|
36 |
closePopup (/*event*/) {
|
37 |
-
modal
|
|
|
|
|
38 |
},
|
39 |
|
40 |
selectWidgetAndExit (widget) {
|
26 |
widgetSelectCb: function (widget) { console.log('dumb widget insert callback, widget:', widget) },
|
27 |
isClientLoggedIn: null,
|
28 |
isModalOpened: false,
|
29 |
+
isMyItemsPage: false,
|
30 |
},
|
31 |
|
32 |
beforeMount () {
|
35 |
|
36 |
methods: {
|
37 |
closePopup (/*event*/) {
|
38 |
+
if( modal ) {
|
39 |
+
modal.close()
|
40 |
+
}
|
41 |
},
|
42 |
|
43 |
selectWidgetAndExit (widget) {
|
assets/content-popup/index.js
CHANGED
@@ -71,7 +71,34 @@ if ( window.OpinionStage && typeof(OpinionStage.contentPopup) !== 'undefined' )
|
|
71 |
})
|
72 |
}
|
73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
OS.contentPopup = new ContentPopup()
|
|
|
75 |
|
76 |
OS.contentPopup.WIDGET_ALL = WIDGET_ALL
|
77 |
OS.contentPopup.WIDGET_POLL = WIDGET_POLL
|
71 |
})
|
72 |
}
|
73 |
|
74 |
+
|
75 |
+
class WidgetList {
|
76 |
+
constructor () {
|
77 |
+
// vuejs vm instance
|
78 |
+
this.app = undefined
|
79 |
+
}
|
80 |
+
|
81 |
+
show(onWidgetSelect) {
|
82 |
+
if ( typeof(onWidgetSelect) !== 'function' ) {
|
83 |
+
onWidgetSelect = function(){}
|
84 |
+
}
|
85 |
+
|
86 |
+
const content = $('[data-opinionstage-content-popup-template]').html()
|
87 |
+
$('[opinionstage-my-items-view]').html(content)
|
88 |
+
|
89 |
+
if (!this.app) {
|
90 |
+
this.app = new ContentPopupContent()
|
91 |
+
}
|
92 |
+
|
93 |
+
this.app.widgetType = WIDGET_ALL
|
94 |
+
this.app.isModalOpened = true
|
95 |
+
this.app.isMyItemsPage = true
|
96 |
+
this.app.widgetSelectCb = onWidgetSelect
|
97 |
+
}
|
98 |
+
}
|
99 |
+
|
100 |
OS.contentPopup = new ContentPopup()
|
101 |
+
OS.widgetList = new WidgetList()
|
102 |
|
103 |
OS.contentPopup.WIDGET_ALL = WIDGET_ALL
|
104 |
OS.contentPopup.WIDGET_POLL = WIDGET_POLL
|
assets/content-popup/styles/content-popup.scss
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
$brand-blue: #3aaebd;
|
4 |
$brand-pink: #f46368;
|
5 |
$brand-light-grey: #b1b1b1;
|
6 |
-
$inputs-border-color: #
|
7 |
|
8 |
.opinionstage-content-popup-contents {
|
9 |
min-width: 960px;
|
@@ -29,7 +29,6 @@ $inputs-border-color: #cccccc;
|
|
29 |
* {
|
30 |
margin: 0;
|
31 |
padding: 0;
|
32 |
-
color: #222120;
|
33 |
box-sizing: border-box;
|
34 |
font-family: "Open Sans", Helvetica, sans-serif;
|
35 |
}
|
@@ -38,40 +37,47 @@ $inputs-border-color: #cccccc;
|
|
38 |
.header {
|
39 |
background-color: #222120;
|
40 |
width: 100%;
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
.header__logo {
|
50 |
-
display: inline-block;
|
51 |
-
a {
|
52 |
-
&:active, &:focus, &:hover, &:visited {
|
53 |
-
border: none;
|
54 |
-
background: none;
|
55 |
-
box-shadow: none;
|
56 |
}
|
57 |
}
|
58 |
-
|
59 |
-
|
60 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
}
|
62 |
-
}
|
63 |
-
.header__nav {
|
64 |
-
display: inline-block;
|
65 |
-
font-size: 0;
|
66 |
-
vertical-align: bottom;
|
67 |
-
}
|
68 |
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
}
|
|
|
|
|
75 |
//content
|
76 |
.page-content {
|
77 |
margin: 0 auto;
|
@@ -145,6 +151,10 @@ $inputs-border-color: #cccccc;
|
|
145 |
.content__list {
|
146 |
height: calc(92vh - 160px);
|
147 |
overflow-y: scroll;
|
|
|
|
|
|
|
|
|
148 |
}
|
149 |
|
150 |
.content__loading {
|
@@ -485,7 +495,7 @@ $inputs-border-color: #cccccc;
|
|
485 |
}
|
486 |
|
487 |
.opinionstage-connect-form {
|
488 |
-
margin-top:
|
489 |
display: flex;
|
490 |
justify-content: center;
|
491 |
.opinionstage-conect-input {
|
@@ -731,3 +741,14 @@ $inputs-border-color: #cccccc;
|
|
731 |
}
|
732 |
}
|
733 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
$brand-blue: #3aaebd;
|
4 |
$brand-pink: #f46368;
|
5 |
$brand-light-grey: #b1b1b1;
|
6 |
+
$inputs-border-color: #ccc;
|
7 |
|
8 |
.opinionstage-content-popup-contents {
|
9 |
min-width: 960px;
|
29 |
* {
|
30 |
margin: 0;
|
31 |
padding: 0;
|
|
|
32 |
box-sizing: border-box;
|
33 |
font-family: "Open Sans", Helvetica, sans-serif;
|
34 |
}
|
37 |
.header {
|
38 |
background-color: #222120;
|
39 |
width: 100%;
|
40 |
+
&__container {
|
41 |
+
color: #fff;
|
42 |
+
width: 100%;
|
43 |
+
margin: auto;
|
44 |
+
padding: 0 10px;
|
45 |
+
&.mw-1000 {
|
46 |
+
margin-left: 0;
|
47 |
+
max-width: 1000px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
}
|
49 |
}
|
50 |
+
|
51 |
+
&__logo {
|
52 |
+
display: inline-block;
|
53 |
+
a {
|
54 |
+
&:active, &:focus, &:hover, &:visited {
|
55 |
+
border: none;
|
56 |
+
background: none;
|
57 |
+
box-shadow: none;
|
58 |
+
}
|
59 |
+
}
|
60 |
+
img {
|
61 |
+
margin: 15px 10px;
|
62 |
+
width: 150px;
|
63 |
+
}
|
64 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
|
66 |
+
&__nav {
|
67 |
+
display: inline-block;
|
68 |
+
font-size: 0;
|
69 |
+
vertical-align: bottom;
|
70 |
+
}
|
71 |
+
|
72 |
+
&__action {
|
73 |
+
display: block;
|
74 |
+
float: right;
|
75 |
+
font-size: 0;
|
76 |
+
margin-top: 10px;
|
77 |
+
}
|
78 |
}
|
79 |
+
|
80 |
+
|
81 |
//content
|
82 |
.page-content {
|
83 |
margin: 0 auto;
|
151 |
.content__list {
|
152 |
height: calc(92vh - 160px);
|
153 |
overflow-y: scroll;
|
154 |
+
|
155 |
+
.opinionstage-item-action-container {
|
156 |
+
padding: 25px 0;
|
157 |
+
}
|
158 |
}
|
159 |
|
160 |
.content__loading {
|
495 |
}
|
496 |
|
497 |
.opinionstage-connect-form {
|
498 |
+
margin-top: 12px;
|
499 |
display: flex;
|
500 |
justify-content: center;
|
501 |
.opinionstage-conect-input {
|
741 |
}
|
742 |
}
|
743 |
}
|
744 |
+
|
745 |
+
.opinionstage-my-items-view {
|
746 |
+
section {
|
747 |
+
background: #fff;
|
748 |
+
}
|
749 |
+
.opinionstage-section-notification,
|
750 |
+
.page-content {
|
751 |
+
width: 1000px;
|
752 |
+
margin-left: 0;
|
753 |
+
}
|
754 |
+
}
|
assets/content-popup/webpack.config.js
CHANGED
@@ -2,7 +2,7 @@ var path = require('path')
|
|
2 |
|
3 |
module.exports = function(env={}) {
|
4 |
return {
|
5 |
-
entry: './index.js',
|
6 |
|
7 |
output: {
|
8 |
filename: 'content-popup.js',
|
2 |
|
3 |
module.exports = function(env={}) {
|
4 |
return {
|
5 |
+
entry: ['./index.js', './widget-list.js'],
|
6 |
|
7 |
output: {
|
8 |
filename: 'content-popup.js',
|
assets/content-popup/widget-list.js
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import ContentPopupContent from './app/index.js'
|
2 |
+
import {
|
3 |
+
WIDGET_ALL,
|
4 |
+
} from './app/widget-types.js'
|
5 |
+
|
6 |
+
if ( window.OpinionStage && typeof(OpinionStage.contentPopup) !== 'undefined' ) {
|
7 |
+
console.warn('[OpinionStage] content-popup APIs was already included')
|
8 |
+
}
|
9 |
+
|
10 |
+
;(function (OS, $) {
|
11 |
+
class WidgetList {
|
12 |
+
constructor () {
|
13 |
+
// vuejs vm instance
|
14 |
+
this.app = undefined
|
15 |
+
}
|
16 |
+
|
17 |
+
show(onWidgetSelect) {
|
18 |
+
if ( typeof(onWidgetSelect) !== 'function' ) {
|
19 |
+
onWidgetSelect = function(){}
|
20 |
+
}
|
21 |
+
|
22 |
+
const content = $('[data-opinionstage-content-popup-template]').html()
|
23 |
+
$('[opinionstage-my-items-view]').html(content)
|
24 |
+
|
25 |
+
if (!this.app) {
|
26 |
+
this.app = new ContentPopupContent()
|
27 |
+
}
|
28 |
+
|
29 |
+
|
30 |
+
this.app.widgetType = WIDGET_ALL
|
31 |
+
this.app.isModalOpened = true
|
32 |
+
this.app.isMyItemsPage = true
|
33 |
+
this.app.widgetSelectCb = onWidgetSelect
|
34 |
+
}
|
35 |
+
}
|
36 |
+
|
37 |
+
OS.widgetList = new WidgetList()
|
38 |
+
|
39 |
+
OS.widgetList.WIDGET_ALL = WIDGET_ALL
|
40 |
+
})(window.OpinionStage = window.OpinionStage || {}, jQuery)
|
41 |
+
|
includes/opinionstage-ajax-functions.php
CHANGED
@@ -8,8 +8,6 @@
|
|
8 |
defined( 'ABSPATH' ) || die();
|
9 |
|
10 |
add_action( 'wp_ajax_osa_message_delete', 'opinionstage_message_delete' );
|
11 |
-
add_action( 'wp_ajax_opinionstage_ajax_load_my_items', 'opinionstage_load_my_items' );
|
12 |
-
|
13 |
|
14 |
/**
|
15 |
* Delete message
|
@@ -22,97 +20,3 @@ function opinionstage_message_delete() {
|
|
22 |
}
|
23 |
wp_die( '1' );
|
24 |
}
|
25 |
-
|
26 |
-
/**
|
27 |
-
* Load My items
|
28 |
-
*/
|
29 |
-
function opinionstage_load_my_items() {
|
30 |
-
check_ajax_referer( 'opinionstage-load-my-items', 'security' );
|
31 |
-
|
32 |
-
$args_clean = array();
|
33 |
-
$allowed_args = array( 'type', 'per_page', 'page', 'title_like' );
|
34 |
-
foreach ( $_GET as $key => $val ) {
|
35 |
-
if ( in_array( $key, $allowed_args, true ) ) {
|
36 |
-
$args_clean[ $key ] = $val;
|
37 |
-
}
|
38 |
-
}
|
39 |
-
|
40 |
-
$access_token = opinionstage_user_access_token();
|
41 |
-
|
42 |
-
$url = add_query_arg( $args_clean, OPINIONSTAGE_CONTENT_POPUP_CLIENT_WIDGETS_API );
|
43 |
-
|
44 |
-
$response = wp_remote_get(
|
45 |
-
$url,
|
46 |
-
array(
|
47 |
-
'headers' => array(
|
48 |
-
'Accept' => 'application/vnd.api+json',
|
49 |
-
'Content-Type' => 'application/vnd.api+json',
|
50 |
-
'OSWP-Plugin-Version' => OPINIONSTAGE_WIDGET_VERSION,
|
51 |
-
'OSWP-Client-Token' => $access_token,
|
52 |
-
),
|
53 |
-
)
|
54 |
-
);
|
55 |
-
|
56 |
-
if ( 200 === wp_remote_retrieve_response_code( $response ) ) {
|
57 |
-
$res_arr = json_decode( wp_remote_retrieve_body( $response ), true );
|
58 |
-
|
59 |
-
$html = '';
|
60 |
-
if ( isset( $res_arr['data'] ) && ! empty( $res_arr['data'] ) ) {
|
61 |
-
ob_start();
|
62 |
-
foreach ( $res_arr['data'] as $datum ) {
|
63 |
-
$item = opinionstage_generate_widget_item_object_for_rendering( $datum );
|
64 |
-
include plugin_dir_path( dirname( __FILE__ ) ) . 'admin/template-parts/my-items-tbody-element.php';
|
65 |
-
}
|
66 |
-
$html = ob_get_clean();
|
67 |
-
}
|
68 |
-
|
69 |
-
wp_send_json(
|
70 |
-
array(
|
71 |
-
'success' => true,
|
72 |
-
'nextPage' => $res_arr['meta']['nextPage'],
|
73 |
-
'html' => $html,
|
74 |
-
)
|
75 |
-
);
|
76 |
-
}
|
77 |
-
|
78 |
-
opinionstage_error_log( "API response error($url): " . wp_remote_retrieve_response_code( $response ) );
|
79 |
-
wp_send_json_error();
|
80 |
-
}
|
81 |
-
|
82 |
-
/**
|
83 |
-
* Generates widget object from api response for rendering on My Items page.
|
84 |
-
*
|
85 |
-
* @param array $datum widget data.
|
86 |
-
* @return stdClass
|
87 |
-
*/
|
88 |
-
function opinionstage_generate_widget_item_object_for_rendering( $datum ) {
|
89 |
-
$attributes = isset( $datum['attributes'] ) ? $datum['attributes'] : array();
|
90 |
-
|
91 |
-
$item = new stdClass();
|
92 |
-
$item->is_draft = 0;
|
93 |
-
$item->is_closed = 0;
|
94 |
-
$item->is_open = 0;
|
95 |
-
$item->title = isset( $attributes['title'] ) ? $attributes['title'] : '';
|
96 |
-
$item->landing_page_url = isset( $attributes['landing-page-url'] ) ? $attributes['landing-page-url'] : '';
|
97 |
-
$item->image_url = isset( $attributes['image-url'] ) ? $attributes['image-url'] : '';
|
98 |
-
$item->type = isset( $attributes['type'] ) ? $attributes['type'] : '';
|
99 |
-
$item->edit_url = isset( $attributes['edit-url'] ) ? $attributes['edit-url'] : '';
|
100 |
-
$item->stats_url = isset( $attributes['stats-url'] ) ? $attributes['stats-url'] : '';
|
101 |
-
$item->updated_at = isset( $attributes['updated-at'] ) ? $attributes['updated-at'] : '';
|
102 |
-
$item->shortcode = isset( $attributes['shortcode'] ) ? $attributes['shortcode'] : '';
|
103 |
-
|
104 |
-
if ( isset( $attributes['status'] ) ) {
|
105 |
-
switch ( $attributes['status'] ) {
|
106 |
-
case 'draft':
|
107 |
-
$item->is_draft = 1;
|
108 |
-
break;
|
109 |
-
case 'closed':
|
110 |
-
$item->is_closed = 1;
|
111 |
-
break;
|
112 |
-
default:
|
113 |
-
$item->is_open = 1;
|
114 |
-
break;
|
115 |
-
}
|
116 |
-
}
|
117 |
-
return $item;
|
118 |
-
}
|
8 |
defined( 'ABSPATH' ) || die();
|
9 |
|
10 |
add_action( 'wp_ajax_osa_message_delete', 'opinionstage_message_delete' );
|
|
|
|
|
11 |
|
12 |
/**
|
13 |
* Delete message
|
20 |
}
|
21 |
wp_die( '1' );
|
22 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.8.
|
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.8.9
|
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 & Quiz Maker Plugin by Opinion Stage
|
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.8.
|
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.8.
|
38 |
|
39 |
define( 'OPINIONSTAGE_TEXT_DOMAIN', 'social-polls-by-opinionstage' );
|
40 |
define( 'OPINIONSTAGE_WIDGET_API_KEY', 'wp35e8' );
|
8 |
* Plugin Name: Poll, Survey & Quiz Maker Plugin by Opinion Stage
|
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.8.9
|
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.8.9' );
|
38 |
|
39 |
define( 'OPINIONSTAGE_TEXT_DOMAIN', 'social-polls-by-opinionstage' );
|
40 |
define( 'OPINIONSTAGE_WIDGET_API_KEY', 'wp35e8' );
|
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.8.1
|
7 |
-
Stable tag: 19.8.
|
8 |
Requires PHP: 7.0
|
9 |
|
10 |
Add a Poll, Survey, or Quiz Plugin to your WordPress site. Create a poll, quiz, or survey from scratch or based on templates.
|
@@ -150,6 +150,8 @@ Opinion Stage makes it easy for you to comply with the GDPR regulation. For more
|
|
150 |
N/A
|
151 |
|
152 |
== Changelog ==
|
|
|
|
|
153 |
= 19.8.8 =
|
154 |
* new getting started experience
|
155 |
* internal code improvements
|
4 |
Tags: poll, quiz, survey, poll plugin, quiz plugin, survey plugin
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 5.8.1
|
7 |
+
Stable tag: 19.8.9
|
8 |
Requires PHP: 7.0
|
9 |
|
10 |
Add a Poll, Survey, or Quiz Plugin to your WordPress site. Create a poll, quiz, or survey from scratch or based on templates.
|
150 |
N/A
|
151 |
|
152 |
== Changelog ==
|
153 |
+
= 19.8.9 =
|
154 |
+
* internal code improvements
|
155 |
= 19.8.8 =
|
156 |
* new getting started experience
|
157 |
* internal code improvements
|