@appcues/web-sdk 7.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,332 @@
1
+ function i(t) {
2
+ return t.reduce(
3
+ (s, e) => Object.assign(s, { [e]: e }),
4
+ {}
5
+ );
6
+ }
7
+ const N = [
8
+ "_hostname",
9
+ "_lastBrowserLanguage",
10
+ "_lastPageTitle",
11
+ "_lastPageUrl",
12
+ "_currentPageTitle",
13
+ "_currentPageUrl",
14
+ "_localId",
15
+ "_sessionPageviews",
16
+ "_updatedAt",
17
+ "_userAgent",
18
+ "_appcuesId",
19
+ "_sessionRandomizer",
20
+ "_testContentId",
21
+ "_showChecklist",
22
+ "_doNotTrack",
23
+ "_lastSeenAt",
24
+ "_timezoneCode",
25
+ "_timezoneOffset",
26
+ "_appId"
27
+ ], L = [
28
+ "flow_started",
29
+ "flow_completed",
30
+ "flow_skipped",
31
+ "flow_aborted",
32
+ "step_started",
33
+ "step_completed",
34
+ "step_skipped",
35
+ "step_interacted",
36
+ "step_aborted",
37
+ "form_submitted",
38
+ "form_field_submitted",
39
+ "nps_feedback",
40
+ "nps_score",
41
+ "nps_clicked_update_nps_score",
42
+ "nps_ask_me_later_selected_at",
43
+ "nps_survey_started",
44
+ "checklist_shown",
45
+ "checklist_completed",
46
+ "checklist_skipped",
47
+ "checklist_dismissed",
48
+ "checklist_item_started",
49
+ "checklist_item_completed",
50
+ "appcues_custom",
51
+ "experiment_entered",
52
+ "v2:experience_started",
53
+ "v2:step_seen",
54
+ "v2:icon_seen",
55
+ "v2:step_interaction",
56
+ "v2:button_pin_seen"
57
+ ], R = "_appcuesForm_", C = "_appcuesSatisfaction_", D = "AppcuesSettings", P = "apc_user_id", w = "apc_group_id", f = "apc_local_id", h = "apc_next_content_id", U = "apc_user", m = "apc_debug_enabled", H = "apc_debug_url", g = "apc_ann_errors", M = "apc_curr_flow", W = "apc_curr_checklist", G = "apc_cl:", F = "apc_followed_test_link", k = "localStorage", y = "sessionStorage", Y = 720 * 60 * 60, B = {
58
+ PAGE_VIEW: "appcues:page_view"
59
+ }, a = i([
60
+ "PENDING",
61
+ "STARTED",
62
+ "CALCULATING_POSITIONS",
63
+ "READY",
64
+ "WILL_SHOW",
65
+ "SHOWING",
66
+ "WILL_CLOSE",
67
+ "ERROR",
68
+ "FETCHING",
69
+ "RUNNING",
70
+ "DISMISSED",
71
+ "HIDING"
72
+ ]), K = [
73
+ a.READY,
74
+ a.WILL_SHOW,
75
+ a.SHOWING,
76
+ a.WILL_CLOSE
77
+ ], b = i([
78
+ "COMPLETED",
79
+ "SKIPPED",
80
+ "SHOWING_OTHER_CONTENT",
81
+ "CLEAR"
82
+ ]), v = {
83
+ EVENT_TRIGGER: "event_trigger",
84
+ PAGE_VIEW: "page_view"
85
+ }, V = {
86
+ MODAL: "modal",
87
+ HOTSPOTS: "hotspot-group",
88
+ SEQUENTIAL_HOTSPOTS: "hotspot-group-sequential",
89
+ DEBUGGER: "debugger",
90
+ JOURNEY: "journey",
91
+ ACTION: "action",
92
+ SATISFACTION_SURVEY: "satisfaction-survey",
93
+ CHECKLIST: "checklist",
94
+ TEST_MODE: "test-mode",
95
+ WIDGET: "widget",
96
+ ANNOTATION: ["hotspot-group"]
97
+ }, X = {
98
+ REDIRECT: "redirect",
99
+ WAIT_FOR_PAGE: "wait-for-page",
100
+ SHOW_FLOW: "show_flow"
101
+ }, x = 2, j = {
102
+ COMPLETED: "completed",
103
+ DISMISSED: "dismissed",
104
+ SHOWN_MANUALLY: "shown_manually"
105
+ }, z = {
106
+ EXPANDED: "expanded",
107
+ COLLAPSED: "collapsed",
108
+ FIRSTVIEW: "first_view"
109
+ }, $ = {
110
+ OPENED: "opened",
111
+ CLOSED: "closed",
112
+ OPEN_ONCE: "open_once"
113
+ }, A = [
114
+ "identify",
115
+ "track",
116
+ "page",
117
+ "anonymous",
118
+ "show",
119
+ "on",
120
+ "off",
121
+ "once",
122
+ "reset",
123
+ "debug",
124
+ "user",
125
+ "settings",
126
+ "content",
127
+ "injectContent",
128
+ "injectStyles",
129
+ "start",
130
+ "initMixpanel",
131
+ "initHeap",
132
+ "initIntercom",
133
+ "initCIO",
134
+ "initVero",
135
+ "initWoopra",
136
+ "initAmplitude",
137
+ "initKlaviyo",
138
+ "initCalq",
139
+ "initTD",
140
+ "initLl",
141
+ "initKM",
142
+ "initGA",
143
+ "initGTM",
144
+ "initSegment",
145
+ "initRudderstack",
146
+ "initBraze",
147
+ "initFullStory",
148
+ "initHotjar",
149
+ "initLogRocket",
150
+ "loadLaunchpad",
151
+ "group"
152
+ ], T = ["user"], q = 20, Q = 300, J = 700, Z = 2147483647, ss = 24, ts = 20, es = 10, ns = 1, os = 3, _s = {
153
+ CALCULATE: "CALCULATE"
154
+ }, cs = i([
155
+ "WAIT_FOR_ONE_ELEMENT",
156
+ "WAIT_FOR_MOUSE_EVENT"
157
+ ]), as = 200, is = i([
158
+ "STEP_ATTEMPTED",
159
+ "STEP_SHOWN",
160
+ "STEP_COMPLETED",
161
+ "STEP_SKIPPED",
162
+ "STEP_END",
163
+ "STEP_INTERACTED",
164
+ "STEP_ERRORED",
165
+ "CHILD_ACTIVATED",
166
+ "CHILD_DEACTIVATED",
167
+ "CHILDREN_ERRORED",
168
+ "CHILDREN_RECOVERED",
169
+ "CHILD_NEXT",
170
+ "CHILD_RUN",
171
+ "CSS_LOADED",
172
+ "STEP_REVEALED"
173
+ ]), Es = 1e3, Ts = 300, ps = 500, Is = 50, rs = 3e3, As = {
174
+ TEXT: "text",
175
+ EXIT_SYMBOL: "exit-symbol"
176
+ }, Ss = {
177
+ LABEL_TOOLTIP: "Tooltip",
178
+ LABEL_CHECKLIST: "Contextual help checklist present on screen",
179
+ ROLE_CONTAINER: "alert",
180
+ ROLE_TOOLTIP: "alertdialog",
181
+ HASPOPUP_TOOLTIP: "dialog"
182
+ }, Os = 6e4, us = "apc_session", ds = 30, ls = "launchpad_kb_search", p = "https://fast.appcues.com", I = "api.appcues.net";
183
+ let E = !1;
184
+ window.Appcues = window.Appcues || [];
185
+ function S(t) {
186
+ return function(...e) {
187
+ return E ? window.Appcues[t](...e) : (e.unshift(t), window.Appcues.push(e)), window.Appcues;
188
+ };
189
+ }
190
+ (function() {
191
+ window.Appcues.invoked || window.Appcues.identify || (window.Appcues.invoked = !0, A.forEach((s) => {
192
+ window.Appcues[s] = S(s);
193
+ }), T.forEach((s) => {
194
+ window.Appcues[s] = function(...n) {
195
+ return E ? window.Appcues[s](...n) : new Promise((_) => {
196
+ n.unshift(_), n.unshift(s), window.Appcues.push(n);
197
+ });
198
+ };
199
+ }));
200
+ })();
201
+ function O(t, s) {
202
+ window.Appcues.SNIPPET_VERSION = s.version, window.AppcuesBundleSettings = {
203
+ accountId: t,
204
+ VERSION: s.version,
205
+ RELEASE_ID: s.release_id,
206
+ GENERIC_BUNDLE_DOMAIN: p,
207
+ GENERIC_BUNDLE_PATH: s.generic_bundle_path,
208
+ GENERIC_BUNDLE_INTEGRITY: s.generic_bundle_integrity,
209
+ API_HOSTNAME: s.api_hostname ?? I,
210
+ styling: s.styling,
211
+ integrations: s.integrations,
212
+ account: s.account,
213
+ events: s.custom_events
214
+ };
215
+ }
216
+ async function u() {
217
+ await import("./index.BlOpB57-.js").then((t) => t.i), E = !0;
218
+ }
219
+ async function d() {
220
+ window.Appcues.forEach((t) => {
221
+ const s = t[0], e = t.slice(1);
222
+ if (T.includes(s)) {
223
+ const n = e[0], _ = e.slice(1), o = window.Appcues?.[s];
224
+ o && o(..._).then((...c) => {
225
+ n(c[0]);
226
+ });
227
+ } else {
228
+ const n = window.Appcues?.[s];
229
+ n && n(...e);
230
+ }
231
+ });
232
+ }
233
+ async function r(t, s, e = 0) {
234
+ return new Promise((n) => {
235
+ (async () => {
236
+ const _ = `${s.bundleDomain}/bundle/accounts/${t}/settings`;
237
+ try {
238
+ const o = await fetch(_);
239
+ if (o.ok) {
240
+ const c = await o.json();
241
+ n({ accountId: t, settings: c });
242
+ } else
243
+ throw new Error(`HTTP error! status: ${o.status}`);
244
+ } catch {
245
+ if (e <= 3) {
246
+ const o = window.Math.random() * 100, c = e * 500 + o;
247
+ window.setTimeout(() => {
248
+ r(t, s, e + 0.5);
249
+ }, c);
250
+ } else
251
+ throw new Error("Failed to load account settings");
252
+ }
253
+ })();
254
+ });
255
+ }
256
+ async function l(t, s) {
257
+ const e = {
258
+ bundleDomain: p,
259
+ apiHostName: I,
260
+ ...s
261
+ };
262
+ try {
263
+ const { accountId: n, settings: _ } = await r(t, e);
264
+ await O(n, _), await u(), await d();
265
+ } catch {
266
+ }
267
+ }
268
+ const Ns = {
269
+ setup: l,
270
+ ...window.Appcues
271
+ };
272
+ export {
273
+ j as $,
274
+ X as A,
275
+ ss as B,
276
+ V as C,
277
+ Ts as D,
278
+ as as E,
279
+ is as F,
280
+ D as G,
281
+ Is as H,
282
+ R as I,
283
+ G as J,
284
+ U as K,
285
+ k as L,
286
+ J as M,
287
+ h as N,
288
+ f as O,
289
+ w as P,
290
+ W as Q,
291
+ L as R,
292
+ q as S,
293
+ os as T,
294
+ P as U,
295
+ K as V,
296
+ N as W,
297
+ m as X,
298
+ H as Y,
299
+ C as Z,
300
+ $ as _,
301
+ cs as a,
302
+ ls as a0,
303
+ v as a1,
304
+ A as a2,
305
+ l as a3,
306
+ Ns as a4,
307
+ Q as b,
308
+ a as c,
309
+ z as d,
310
+ Ss as e,
311
+ i as f,
312
+ b as g,
313
+ ns as h,
314
+ ts as i,
315
+ es as j,
316
+ As as k,
317
+ Z as l,
318
+ _s as m,
319
+ Es as n,
320
+ Y as o,
321
+ g as p,
322
+ x as q,
323
+ y as r,
324
+ M as s,
325
+ rs as t,
326
+ Os as u,
327
+ ps as v,
328
+ F as w,
329
+ us as x,
330
+ ds as y,
331
+ B as z
332
+ };
@@ -0,0 +1,5 @@
1
+ import { SetupOptions, AppcuesSDK } from './types';
2
+ export declare function setup(accountId: string, opts?: SetupOptions): Promise<void>;
3
+ declare const Appcues: AppcuesSDK;
4
+ export default Appcues;
5
+ //# sourceMappingURL=index.npm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.npm.d.ts","sourceRoot":"","sources":["../src/scripts/index.npm.ts"],"names":[],"mappings":"AAKA,OAAO,EAIL,YAAY,EACZ,UAAU,EACX,MAAM,SAAS,CAAC;AAmJjB,wBAAsB,KAAK,CACzB,SAAS,EAAE,MAAM,EACjB,IAAI,CAAC,EAAE,YAAY,GAClB,OAAO,CAAC,IAAI,CAAC,CAkBf;AAED,QAAA,MAAM,OAAO,EAAE,UAGA,CAAC;AAEhB,eAAe,OAAO,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { a4 as s, a3 as t } from "./index.npm.DOLrucyP.js";
2
+ export {
3
+ s as default,
4
+ t as setup
5
+ };
@@ -0,0 +1 @@
1
+ appcues cue{min-height:400px;padding:20px 20px 80px}appcues[data-pattern-type=shorty] modal-container,appcues[data-pattern-type=slideout] modal-container{min-height:156px}
@@ -0,0 +1 @@
1
+ code,pre{font-family:Menlo,Monaco,monospace,sans-serif}div,p,ul,ol,table,dl,blockquote,pre{font-size:14px;line-height:1.6em}a[href],a[data-step]{color:#15c;text-decoration:none;cursor:pointer}object,embed,video,img{max-width:100%;width:auto}video,img{height:auto}p,ul,ol,table,dl,figure,blockquote,pre{margin:0 0 15px;border:none;background:none;box-shadow:none}hr{margin-bottom:15px}blockquote{margin-left:1.6em!important;padding-left:0;color:#777;font-style:italic}ul,ol{padding-left:2em}ul ul,ol ol,ul ol,ol ul{margin:2px;padding:0 0 0 2em;border:none}dl dt{font-weight:700}dd{margin-left:1em}table{border-collapse:collapse;font-size:1em;width:100%}table td,table th{padding:5px;border:1px solid #ddd;vertical-align:top}table thead td,table th{font-weight:700;border-bottom-color:#888}code{background-color:#d8d7d7}pre{overflow:auto;padding:1em;border:1px solid #ddd;border-radius:3px;background:#f8f8f8;white-space:pre;font-size:90%;color:#888}hr{display:block;height:1px;border:0;border-top:1px solid #ccc}h1,h2,h3,h4,h5,h6{font-weight:700;color:#000;padding:0;background:none;text-rendering:optimizeLegibility;margin:0 0 .5em}h1,h2,h3,h4{line-height:1.3}h1{font-size:36px}h2{font-size:24px;margin-bottom:.7em}h3{font-size:21px}h4{font-size:18px}h5{font-size:16px}h6{font-size:12px;text-transform:uppercase}.sr-only{clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;margin:-1px}.appcues-button{line-height:1.42857em}appcues{font-family:Helvetica Neue,Helvetica,sans-serif;width:100%;min-height:100%;height:100%;overflow-y:auto;box-sizing:border-box;font-size:14px;display:none;padding:40px 0;position:fixed;inset:0;z-index:2147483547;overflow-wrap:break-word}@media screen and (max-device-width: 480px){appcues{padding:10px}appcues[data-pattern-type=left]{padding:0}}appcues.active{display:block}appcues[data-pattern-type=left]{padding-top:0;padding-bottom:0;min-width:95%;right:initial}appcues[data-pattern-type=modal],appcues[data-pattern-type=fullscreen]{transform-origin:50% 50%;transition:opacity .16s cubic-bezier(0,0,0,1),transform .32s cubic-bezier(0,0,0,1)}appcues[data-pattern-type=modal].active,appcues[data-pattern-type=fullscreen].active{opacity:1}appcues[data-pattern-type=modal].apc-hidden,appcues[data-pattern-type=fullscreen].apc-hidden{transform:scale(.97);opacity:0;visibility:hidden}appcues[data-pattern-type=left]{transform-origin:0 0;transition:opacity .16s cubic-bezier(0,0,0,1),transform .32s cubic-bezier(0,0,0,1)}appcues[data-pattern-type=left].active{opacity:1;transform:none}appcues[data-pattern-type=left].apc-hidden{transform:translate(-400px);opacity:0;visibility:hidden}appcues[data-pattern-type=shorty],appcues[data-pattern-type=slideout]{padding:0;overflow:hidden}appcues[data-pattern-type=shorty] modal-container,appcues[data-pattern-type=slideout] modal-container{width:400px;max-width:400px;display:inline-block;transition:transform .8s cubic-bezier(.2,.84,.35,1),opacity .5s cubic-bezier(0,0,0,1) .1s}appcues[data-pattern-type=shorty] modal-container.fullscreen,appcues[data-pattern-type=slideout] modal-container.fullscreen{position:fixed;overflow-y:auto;max-height:calc(100vh - 40px)}appcues[data-pattern-type=shorty] modal-container.fullscreen cue,appcues[data-pattern-type=slideout] modal-container.fullscreen cue{overflow:hidden}@media screen and (max-device-width: 440px){appcues[data-pattern-type=shorty] modal-container,appcues[data-pattern-type=slideout] modal-container{width:100%}appcues[data-pattern-type=shorty] modal-container.fullscreen,appcues[data-pattern-type=slideout] modal-container.fullscreen{max-width:calc(100% - 40px)}}appcues[data-pattern-type=shorty][data-position=topRight] modal-container.fullscreen,appcues[data-pattern-type=shorty][data-position=right] modal-container.fullscreen,appcues[data-pattern-type=shorty][data-position=bottomRight] modal-container.fullscreen,appcues[data-pattern-type=slideout][data-position=topRight] modal-container.fullscreen,appcues[data-pattern-type=slideout][data-position=right] modal-container.fullscreen,appcues[data-pattern-type=slideout][data-position=bottomRight] modal-container.fullscreen{right:20px}appcues[data-pattern-type=shorty][data-position=topLeft] modal-container.fullscreen,appcues[data-pattern-type=shorty][data-position=left] modal-container.fullscreen,appcues[data-pattern-type=shorty][data-position=bottomLeft] modal-container.fullscreen,appcues[data-pattern-type=slideout][data-position=topLeft] modal-container.fullscreen,appcues[data-pattern-type=slideout][data-position=left] modal-container.fullscreen,appcues[data-pattern-type=slideout][data-position=bottomLeft] modal-container.fullscreen{left:20px}appcues[data-pattern-type=shorty][data-position=left] modal-container.fullscreen,appcues[data-pattern-type=shorty][data-position=right] modal-container.fullscreen,appcues[data-pattern-type=shorty][data-position=center] modal-container.fullscreen,appcues[data-pattern-type=slideout][data-position=left] modal-container.fullscreen,appcues[data-pattern-type=slideout][data-position=right] modal-container.fullscreen,appcues[data-pattern-type=slideout][data-position=center] modal-container.fullscreen{top:50%;transform:translateY(-50%)}appcues[data-pattern-type=shorty][data-position=top] modal-container.fullscreen,appcues[data-pattern-type=shorty][data-position=center] modal-container.fullscreen,appcues[data-pattern-type=shorty][data-position=bottom] modal-container.fullscreen,appcues[data-pattern-type=slideout][data-position=top] modal-container.fullscreen,appcues[data-pattern-type=slideout][data-position=center] modal-container.fullscreen,appcues[data-pattern-type=slideout][data-position=bottom] modal-container.fullscreen{right:0;left:0;margin:auto}appcues[data-pattern-type=shorty][data-position^=top] modal-container.fullscreen,appcues[data-pattern-type=slideout][data-position^=top] modal-container.fullscreen{top:20px}appcues[data-pattern-type=shorty][data-position^=bottom] modal-container.fullscreen,appcues[data-pattern-type=slideout][data-position^=bottom] modal-container.fullscreen{bottom:20px}appcues[data-pattern-type=shorty][data-position=center] modal-container.fullscreen,appcues[data-pattern-type=slideout][data-position=center] modal-container.fullscreen{transform:translateY(-54%)}appcues[data-pattern-type=shorty].apc-hidden modal-container.fullscreen,appcues[data-pattern-type=slideout].apc-hidden modal-container.fullscreen{transition:transform .5s ease-in,opacity .4s cubic-bezier(.5,1,1,1);opacity:0;visibility:hidden}appcues[data-pattern-type=shorty].apc-hidden[data-position=top] modal-container.fullscreen,appcues[data-pattern-type=slideout].apc-hidden[data-position=top] modal-container.fullscreen{transform:translateY(-50%)}appcues[data-pattern-type=shorty].apc-hidden[data-position=topLeft] modal-container.fullscreen,appcues[data-pattern-type=shorty].apc-hidden[data-position=bottomLeft] modal-container.fullscreen,appcues[data-pattern-type=slideout].apc-hidden[data-position=topLeft] modal-container.fullscreen,appcues[data-pattern-type=slideout].apc-hidden[data-position=bottomLeft] modal-container.fullscreen{transform:translate(-50%)}appcues[data-pattern-type=shorty].apc-hidden[data-position=bottom] modal-container.fullscreen,appcues[data-pattern-type=slideout].apc-hidden[data-position=bottom] modal-container.fullscreen{transform:translateY(50%)}appcues[data-pattern-type=shorty].apc-hidden[data-position=topRight] modal-container.fullscreen,appcues[data-pattern-type=shorty].apc-hidden[data-position=bottomRight] modal-container.fullscreen,appcues[data-pattern-type=slideout].apc-hidden[data-position=topRight] modal-container.fullscreen,appcues[data-pattern-type=slideout].apc-hidden[data-position=bottomRight] modal-container.fullscreen{transform:translate(50%)}appcues[data-pattern-type=shorty].apc-hidden[data-position=left] modal-container.fullscreen,appcues[data-pattern-type=slideout].apc-hidden[data-position=left] modal-container.fullscreen{transform:translateY(-50%) translate(-50%)}appcues[data-pattern-type=shorty].apc-hidden[data-position=right] modal-container.fullscreen,appcues[data-pattern-type=slideout].apc-hidden[data-position=right] modal-container.fullscreen{transform:translateY(-50%) translate(50%)}appcues[data-pattern-type=shorty].apc-hidden[data-position=center] modal-container.fullscreen,appcues[data-pattern-type=slideout].apc-hidden[data-position=center] modal-container.fullscreen{transform:translateY(-50%) scale(.97)}appcues cue{display:none;position:relative;background-color:#fff;margin:0 auto;border-bottom-left-radius:3px;border-bottom-right-radius:3px;box-shadow:0 0 6px #aaa;box-sizing:border-box;color:#888;width:100%;max-width:650px;padding:20px}appcues cue.full-buttons{padding-bottom:20px}appcues cue.appcues-actions-hidden{padding-bottom:20px;min-height:360px}appcues cue.active{display:block}appcues cue>section{margin:0!important;padding:0!important;border:0!important;font-size:100%!important;font:inherit!important;vertical-align:baseline!important;display:block!important;line-height:1!important;box-shadow:none!important;opacity:1;box-sizing:content-box!important;outline:none!important;border-radius:0!important;overflow-x:visible!important;overflow-y:visible!important;margin-left:0;margin-right:0;max-width:100%}appcues cue>section *{box-sizing:border-box}appcues cue>section .step-action-form input,appcues cue>section .step-action-form textarea,appcues cue>section .form-field input,appcues cue>section .form-field textarea{border:1px solid #DDD;color:initial;font-size:14px;padding:8px;width:95%}appcues cue>section .step-action-form input[type=date],appcues cue>section .form-field input[type=date]{font-family:inherit}appcues cue>section .step-action-form label.label-display,appcues cue>section .form-field label.label-display{font-size:14px;font-weight:700;margin:5px 0;padding:8px;display:block}appcues cue>section .step-action-form label.field-option,appcues cue>section .form-field label.field-option{display:block;font-weight:400;margin:0}appcues cue>section .step-action-form label.field-option input[type=radio],appcues cue>section .step-action-form label.field-option input[type=checkbox],appcues cue>section .form-field label.field-option input[type=radio],appcues cue>section .form-field label.field-option input[type=checkbox]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}appcues cue>section .step-action-form label.field-option input[type=radio]+span:before,appcues cue>section .step-action-form label.field-option input[type=checkbox]+span:before,appcues cue>section .form-field label.field-option input[type=radio]+span:before,appcues cue>section .form-field label.field-option input[type=checkbox]+span:before{content:"";display:inline-block;width:.7em;height:.7em;vertical-align:-.05em;border-radius:2em;border:.1em solid #fff;box-shadow:0 0 0 .15em #888;margin-right:.7em;transition:.5s ease all}appcues cue>section .step-action-form label.field-option input[type=checkbox]+span:before,appcues cue>section .form-field label.field-option input[type=checkbox]+span:before{border-radius:0}appcues cue>section .step-action-form label.field-option input[type=radio]:checked+span:before,appcues cue>section .step-action-form label.field-option input[type=checkbox]:checked+span:before,appcues cue>section .form-field label.field-option input[type=radio]:checked+span:before,appcues cue>section .form-field label.field-option input[type=checkbox]:checked+span:before{background:#5cb85c;box-shadow:0 0 0 .15em #888}appcues cue>section .step-action-form label.field-option input[type=radio]:focus+span:before,appcues cue>section .step-action-form label.field-option input[type=checkbox]:focus+span:before,appcues cue>section .form-field label.field-option input[type=radio]:focus+span:before,appcues cue>section .form-field label.field-option input[type=checkbox]:focus+span:before{outline:solid;outline-color:#6495ed;outline-style:solid;outline-width:2px;outline-offset:5px;transition:outline .01s linear}appcues cue>section .form-field{margin:10px 0;padding:10px 0;font-size:1.1em}appcues cue>section .form-field.appcues-error label{color:#eb6e5e}appcues cue>section .form-field.appcues-error ul.messages{color:#eb6e5e;list-style:none;margin:5px 0;padding:0}appcues cue>section .form-field.appcues-error ul.messages li{display:block}appcues cue>section .form-field.appcues-error input[type=text],appcues cue>section .form-field.appcues-error textarea{border-color:#eb6e5e}appcues cue>section .form-field .rating-options{display:table;width:100%}appcues cue>section .form-field .rating-option{cursor:pointer;display:table-cell;font-weight:400;text-align:center;min-width:9%;padding:0 5px}appcues cue>section .form-field .rating-option span{background-color:#eee;display:block;padding:10px;border:1px solid #eee;border-radius:3px}appcues cue>section .form-field .rating-option span:hover{background-color:#888;border:1px solid #777;color:#fff}appcues cue>section .form-field .rating-option input[type=radio]{display:none}appcues cue>section .form-field .rating-option input[type=radio]:checked+span{background-color:#6eb5e5;border:1px solid #429fde;color:#fff}appcues cue>section .form-field .rating-labels{width:100%}appcues cue>section .form-field .rating-labels .left,appcues cue>section .form-field .rating-labels .right{display:inline-block;width:50%}appcues cue>section .form-field .rating-labels .left small,appcues cue>section .form-field .rating-labels .right small{margin:2px 5px}appcues cue>section .form-field .rating-labels .right{text-align:right}appcues cue>section .form-field label.field-option{display:block;font-weight:400;margin:5px 0;padding:5px;border-radius:3px}appcues cue>section .form-field label.field-option input[type=radio],appcues cue>section .form-field label.field-option input[type=checkbox]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}appcues cue>section .form-field label.field-option input[type=radio]+span:before,appcues cue>section .form-field label.field-option input[type=checkbox]+span:before{content:"";display:inline-block;width:.8em;height:.8em;vertical-align:-.05em;border-radius:1em;border:.125em solid #fff;box-shadow:0 0 0 .15em #888;margin-right:.7em;transition:.5s ease all}appcues cue>section .form-field label.field-option input[type=checkbox]+span:before{border-radius:0}appcues cue>section .form-field label.field-option input[type=radio]:checked+span:before,appcues cue>section .form-field label.field-option input[type=checkbox]:checked+span:before{background:#5cb85c;box-shadow:0 0 0 .25em #888}appcues cue>section .form-field label.field-option input[type=checkbox]:disabled+span{cursor:no-drop}appcues cue img{max-width:100%}appcues cue header{position:relative}appcues cue header h2{font-weight:600;font-size:18px;margin:0 0 15px;color:#333}@media screen and (max-device-width: 480px){appcues cue header h2{text-align:center}}appcues cue p{margin:0 0 15px}appcues cue strong{font-weight:700;color:#6f6f6f}appcues cue .appcues-actions{position:absolute;bottom:0;left:0;box-sizing:border-box;padding:20px;width:100%}appcues cue .appcues-actions.hidden{display:none}appcues cue .appcues-actions-left,appcues cue .appcues-actions-right{width:50%;display:inline-block}appcues cue .appcues-actions-left.appcues-actions-align-center,appcues cue .appcues-actions-right.appcues-actions-align-center{text-align:center}appcues cue .appcues-actions-left.appcues-actions-full-row,appcues cue .appcues-actions-right.appcues-actions-full-row{width:100%}appcues cue .appcues-actions-left{text-align:left}appcues cue .appcues-actions-right{text-align:right}appcues cue .appcues-backdrop,appcues cue .appcues-backdrop[data-pattern-type=fullscreen]{position:fixed;background-color:#eee;z-index:2147483546}appcues cue .appcues-backdrop[data-pattern-type=modal],appcues cue .appcues-backdrop[data-pattern-type=left],appcues cue .appcues-backdrop[data-pattern-type=shorty],appcues cue .appcues-backdrop[data-pattern-type=slideout]{opacity:.7;background-color:#000}appcues cue .apc-hero{background-size:cover;background-position:center;text-align:center;padding:4em 0!important;margin:-21px -21px 0}appcues cue .apc-hero h1,appcues cue .apc-hero h2{color:#fff}appcues[data-pattern-type=modal] cue,appcues[data-pattern-type=left] cue{box-shadow:none}appcues[data-pattern-type=shorty] modal-container cue,appcues[data-pattern-type=slideout] modal-container cue{box-shadow:none;min-height:150px}appcues[data-pattern-type=shorty] modal-container cue .appcues-actions .appcues-powered-by-text,appcues[data-pattern-type=slideout] modal-container cue .appcues-actions .appcues-powered-by-text{transform:translateY(10px)}appcues[data-pattern-type=shorty] modal-container cue .form-field .rating-option span,appcues[data-pattern-type=slideout] modal-container cue .form-field .rating-option span{padding:10px 0}appcues[data-pattern-type=left] cue{min-height:100%;border-bottom-left-radius:0;border-bottom-right-radius:0;padding-top:26px;margin:0}.appcues-progress{background-color:#ddd;overflow:hidden;border:1px solid #ccc;height:6px;border-top-left-radius:3px;border-top-right-radius:3px;margin:0 auto;box-sizing:border-box;width:100%;max-width:650px}.appcues-progress-bar-success{background-color:#5cb85c;height:100%;width:0;border-bottom-right-radius:3px;border-top-right-radius:3px;-webkit-transition:width .7s ease-out .4s;-moz-transition:width .7s ease-out .4s;transition:width .7s ease-out .4s}.appcues-progress-bar-success[aria-valuenow="100"]{border-radius:0}[data-pattern-type=modal] .appcues-progress,[data-pattern-type=shorty] .appcues-progress,[data-pattern-type=slideout] .appcues-progress{border:none}[data-pattern-type=left] .appcues-progress{border:none;border-radius:0;position:absolute;top:0;z-index:1;margin:0}[data-pattern-type=left] .appcues-progress .appcues-progress-bar-success{border-bottom-right-radius:0;border-top-right-radius:0}.appcues-button{background-color:#ccc;cursor:pointer;padding:8px 18px;color:#fff;font-weight:700;display:inline-block;position:relative;-webkit-font-smoothing:auto;text-decoration:none;border-radius:3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transition:background-color .2s ease-out,color .2s ease-out;-moz-transition:background-color .2s ease-out,color .2s ease-out;transition:background-color .2s ease-out,color .2s ease-out}.appcues-button:hover{text-decoration:none;color:#000;background-color:#dedede}.appcues-button.appcues-button-success{background-color:#5cb85c}.appcues-button.appcues-button-success:hover{background-color:#75c375;text-decoration:unset}.appcues-button.appcues-button-success.disabled{background-color:#eaf6ea}.appcues-button[data-step],.appcues-button[href]{color:#fff}.appcues-skip{width:100%;max-width:650px;position:relative;margin:0 auto}appcues[data-pattern-type=left] .appcues-skip{position:absolute;margin:6px 0}.appcues-skip>a{cursor:pointer;display:block;background-color:#ddd;color:#888;opacity:.3;border-bottom-left-radius:3px;padding:3px 10px 5px;position:absolute;right:0;font-size:23px;line-height:1;top:0;z-index:10;width:35px;text-align:center;text-decoration:none;box-sizing:border-box;overflow-wrap:normal;-webkit-transition:color .2s ease-out;-moz-transition:color .2s ease-out;transition:color .2s ease-out;-webkit-transition:opacity .2s ease-out;-moz-transition:opacity .2s ease-out;transition:opacity .2s ease-out}.appcues-skip>a:hover{text-decoration:none;opacity:1;color:#222}.appcues-backdrop,.appcues-backdrop[data-pattern-type=fullscreen]{inset:0;color:#888;font-weight:300;font-size:larger;padding:15px;text-align:center}.appcues-backdrop,.appcues-backdrop[data-pattern-type=fullscreen]{transition:opacity .32s linear}.appcues-backdrop.apc-hidden,.appcues-backdrop.appcues-backdrop-transparent{opacity:0!important;visibility:hidden}.appcues-responsive-embed{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;max-width:100%;height:auto;display:block}.appcues-responsive-embed iframe,.appcues-responsive-embed object,.appcues-responsive-embed embed{position:absolute;top:0;left:0;width:100%;height:100%}.appcues-backdrop,.appcues-backdrop[data-pattern-type=fullscreen]{position:fixed;background-color:#eee;z-index:2147483546}.appcues-backdrop[data-pattern-type=modal],.appcues-backdrop[data-pattern-type=left],.appcues-backdrop[data-pattern-type=shorty],.appcues-backdrop[data-pattern-type=slideout]{opacity:.7;background-color:#000}.appcues-powered-by-text{text-align:right;padding:5px;line-height:1}.appcues-powered-by-text a{font-family:Helvetica Neue,Helvetica,sans-serif!important;cursor:pointer!important;text-decoration:none!important;color:#888!important;font-size:10px!important}.appcues-powered-by-text a svg{vertical-align:bottom}.appcues-powered-by-text a svg>g,.appcues-powered-by-text a span{-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.appcues-powered-by-text a span{position:relative;margin-left:3px}.appcues-powered-by-text a span:before{content:"";position:absolute;width:100%;height:1px;bottom:-1px;left:0;visibility:hidden;background:#4baad4;-webkit-transform:scaleX(0);-moz-transform:scaleX(0);-ms-transform:scaleX(0);-o-transform:scaleX(0);transform:scaleX(0);-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.appcues-powered-by-text a:hover,.appcues-powered-by-text a:active,.appcues-powered-by-text a:focus{color:#4baad4}.appcues-powered-by-text a:hover svg>g,.appcues-powered-by-text a:active svg>g,.appcues-powered-by-text a:focus svg>g{fill:#4baad4}.appcues-powered-by-text a:hover span:before,.appcues-powered-by-text a:active span:before,.appcues-powered-by-text a:focus span:before{visibility:visible;-webkit-transform:scaleX(1);-moz-transform:scaleX(1);-ms-transform:scaleX(1);-o-transform:scaleX(1);transform:scaleX(1)}.appcues-powered-by-badge{font-family:Helvetica Neue,Helvetica,sans-serif!important;background:#fff6;position:fixed;bottom:16px;left:16px;padding:6px 8px 7px;border-radius:3px;border:1px solid transparent;display:block;z-index:2147483547;box-shadow:0 1px 5px #0003;cursor:pointer;box-sizing:border-box;overflow:hidden;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.appcues-powered-by-badge:before{background-color:#fff;content:"";position:absolute;z-index:-1;top:50%;left:50%;width:100%;height:0;opacity:0;-webkit-transform:translateX(-50%) translateY(-50%) rotate(45deg);-moz-transform:translateX(-50%) translateY(-50%) rotate(45deg);-ms-transform:translateX(-50%) translateY(-50%) rotate(45deg);-o-transform:translateX(-50%) translateY(-50%) rotate(45deg);transform:translate(-50%) translateY(-50%) rotate(45deg);-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out;transition:all .2s ease-out}.appcues-powered-by-badge:hover{border-color:#4baad4}.appcues-powered-by-badge:hover:before{height:90px;opacity:1}.appcues-powered-by-badge:hover .appcues-powered-by-content{color:#4baad4!important}.appcues-powered-by-badge:hover .appcues-powered-by-content svg>g{fill:#4baad4}.appcues-powered-by-badge a{cursor:pointer!important;text-decoration:none!important}.appcues-powered-by-badge .appcues-powered-by-content{font-family:Helvetica Neue,Helvetica,sans-serif!important;display:table-row;color:#555!important;-webkit-transition:color .2s ease-in-out;-moz-transition:color .2s ease-in-out;transition:color .2s ease-in-out}.appcues-powered-by-badge .appcues-powered-by-content svg>g{-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.appcues-powered-by-badge .appcues-powered-by-content .logo-container,.appcues-powered-by-badge .appcues-powered-by-content .text-container{display:table-cell;vertical-align:middle;height:20px}.appcues-powered-by-badge .appcues-powered-by-content .logo-container{text-align:center;width:20px}.appcues-powered-by-badge .appcues-powered-by-content .text-container{font-size:12px!important;padding-left:3px;line-height:1}.appcues-powered-by-badge .appcues-powered-by-content .text-container>small{font-size:6px!important;text-transform:uppercase;display:block}