@stacksjs/defaults 0.75.515 → 0.75.519

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.
Files changed (435) hide show
  1. package/ai/AGENTS.md +2 -2
  2. package/ai/skills/stacks-buddy/SKILL.md +1 -1
  3. package/ai/skills/stacks-build/SKILL.md +10 -0
  4. package/ai/skills/stacks-chief-of-staff/NOTICE.md +2 -2
  5. package/ai/skills/stacks-chief-of-staff/PLAYBOOK.md +32 -2
  6. package/ai/skills/stacks-codebase-design/DESIGN-IT-TWICE.md +1 -2
  7. package/ai/skills/stacks-codebase-design/NOTICE.md +2 -2
  8. package/ai/skills/stacks-docs/SKILL.md +78 -80
  9. package/ai/skills/stacks-domain-modeling/NOTICE.md +2 -2
  10. package/ai/skills/stacks-flow/ENGINEERING.md +3 -0
  11. package/ai/skills/stacks-flow/NOTICE.md +2 -2
  12. package/ai/skills/stacks-flow/upstream-skills.json +121 -90
  13. package/ai/skills/stacks-git/NOTICE.md +2 -2
  14. package/ai/skills/stacks-grill-with-docs/NOTICE.md +2 -2
  15. package/ai/skills/stacks-grilling/NOTICE.md +4 -4
  16. package/ai/skills/stacks-guard/NOTICE.md +2 -2
  17. package/ai/skills/stacks-handoff/NOTICE.md +4 -4
  18. package/ai/skills/stacks-implement/NOTICE.md +2 -2
  19. package/ai/skills/stacks-implement-spec/NOTICE.md +2 -2
  20. package/ai/skills/stacks-implement-spec/PLAYBOOK.md +4 -2
  21. package/ai/skills/stacks-improve-codebase-architecture/NOTICE.md +2 -2
  22. package/ai/skills/stacks-improve-codebase-architecture/PLAYBOOK.md +1 -1
  23. package/ai/skills/stacks-investigate/NOTICE.md +2 -2
  24. package/ai/skills/stacks-loop/NOTICE.md +2 -2
  25. package/ai/skills/stacks-marketing/CATALOG.md +5 -2
  26. package/ai/skills/stacks-marketing/NOTICE.md +2 -2
  27. package/ai/skills/stacks-marketing/SKILL.md +1 -1
  28. package/ai/skills/stacks-marketing-ab-testing/NOTICE.md +2 -2
  29. package/ai/skills/stacks-marketing-ab-testing/PLAYBOOK.md +9 -4
  30. package/ai/skills/stacks-marketing-ab-testing/SKILL.md +1 -1
  31. package/ai/skills/stacks-marketing-ab-testing/references/sample-size-guide.md +42 -27
  32. package/ai/skills/stacks-marketing-ad-creative/NOTICE.md +2 -2
  33. package/ai/skills/stacks-marketing-ad-creative/PLAYBOOK.md +41 -11
  34. package/ai/skills/stacks-marketing-ad-creative/SKILL.md +1 -1
  35. package/ai/skills/stacks-marketing-ad-creative/evals/evals.json +1 -1
  36. package/ai/skills/stacks-marketing-ad-creative/references/generative-tools.md +47 -51
  37. package/ai/skills/stacks-marketing-ad-creative/references/hook-system.md +7 -0
  38. package/ai/skills/stacks-marketing-ad-creative/references/imessage-video-ads.md +2 -2
  39. package/ai/skills/stacks-marketing-ads/NOTICE.md +2 -2
  40. package/ai/skills/stacks-marketing-ads/PLAYBOOK.md +37 -28
  41. package/ai/skills/stacks-marketing-ads/SKILL.md +1 -1
  42. package/ai/skills/stacks-marketing-ads/evals/evals.json +53 -0
  43. package/ai/skills/stacks-marketing-ads/references/abm-playbook.md +1 -1
  44. package/ai/skills/stacks-marketing-ads/references/audit-guardrails.md +11 -1
  45. package/ai/skills/stacks-marketing-ads/references/creative-research-automation.md +19 -0
  46. package/ai/skills/stacks-marketing-ads/references/google-ads-audit-checklist.md +35 -2
  47. package/ai/skills/stacks-marketing-ads/references/google-search-playbook.md +4 -0
  48. package/ai/skills/stacks-marketing-ads/references/linkedin-b2b-playbook.md +2 -0
  49. package/ai/skills/stacks-marketing-ads/references/meta-andromeda-playbook.md +33 -0
  50. package/ai/skills/stacks-marketing-ads/references/operating-check.md +75 -0
  51. package/ai/skills/stacks-marketing-ads/references/reading-google-ads-data.md +1 -1
  52. package/ai/skills/stacks-marketing-ai-seo/NOTICE.md +2 -2
  53. package/ai/skills/stacks-marketing-ai-seo/PLAYBOOK.md +32 -30
  54. package/ai/skills/stacks-marketing-ai-seo/SKILL.md +1 -1
  55. package/ai/skills/stacks-marketing-ai-seo/evals/evals.json +27 -0
  56. package/ai/skills/stacks-marketing-ai-seo/references/agent-defaults.md +79 -0
  57. package/ai/skills/stacks-marketing-ai-seo/references/agent-readiness.md +61 -11
  58. package/ai/skills/stacks-marketing-ai-seo/references/ai-attribution.md +54 -0
  59. package/ai/skills/stacks-marketing-ai-seo/references/answer-accuracy.md +84 -0
  60. package/ai/skills/stacks-marketing-ai-seo/references/citations-vs-recommendations.md +32 -1
  61. package/ai/skills/stacks-marketing-ai-seo/references/content-patterns.md +24 -0
  62. package/ai/skills/stacks-marketing-ai-seo/references/multilingual-and-commerce.md +55 -0
  63. package/ai/skills/stacks-marketing-ai-seo/references/platform-ranking-factors.md +31 -11
  64. package/ai/skills/stacks-marketing-ai-seo/references/prompt-portfolio.md +97 -0
  65. package/ai/skills/stacks-marketing-analytics/NOTICE.md +2 -2
  66. package/ai/skills/stacks-marketing-analytics/PLAYBOOK.md +74 -15
  67. package/ai/skills/stacks-marketing-analytics/SKILL.md +1 -1
  68. package/ai/skills/stacks-marketing-analytics/references/event-library.md +2 -2
  69. package/ai/skills/stacks-marketing-analytics/references/ga4-implementation.md +3 -3
  70. package/ai/skills/stacks-marketing-aso/NOTICE.md +2 -2
  71. package/ai/skills/stacks-marketing-aso/SKILL.md +1 -1
  72. package/ai/skills/stacks-marketing-aso/references/apple-specs.md +1 -1
  73. package/ai/skills/stacks-marketing-aso/references/scoring-criteria.md +3 -3
  74. package/ai/skills/stacks-marketing-attribution/NOTICE.md +2 -2
  75. package/ai/skills/stacks-marketing-attribution/PLAYBOOK.md +11 -11
  76. package/ai/skills/stacks-marketing-attribution/SKILL.md +1 -1
  77. package/ai/skills/stacks-marketing-attribution/references/by-business-type.md +1 -1
  78. package/ai/skills/stacks-marketing-attribution/references/measurement-paradigms.md +4 -3
  79. package/ai/skills/stacks-marketing-churn-prevention/NOTICE.md +2 -2
  80. package/ai/skills/stacks-marketing-churn-prevention/PLAYBOOK.md +14 -4
  81. package/ai/skills/stacks-marketing-churn-prevention/SKILL.md +1 -1
  82. package/ai/skills/stacks-marketing-churn-prevention/references/dunning-playbook.md +10 -7
  83. package/ai/skills/stacks-marketing-co-marketing/NOTICE.md +2 -2
  84. package/ai/skills/stacks-marketing-co-marketing/PLAYBOOK.md +4 -4
  85. package/ai/skills/stacks-marketing-co-marketing/SKILL.md +1 -1
  86. package/ai/skills/stacks-marketing-co-marketing/references/partnership-types.md +2 -2
  87. package/ai/skills/stacks-marketing-cold-email/NOTICE.md +2 -2
  88. package/ai/skills/stacks-marketing-cold-email/PLAYBOOK.md +6 -6
  89. package/ai/skills/stacks-marketing-cold-email/SKILL.md +1 -1
  90. package/ai/skills/stacks-marketing-cold-email/references/deliverability.md +1 -1
  91. package/ai/skills/stacks-marketing-cold-email/references/follow-up-sequences.md +1 -1
  92. package/ai/skills/stacks-marketing-cold-email/references/multichannel-cadence.md +1 -1
  93. package/ai/skills/stacks-marketing-cold-email/references/outbound-plays.md +1 -1
  94. package/ai/skills/stacks-marketing-cold-email/references/personalization.md +1 -1
  95. package/ai/skills/stacks-marketing-community-marketing/NOTICE.md +2 -2
  96. package/ai/skills/stacks-marketing-community-marketing/PLAYBOOK.md +1 -1
  97. package/ai/skills/stacks-marketing-community-marketing/SKILL.md +1 -1
  98. package/ai/skills/stacks-marketing-community-marketing/references/community-models.md +2 -2
  99. package/ai/skills/stacks-marketing-competitor-profiling/NOTICE.md +2 -2
  100. package/ai/skills/stacks-marketing-competitor-profiling/PLAYBOOK.md +2 -0
  101. package/ai/skills/stacks-marketing-competitor-profiling/SKILL.md +1 -1
  102. package/ai/skills/stacks-marketing-competitors/NOTICE.md +1 -1
  103. package/ai/skills/stacks-marketing-competitors/SKILL.md +1 -1
  104. package/ai/skills/stacks-marketing-content-strategy/NOTICE.md +2 -2
  105. package/ai/skills/stacks-marketing-content-strategy/PLAYBOOK.md +4 -1
  106. package/ai/skills/stacks-marketing-content-strategy/SKILL.md +1 -1
  107. package/ai/skills/stacks-marketing-content-strategy/references/headless-cms.md +3 -3
  108. package/ai/skills/stacks-marketing-conversion-tracking/LICENSE +21 -0
  109. package/ai/skills/stacks-marketing-conversion-tracking/NOTICE.md +12 -0
  110. package/ai/skills/stacks-marketing-conversion-tracking/PLAYBOOK.md +164 -0
  111. package/ai/skills/stacks-marketing-conversion-tracking/SKILL.md +16 -0
  112. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/README.md +61 -0
  113. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-acuity-scheduling.json +160 -0
  114. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-cal-com.json +141 -0
  115. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-calendly.json +122 -0
  116. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-contact-form-7.json +103 -0
  117. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-divi-forms.json +103 -0
  118. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-elementor-forms.json +103 -0
  119. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-file-download.json +81 -0
  120. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-fluent-forms.json +104 -0
  121. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-formidable-forms.json +103 -0
  122. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-forminator.json +103 -0
  123. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-framer-forms.json +103 -0
  124. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-generic-ajax-form.json +81 -0
  125. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-gravity-forms.json +103 -0
  126. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-hubspot-forms.json +103 -0
  127. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-jotform.json +103 -0
  128. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-ninja-forms.json +103 -0
  129. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-phone-click.json +81 -0
  130. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-squarespace-forms.json +122 -0
  131. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-tally.json +122 -0
  132. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-thank-you-page.json +81 -0
  133. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-typeform.json +122 -0
  134. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-webflow-forms.json +103 -0
  135. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-wix-forms.json +103 -0
  136. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-wix-scheduling.json +103 -0
  137. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-wpforms.json +103 -0
  138. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-ws-form.json +103 -0
  139. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/event-map.json +132 -0
  140. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/send/ga4.json +58 -0
  141. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/send/google-ads.json +76 -0
  142. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/send/linkedin.json +128 -0
  143. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/send/meta.json +128 -0
  144. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/send/microsoft.json +128 -0
  145. package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/send/tiktok.json +128 -0
  146. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/README.md +112 -0
  147. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/acuity-scheduling-field.html +28 -0
  148. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/acuity-scheduling.js +75 -0
  149. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/cal-com.js +134 -0
  150. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/calendly.js +113 -0
  151. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/contact-form-7.js +101 -0
  152. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/divi-forms.js +54 -0
  153. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/elementor-forms.js +54 -0
  154. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/file-download.js +96 -0
  155. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/fluent-forms.js +103 -0
  156. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/formidable-forms.js +203 -0
  157. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/forminator.js +65 -0
  158. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/framer-forms.js +96 -0
  159. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/generic-ajax-form.js +165 -0
  160. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/gravity-forms.js +234 -0
  161. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/hubspot-forms.js +162 -0
  162. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/jotform.js +32 -0
  163. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/ninja-forms.js +154 -0
  164. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/phone-click.js +71 -0
  165. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/squarespace-forms.js +428 -0
  166. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/tally.js +167 -0
  167. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/thank-you-page.js +87 -0
  168. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/typeform.js +147 -0
  169. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/webflow-forms.js +57 -0
  170. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/wix-forms.js +232 -0
  171. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/wix-scheduling.js +80 -0
  172. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/wpforms.js +198 -0
  173. package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/ws-form.js +57 -0
  174. package/ai/skills/stacks-marketing-conversion-tracking/evals/evals.json +264 -0
  175. package/ai/skills/stacks-marketing-conversion-tracking/references/audit-playbook.md +106 -0
  176. package/ai/skills/stacks-marketing-conversion-tracking/references/browser-side.md +424 -0
  177. package/ai/skills/stacks-marketing-conversion-tracking/references/conversion-moments.md +318 -0
  178. package/ai/skills/stacks-marketing-conversion-tracking/references/discrepancies.md +136 -0
  179. package/ai/skills/stacks-marketing-conversion-tracking/references/ecommerce-platforms.md +71 -0
  180. package/ai/skills/stacks-marketing-conversion-tracking/references/google-ads.md +316 -0
  181. package/ai/skills/stacks-marketing-conversion-tracking/references/meta.md +202 -0
  182. package/ai/skills/stacks-marketing-conversion-tracking/references/other-platforms.md +201 -0
  183. package/ai/skills/stacks-marketing-conversion-tracking/references/server-side.md +167 -0
  184. package/ai/skills/stacks-marketing-conversion-tracking/scripts/build-recipe.ts +140 -0
  185. package/ai/skills/stacks-marketing-copy-editing/NOTICE.md +2 -2
  186. package/ai/skills/stacks-marketing-copy-editing/PLAYBOOK.md +3 -1
  187. package/ai/skills/stacks-marketing-copy-editing/SKILL.md +1 -1
  188. package/ai/skills/stacks-marketing-copy-editing/evals/evals.json +13 -0
  189. package/ai/skills/stacks-marketing-copy-editing/references/checklist.md +24 -0
  190. package/ai/skills/stacks-marketing-copywriting/NOTICE.md +2 -2
  191. package/ai/skills/stacks-marketing-copywriting/PLAYBOOK.md +55 -2
  192. package/ai/skills/stacks-marketing-copywriting/SKILL.md +1 -1
  193. package/ai/skills/stacks-marketing-copywriting/evals/evals.json +14 -0
  194. package/ai/skills/stacks-marketing-copywriting/references/ai-tells.md +48 -0
  195. package/ai/skills/stacks-marketing-copywriting/references/copy-frameworks.md +1 -1
  196. package/ai/skills/stacks-marketing-council/NOTICE.md +1 -1
  197. package/ai/skills/stacks-marketing-council/SKILL.md +1 -1
  198. package/ai/skills/stacks-marketing-cro/NOTICE.md +1 -1
  199. package/ai/skills/stacks-marketing-cro/PLAYBOOK.md +1 -1
  200. package/ai/skills/stacks-marketing-cro/SKILL.md +1 -1
  201. package/ai/skills/stacks-marketing-customer-research/NOTICE.md +2 -2
  202. package/ai/skills/stacks-marketing-customer-research/PLAYBOOK.md +1 -1
  203. package/ai/skills/stacks-marketing-customer-research/SKILL.md +1 -1
  204. package/ai/skills/stacks-marketing-customer-research/references/source-guides.md +1 -1
  205. package/ai/skills/stacks-marketing-directory-submissions/NOTICE.md +2 -2
  206. package/ai/skills/stacks-marketing-directory-submissions/PLAYBOOK.md +6 -5
  207. package/ai/skills/stacks-marketing-directory-submissions/SKILL.md +1 -1
  208. package/ai/skills/stacks-marketing-directory-submissions/evals/evals.json +14 -2
  209. package/ai/skills/stacks-marketing-directory-submissions/references/directory-list.md +4 -4
  210. package/ai/skills/stacks-marketing-directory-submissions/references/positioning-variations.md +1 -1
  211. package/ai/skills/stacks-marketing-directory-submissions/references/submission-tracker-template.csv +1 -1
  212. package/ai/skills/stacks-marketing-emails/NOTICE.md +2 -2
  213. package/ai/skills/stacks-marketing-emails/PLAYBOOK.md +9 -7
  214. package/ai/skills/stacks-marketing-emails/SKILL.md +1 -1
  215. package/ai/skills/stacks-marketing-events/NOTICE.md +1 -1
  216. package/ai/skills/stacks-marketing-events/SKILL.md +1 -1
  217. package/ai/skills/stacks-marketing-free-tools/NOTICE.md +2 -2
  218. package/ai/skills/stacks-marketing-free-tools/PLAYBOOK.md +6 -5
  219. package/ai/skills/stacks-marketing-free-tools/SKILL.md +1 -1
  220. package/ai/skills/stacks-marketing-free-tools/evals/evals.json +3 -2
  221. package/ai/skills/stacks-marketing-free-tools/references/tool-benchmarks.md +24 -23
  222. package/ai/skills/stacks-marketing-ideas/NOTICE.md +2 -2
  223. package/ai/skills/stacks-marketing-ideas/PLAYBOOK.md +1 -0
  224. package/ai/skills/stacks-marketing-ideas/SKILL.md +1 -1
  225. package/ai/skills/stacks-marketing-image/NOTICE.md +2 -2
  226. package/ai/skills/stacks-marketing-image/PLAYBOOK.md +6 -6
  227. package/ai/skills/stacks-marketing-image/SKILL.md +1 -1
  228. package/ai/skills/stacks-marketing-image/references/ai-image-prompting.md +5 -5
  229. package/ai/skills/stacks-marketing-influencer-marketing/NOTICE.md +2 -2
  230. package/ai/skills/stacks-marketing-influencer-marketing/PLAYBOOK.md +11 -4
  231. package/ai/skills/stacks-marketing-influencer-marketing/SKILL.md +1 -1
  232. package/ai/skills/stacks-marketing-influencer-marketing/evals/evals.json +14 -0
  233. package/ai/skills/stacks-marketing-influencer-marketing/references/newsletter-sponsorships.md +76 -0
  234. package/ai/skills/stacks-marketing-influencer-marketing/references/paid-ads-creator-program.md +79 -0
  235. package/ai/skills/stacks-marketing-influencer-marketing/references/telegram-channels.md +111 -0
  236. package/ai/skills/stacks-marketing-launch/NOTICE.md +1 -1
  237. package/ai/skills/stacks-marketing-launch/PLAYBOOK.md +1 -1
  238. package/ai/skills/stacks-marketing-launch/SKILL.md +1 -1
  239. package/ai/skills/stacks-marketing-launch/references/site-launch-qa.md +2 -2
  240. package/ai/skills/stacks-marketing-lead-magnets/NOTICE.md +2 -2
  241. package/ai/skills/stacks-marketing-lead-magnets/PLAYBOOK.md +1 -2
  242. package/ai/skills/stacks-marketing-lead-magnets/SKILL.md +1 -1
  243. package/ai/skills/stacks-marketing-link-building/LICENSE +21 -0
  244. package/ai/skills/stacks-marketing-link-building/NOTICE.md +8 -0
  245. package/ai/skills/stacks-marketing-link-building/PLAYBOOK.md +167 -0
  246. package/ai/skills/stacks-marketing-link-building/SKILL.md +16 -0
  247. package/ai/skills/stacks-marketing-link-building/evals/evals.json +71 -0
  248. package/ai/skills/stacks-marketing-link-building/references/prospecting-and-outreach.md +114 -0
  249. package/ai/skills/stacks-marketing-link-building/references/risk-policy.md +56 -0
  250. package/ai/skills/stacks-marketing-link-building/references/tactics.md +106 -0
  251. package/ai/skills/stacks-marketing-loops/NOTICE.md +2 -2
  252. package/ai/skills/stacks-marketing-loops/PLAYBOOK.md +3 -2
  253. package/ai/skills/stacks-marketing-loops/SKILL.md +2 -2
  254. package/ai/skills/stacks-marketing-loops/references/loop-catalog.md +131 -14
  255. package/ai/skills/stacks-marketing-loops/references/loop-orchestration.md +2 -2
  256. package/ai/skills/stacks-marketing-loops/references/loop-state.md +21 -0
  257. package/ai/skills/stacks-marketing-loops/references/seo-operator.md +1 -1
  258. package/ai/skills/stacks-marketing-offers/NOTICE.md +2 -2
  259. package/ai/skills/stacks-marketing-offers/PLAYBOOK.md +1 -1
  260. package/ai/skills/stacks-marketing-offers/SKILL.md +1 -1
  261. package/ai/skills/stacks-marketing-offers/evals/evals.json +13 -0
  262. package/ai/skills/stacks-marketing-offers/references/offer-formats.md +1 -1
  263. package/ai/skills/stacks-marketing-onboarding/NOTICE.md +2 -2
  264. package/ai/skills/stacks-marketing-onboarding/PLAYBOOK.md +10 -4
  265. package/ai/skills/stacks-marketing-onboarding/SKILL.md +1 -1
  266. package/ai/skills/stacks-marketing-onboarding/evals/evals.json +2 -2
  267. package/ai/skills/stacks-marketing-onboarding/references/activation-models.md +4 -1
  268. package/ai/skills/stacks-marketing-paywalls/NOTICE.md +2 -2
  269. package/ai/skills/stacks-marketing-paywalls/PLAYBOOK.md +3 -0
  270. package/ai/skills/stacks-marketing-paywalls/SKILL.md +1 -1
  271. package/ai/skills/stacks-marketing-paywalls/evals/evals.json +15 -0
  272. package/ai/skills/stacks-marketing-paywalls/references/experiments.md +7 -3
  273. package/ai/skills/stacks-marketing-paywalls/references/mobile-subscription-paywalls.md +69 -0
  274. package/ai/skills/stacks-marketing-plan/NOTICE.md +2 -2
  275. package/ai/skills/stacks-marketing-plan/PLAYBOOK.md +5 -0
  276. package/ai/skills/stacks-marketing-plan/SKILL.md +1 -1
  277. package/ai/skills/stacks-marketing-popups/NOTICE.md +2 -2
  278. package/ai/skills/stacks-marketing-popups/PLAYBOOK.md +1 -2
  279. package/ai/skills/stacks-marketing-popups/SKILL.md +1 -1
  280. package/ai/skills/stacks-marketing-pricing/NOTICE.md +2 -2
  281. package/ai/skills/stacks-marketing-pricing/SKILL.md +1 -1
  282. package/ai/skills/stacks-marketing-pricing/references/research-methods.md +12 -2
  283. package/ai/skills/stacks-marketing-product-marketing/NOTICE.md +2 -2
  284. package/ai/skills/stacks-marketing-product-marketing/PLAYBOOK.md +72 -7
  285. package/ai/skills/stacks-marketing-product-marketing/SKILL.md +1 -1
  286. package/ai/skills/stacks-marketing-product-marketing/references/brand-voice.md +103 -0
  287. package/ai/skills/stacks-marketing-programmatic-seo/NOTICE.md +2 -2
  288. package/ai/skills/stacks-marketing-programmatic-seo/PLAYBOOK.md +1 -1
  289. package/ai/skills/stacks-marketing-programmatic-seo/SKILL.md +1 -1
  290. package/ai/skills/stacks-marketing-programmatic-seo/references/implementation-platforms.md +2 -2
  291. package/ai/skills/stacks-marketing-programmatic-seo/references/playbooks.md +1 -1
  292. package/ai/skills/stacks-marketing-prospecting/NOTICE.md +2 -2
  293. package/ai/skills/stacks-marketing-prospecting/PLAYBOOK.md +18 -18
  294. package/ai/skills/stacks-marketing-prospecting/SKILL.md +1 -1
  295. package/ai/skills/stacks-marketing-prospecting/evals/evals.json +28 -0
  296. package/ai/skills/stacks-marketing-prospecting/references/data-sources.md +12 -12
  297. package/ai/skills/stacks-marketing-prospecting/references/enrichment-playbook.md +1 -1
  298. package/ai/skills/stacks-marketing-prospecting/references/signal-plays.md +44 -2
  299. package/ai/skills/stacks-marketing-psychology/NOTICE.md +1 -1
  300. package/ai/skills/stacks-marketing-psychology/SKILL.md +1 -1
  301. package/ai/skills/stacks-marketing-public-relations/NOTICE.md +2 -2
  302. package/ai/skills/stacks-marketing-public-relations/PLAYBOOK.md +3 -0
  303. package/ai/skills/stacks-marketing-public-relations/SKILL.md +1 -1
  304. package/ai/skills/stacks-marketing-referrals/NOTICE.md +2 -2
  305. package/ai/skills/stacks-marketing-referrals/PLAYBOOK.md +8 -8
  306. package/ai/skills/stacks-marketing-referrals/SKILL.md +1 -1
  307. package/ai/skills/stacks-marketing-referrals/references/affiliate-programs.md +1 -1
  308. package/ai/skills/stacks-marketing-referrals/references/program-examples.md +9 -2
  309. package/ai/skills/stacks-marketing-referrals/references/review-programs.md +1 -1
  310. package/ai/skills/stacks-marketing-reverse-engineer-marketing/LICENSE +21 -0
  311. package/ai/skills/stacks-marketing-reverse-engineer-marketing/NOTICE.md +8 -0
  312. package/ai/skills/stacks-marketing-reverse-engineer-marketing/PLAYBOOK.md +312 -0
  313. package/ai/skills/stacks-marketing-reverse-engineer-marketing/SKILL.md +21 -0
  314. package/ai/skills/stacks-marketing-reverse-engineer-marketing/evals/evals.json +242 -0
  315. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/content-teardown.md +97 -0
  316. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/data-sources.md +147 -0
  317. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/funnel-hack.md +96 -0
  318. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/go-inside.md +107 -0
  319. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/hidden-signals.md +78 -0
  320. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/agencies-b2b-services.md +84 -0
  321. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/automotive.md +86 -0
  322. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/care-services.md +83 -0
  323. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/consumer-hardware.md +87 -0
  324. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/cpg-food-beverage.md +85 -0
  325. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/crypto-web3.md +86 -0
  326. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/ecommerce-dtc.md +93 -0
  327. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/education.md +86 -0
  328. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/events-entertainment.md +88 -0
  329. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/finance.md +92 -0
  330. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/fitness-wellness.md +86 -0
  331. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/franchising.md +84 -0
  332. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/gambling-betting.md +85 -0
  333. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/games-pc-console.md +84 -0
  334. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/govtech-public-sector.md +86 -0
  335. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/healthcare.md +88 -0
  336. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/hospitality-travel.md +86 -0
  337. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/insurance.md +87 -0
  338. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/legal-professional-services.md +86 -0
  339. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/local-services.md +88 -0
  340. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/logistics-transportation.md +87 -0
  341. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/manufacturing-industrial.md +84 -0
  342. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/marketplaces.md +85 -0
  343. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/media-creators.md +85 -0
  344. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/mobile-apps-games.md +96 -0
  345. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/nonprofit.md +84 -0
  346. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/real-estate.md +87 -0
  347. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/regulated-goods.md +88 -0
  348. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/retail.md +88 -0
  349. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/saas.md +91 -0
  350. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/solar-home-energy.md +84 -0
  351. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/landscape.md +85 -0
  352. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/play-routing.md +73 -0
  353. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/playbook-template.md +133 -0
  354. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/team-voices.md +71 -0
  355. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/timeline-analysis.md +62 -0
  356. package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/weak-spots.md +70 -0
  357. package/ai/skills/stacks-marketing-revops/NOTICE.md +2 -2
  358. package/ai/skills/stacks-marketing-revops/PLAYBOOK.md +14 -14
  359. package/ai/skills/stacks-marketing-revops/SKILL.md +1 -1
  360. package/ai/skills/stacks-marketing-revops/references/automation-playbooks.md +3 -3
  361. package/ai/skills/stacks-marketing-revops/references/inbound-routing.md +1 -1
  362. package/ai/skills/stacks-marketing-revops/references/lifecycle-definitions.md +2 -0
  363. package/ai/skills/stacks-marketing-revops/references/scoring-models.md +14 -13
  364. package/ai/skills/stacks-marketing-sales-enablement/NOTICE.md +1 -1
  365. package/ai/skills/stacks-marketing-sales-enablement/PLAYBOOK.md +2 -2
  366. package/ai/skills/stacks-marketing-sales-enablement/SKILL.md +1 -1
  367. package/ai/skills/stacks-marketing-sales-enablement/references/cold-call-scripts.md +1 -1
  368. package/ai/skills/stacks-marketing-schema/NOTICE.md +1 -1
  369. package/ai/skills/stacks-marketing-schema/SKILL.md +1 -1
  370. package/ai/skills/stacks-marketing-seo-audit/NOTICE.md +2 -2
  371. package/ai/skills/stacks-marketing-seo-audit/PLAYBOOK.md +5 -4
  372. package/ai/skills/stacks-marketing-seo-audit/SKILL.md +1 -1
  373. package/ai/skills/stacks-marketing-seo-audit/references/international-seo.md +3 -1
  374. package/ai/skills/stacks-marketing-seo-audit/references/rankings-push.md +1 -1
  375. package/ai/skills/stacks-marketing-signup/NOTICE.md +1 -1
  376. package/ai/skills/stacks-marketing-signup/PLAYBOOK.md +1 -1
  377. package/ai/skills/stacks-marketing-signup/SKILL.md +1 -1
  378. package/ai/skills/stacks-marketing-site-architecture/NOTICE.md +1 -1
  379. package/ai/skills/stacks-marketing-site-architecture/SKILL.md +1 -1
  380. package/ai/skills/stacks-marketing-site-architecture/references/platforms-and-migration.md +1 -1
  381. package/ai/skills/stacks-marketing-sms/NOTICE.md +1 -1
  382. package/ai/skills/stacks-marketing-sms/PLAYBOOK.md +9 -9
  383. package/ai/skills/stacks-marketing-sms/SKILL.md +1 -1
  384. package/ai/skills/stacks-marketing-social/NOTICE.md +2 -2
  385. package/ai/skills/stacks-marketing-social/PLAYBOOK.md +5 -4
  386. package/ai/skills/stacks-marketing-social/SKILL.md +1 -1
  387. package/ai/skills/stacks-marketing-social/references/listening.md +13 -0
  388. package/ai/skills/stacks-marketing-social/references/platforms.md +37 -1
  389. package/ai/skills/stacks-marketing-social/references/short-form-video.md +51 -6
  390. package/ai/skills/stacks-marketing-video/NOTICE.md +2 -2
  391. package/ai/skills/stacks-marketing-video/PLAYBOOK.md +35 -18
  392. package/ai/skills/stacks-marketing-video/SKILL.md +1 -1
  393. package/ai/skills/stacks-marketing-video/evals/evals.json +27 -0
  394. package/ai/skills/stacks-marketing-video/references/code-rendered-product-films.md +119 -0
  395. package/ai/skills/stacks-native/CATALOG.md +6 -6
  396. package/ai/skills/stacks-pr/NOTICE.md +2 -2
  397. package/ai/skills/stacks-prototype/NOTICE.md +2 -2
  398. package/ai/skills/stacks-research/NOTICE.md +2 -2
  399. package/ai/skills/stacks-research/PLAYBOOK.md +1 -1
  400. package/ai/skills/stacks-retro/NOTICE.md +2 -2
  401. package/ai/skills/stacks-review/NOTICE.md +2 -2
  402. package/ai/skills/stacks-scaffold-exercises/NOTICE.md +2 -2
  403. package/ai/skills/stacks-setup-deep-modules/NOTICE.md +2 -2
  404. package/ai/skills/stacks-setup-engineering/NOTICE.md +2 -2
  405. package/ai/skills/stacks-setup-engineering/PLAYBOOK.md +3 -1
  406. package/ai/skills/stacks-setup-engineering/issue-tracker-github.md +8 -4
  407. package/ai/skills/stacks-setup-engineering/issue-tracker-gitlab.md +3 -3
  408. package/ai/skills/stacks-software-factory/EXAMPLE-TASKS.md +80 -0
  409. package/ai/skills/stacks-software-factory/GIT-HOSTS.md +84 -0
  410. package/ai/skills/stacks-software-factory/LICENSE +21 -0
  411. package/ai/skills/stacks-software-factory/NOTICE.md +8 -0
  412. package/ai/skills/stacks-software-factory/OBSERVABILITY-PLATFORMS.md +75 -0
  413. package/ai/skills/stacks-software-factory/PLAYBOOK.md +95 -0
  414. package/ai/skills/stacks-software-factory/RUNNERS.md +94 -0
  415. package/ai/skills/stacks-software-factory/SKILL.md +21 -0
  416. package/ai/skills/stacks-software-factory/TICKET-TRACKERS.md +85 -0
  417. package/ai/skills/stacks-tdd/NOTICE.md +2 -2
  418. package/ai/skills/stacks-teach/NOTICE.md +2 -2
  419. package/ai/skills/stacks-test-fixtures/NOTICE.md +2 -2
  420. package/ai/skills/stacks-to-questionnaire/NOTICE.md +2 -2
  421. package/ai/skills/stacks-to-spec/NOTICE.md +2 -2
  422. package/ai/skills/stacks-to-tickets/NOTICE.md +2 -2
  423. package/ai/skills/stacks-triage/NOTICE.md +2 -2
  424. package/ai/skills/stacks-wait-what/NOTICE.md +2 -2
  425. package/ai/skills/stacks-wayfinder/NOTICE.md +2 -2
  426. package/ai/skills/stacks-wayfinder/PLAYBOOK.md +1 -1
  427. package/ai/skills/stacks-wizard/NOTICE.md +2 -2
  428. package/ai/skills/stacks-writing-beats/NOTICE.md +2 -2
  429. package/ai/skills/stacks-writing-for-agents/NOTICE.md +2 -2
  430. package/ai/skills/stacks-writing-for-agents/SKILL.md +1 -1
  431. package/ai/skills/stacks-writing-fragments/NOTICE.md +2 -2
  432. package/ai/skills/stacks-writing-shape/NOTICE.md +2 -2
  433. package/app/Actions/UnsubscribeAction.ts +1 -0
  434. package/ide/vscode/package.json +1 -1
  435. package/package.json +3 -3
@@ -0,0 +1,428 @@
1
+ // Upstream GTM Custom HTML asset: retain ES5 syntax and callback signatures.
2
+ /* eslint-disable prefer-const, pickier/no-unused-vars */
3
+ /*! Squarespace Forms conversion detection (MIT)
4
+ * Detects: form submission. Pushes dataLayer event: squarespace_form_submitted
5
+ * From the conversion-tracking skill in Marketing Skills */
6
+ (function () {
7
+ 'use strict';
8
+ // Install once, even if GTM injects this tag more than once on the page.
9
+ if (window.__ctDetectSquarespaceForms) return;
10
+ window.__ctDetectSquarespaceForms = true;
11
+ window.dataLayer = window.dataLayer || [];
12
+
13
+ // Ported from a production module (cdn/v1/modules/
14
+ // squarespace-forms.js, measured against a live Squarespace 7.1 site in
15
+ // October 2026). Event only: it never reads what the visitor typed.
16
+ //
17
+ // What Squarespace does:
18
+ // - The Form block renders a React form in the page (no iframe):
19
+ // .sqs-block-form ... form.react-form-contents[novalidate]. It mounts
20
+ // after DOMContentLoaded, so submits are caught on document.
21
+ // - There is no check in the browser. Every submit posts
22
+ // /api/form/FormSubmissionKey then /api/form/SaveFormSubmission, and the
23
+ // server decides: 204 on success, 400 for a field error, 401 for a failed
24
+ // reCAPTCHA. A submit is never a conversion on its own.
25
+ // - On success it marks the form (react-form-contents--submitted), shows a
26
+ // .form-submission-text message and gives the button the class
27
+ // "success". A form set to redirect leaves for its page about 1.3
28
+ // seconds after the 204, before that message renders in Chromium.
29
+ // - The Newsletter block posts to the same SaveFormSubmission address, and
30
+ // that request carries no form identity, so a save only counts for a
31
+ // form that provably owns it.
32
+ //
33
+ // It fires once per form, on the first confirmed success for an attempt:
34
+ // 1. a success marker that was not there when the attempt started, or
35
+ // 2. the SaveFormSubmission request answering 2xx (read from the
36
+ // browser's resource timing, where it exposes responseStatus), when
37
+ // no other form's submit could own that save, or
38
+ // 3. as the page leaves (a redirect form), either of the above.
39
+ // It never fires on a 400 or 401, on a filled anti-spam field, or when it
40
+ // cannot tell which form a save belongs to.
41
+
42
+ var EVENT_NAME = 'squarespace_form_submitted';
43
+ var BLOCK_SELECTOR = '.sqs-block-form, [data-sqsp-block="form"], [data-definition-name="website.components.form"]';
44
+ var SAVE_PATH = '/api/form/SaveFormSubmission';
45
+ // Long enough for a visitor to solve a reCAPTCHA picture challenge.
46
+ var WATCH_MS = 180000;
47
+
48
+ function now() {
49
+ try {
50
+ if (window.performance && typeof window.performance.now === 'function') return window.performance.now();
51
+ } catch (e) {}
52
+ return 0;
53
+ }
54
+
55
+ function hasToken(el, token) {
56
+ if (!el || !el.getAttribute) return false;
57
+ var cls = el.getAttribute('class') || '';
58
+ return (' ' + cls + ' ').indexOf(' ' + token + ' ') !== -1;
59
+ }
60
+
61
+ function isConnected(el) {
62
+ try {
63
+ if (typeof el.isConnected === 'boolean') return el.isConnected;
64
+ return !!(el.ownerDocument && el.ownerDocument.documentElement.contains(el));
65
+ } catch (e) {
66
+ return false;
67
+ }
68
+ }
69
+
70
+ // ---- Which forms are Squarespace forms ----
71
+
72
+ function blockFor(formEl) {
73
+ try {
74
+ return (formEl && formEl.closest) ? formEl.closest(BLOCK_SELECTOR) : null;
75
+ } catch (e) {
76
+ return null;
77
+ }
78
+ }
79
+
80
+ function isSquarespaceForm(formEl) {
81
+ if (!formEl || (formEl.tagName || '').toLowerCase() !== 'form') return false;
82
+ return !!blockFor(formEl);
83
+ }
84
+
85
+ // The block's own form definition (the site owner's settings, not the
86
+ // visitor's answers): { formId, formName, ... }.
87
+ function formIdentity(block) {
88
+ var id = { formId: '', formName: '' };
89
+ try {
90
+ var script = block && block.querySelector('script.sqs-form-block-context');
91
+ if (!script) return id;
92
+ var parsed = JSON.parse(script.textContent || '{}');
93
+ if (parsed && typeof parsed.formId === 'string') id.formId = parsed.formId;
94
+ if (parsed && typeof parsed.formName === 'string') id.formName = parsed.formName;
95
+ } catch (e) {}
96
+ return id;
97
+ }
98
+
99
+ // The honeypot is a text input visitors cannot see or reach (measured id
100
+ // "message-field", inside an aria-hidden wrapper). Squarespace answers a
101
+ // filled one with a 204 and its thank-you message, so a filled honeypot
102
+ // means a bot. Only whether it is empty is checked.
103
+ function honeypotFilled(formEl) {
104
+ try {
105
+ var hp = formEl.querySelector('#message-field');
106
+ if (!hp) return false;
107
+ var wrap = hp.closest && hp.closest('[aria-hidden="true"]');
108
+ if (!wrap || !formEl.contains(wrap)) return false;
109
+ return hp.value !== '';
110
+ } catch (e) {
111
+ return false;
112
+ }
113
+ }
114
+
115
+ function submitButtonOf(formEl) {
116
+ try { return formEl.querySelector('button[type="submit"]'); } catch (e) { return null; }
117
+ }
118
+
119
+ // ---- Which form a save request belongs to ----
120
+
121
+ var seenSaves = []; // SaveFormSubmission resource entries seen so far
122
+ var claimed = []; // entries already credited to a form
123
+ var submitLog = []; // every form submit on the page, with its time
124
+
125
+ function pageOrigin() {
126
+ try {
127
+ var l = window.location;
128
+ return l.origin || (l.protocol + '//' + l.host);
129
+ } catch (e) {
130
+ return '';
131
+ }
132
+ }
133
+
134
+ // The save request's address is checked for its origin and path only.
135
+ function isSaveEntry(e) {
136
+ var n = (e && e.name) || '';
137
+ var origin = pageOrigin();
138
+ if (!origin || n.indexOf(origin + '/') !== 0) return false;
139
+ return n.slice(origin.length).split(/[?#]/)[0] === SAVE_PATH;
140
+ }
141
+
142
+ function prune() {
143
+ // An attempt is watched for WATCH_MS, and submits up to WATCH_MS before
144
+ // it still count when deciding who owns a save.
145
+ var cutoff = now() - 2 * WATCH_MS;
146
+ var i;
147
+ for (i = submitLog.length - 1; i >= 0; i--) if (submitLog[i].at < cutoff) submitLog.splice(i, 1);
148
+ for (i = seenSaves.length - 1; i >= 0; i--) if (seenSaves[i].startTime < cutoff) seenSaves.splice(i, 1);
149
+ if (seenSaves.length > 100) seenSaves.splice(0, seenSaves.length - 100);
150
+ if (claimed.length > 100) claimed.splice(0, claimed.length - 100);
151
+ }
152
+
153
+ function allSaveEntries() {
154
+ var all = seenSaves.slice();
155
+ try {
156
+ if (window.performance && typeof window.performance.getEntriesByType === 'function') {
157
+ var buffered = window.performance.getEntriesByType('resource');
158
+ for (var b = 0; b < buffered.length; b++) if (all.indexOf(buffered[b]) === -1) all.push(buffered[b]);
159
+ }
160
+ } catch (err) {}
161
+ var out = [];
162
+ for (var i = 0; i < all.length; i++) if (isSaveEntry(all[i])) out.push(all[i]);
163
+ return out;
164
+ }
165
+
166
+ function saveEntriesSince(since) {
167
+ var all = allSaveEntries();
168
+ var out = [];
169
+ for (var i = 0; i < all.length; i++) {
170
+ if (all[i].startTime >= since && claimed.indexOf(all[i]) === -1) out.push(all[i]);
171
+ }
172
+ out.sort(function (x, y) { return x.startTime - y.startTime; });
173
+ return out;
174
+ }
175
+
176
+ // A save's owner is ambiguous when another form (a Newsletter block
177
+ // included) was submitted during this attempt. It is also ambiguous when
178
+ // another form was submitted earlier in the watch window and may still be
179
+ // waiting for its save, because a slow reCAPTCHA can hold that save back
180
+ // until after this attempt starts. Each submit gets at most one save, so
181
+ // fewer saves than submits before this attempt means one is outstanding.
182
+ function saveOwnershipAmbiguous(formEl, since, until) {
183
+ var other = false;
184
+ var first = null;
185
+ var submits = 0;
186
+ for (var i = 0; i < submitLog.length; i++) {
187
+ var s = submitLog[i];
188
+ if (s.at > until || s.at < since - WATCH_MS) continue;
189
+ if (s.at >= since) {
190
+ if (s.form !== formEl) return true;
191
+ continue;
192
+ }
193
+ if (s.form !== formEl) other = true;
194
+ submits++;
195
+ if (first === null || s.at < first) first = s.at;
196
+ }
197
+ if (!other) return false;
198
+ var saves = allSaveEntries();
199
+ var answered = 0;
200
+ for (var j = 0; j < saves.length; j++) {
201
+ if (saves[j].startTime >= first && saves[j].startTime < since) answered++;
202
+ }
203
+ return answered < submits;
204
+ }
205
+
206
+ function statusOf(entry) {
207
+ var s = entry && entry.responseStatus;
208
+ return (typeof s === 'number' && s > 0) ? s : null;
209
+ }
210
+
211
+ // ---- One watcher per form ----
212
+
213
+ var watchers = [];
214
+ var firedForms = [];
215
+
216
+ function findWatcher(formEl) {
217
+ for (var i = 0; i < watchers.length; i++) if (watchers[i].form === formEl) return watchers[i];
218
+ return null;
219
+ }
220
+
221
+ function removeWatcher(w) {
222
+ for (var i = 0; i < watchers.length; i++) if (watchers[i] === w) { watchers.splice(i, 1); return; }
223
+ }
224
+
225
+ function dropStaleWatchers(formEl, block) {
226
+ for (var i = watchers.length - 1; i >= 0; i--) {
227
+ var w = watchers[i];
228
+ if (w.form === formEl) continue;
229
+ if (!isConnected(w.form) || (block && w.block === block)) w.cleanup();
230
+ }
231
+ }
232
+
233
+ function createWatcher(formEl, block) {
234
+ var scope = (formEl.closest && formEl.closest('.form-wrapper')) || block;
235
+ function markers() {
236
+ var text = false;
237
+ try { text = !!(scope && scope.querySelector('.form-submission-text')); } catch (e) {}
238
+ return {
239
+ submitted: hasToken(formEl, 'react-form-contents--submitted'),
240
+ button: hasToken(submitButtonOf(formEl), 'success'),
241
+ text: text
242
+ };
243
+ }
244
+ var w = {
245
+ form: formEl,
246
+ block: block,
247
+ identity: formIdentity(block),
248
+ armed: false,
249
+ submitAt: 0,
250
+ answered: true,
251
+ done: false,
252
+ timer: null,
253
+ observer: null,
254
+ pagehideArmed: false,
255
+ staleError: false,
256
+ had: markers()
257
+ };
258
+
259
+ function redirectConfigured() {
260
+ try { return !!(formEl.getAttribute && formEl.getAttribute('data-success-redirect')); } catch (e) { return false; }
261
+ }
262
+
263
+ function cleanup() {
264
+ w.done = true;
265
+ if (w.timer) { try { clearTimeout(w.timer); } catch (e) {} w.timer = null; }
266
+ if (w.observer) { try { w.observer.disconnect(); } catch (e) {} w.observer = null; }
267
+ if (w.pagehideArmed) {
268
+ try { window.removeEventListener('pagehide', onPageHide, true); } catch (e) {}
269
+ w.pagehideArmed = false;
270
+ }
271
+ removeWatcher(w);
272
+ }
273
+
274
+ // The push comes first. The form is marked done only once the push went
275
+ // through, so a dataLayer that throws (a broken wrapper) loses nothing,
276
+ // and the next confirmation tries again.
277
+ function fire() {
278
+ if (w.done) return false;
279
+ var payload = { event: EVENT_NAME, form_id: w.identity.formId };
280
+ if (w.identity.formName) payload.form_name = w.identity.formName;
281
+ try {
282
+ window.dataLayer = window.dataLayer || [];
283
+ window.dataLayer.push(payload);
284
+ } catch (e) {
285
+ return false;
286
+ }
287
+ cleanup();
288
+ firedForms.push(formEl);
289
+ return true;
290
+ }
291
+
292
+ function domConfirmsSuccess() {
293
+ var m = markers();
294
+ return (m.submitted && !w.had.submitted) || (m.button && !w.had.button) || (m.text && !w.had.text);
295
+ }
296
+
297
+ function check() {
298
+ if (w.done || !w.armed) return;
299
+ if (!isConnected(formEl)) { cleanup(); return; }
300
+ if (domConfirmsSuccess()) { fire(); return; }
301
+ if (w.answered) return;
302
+ // A fresh error state on the button is Squarespace refusing this
303
+ // attempt; one left over from an earlier attempt is not.
304
+ var errorShowing = hasToken(submitButtonOf(formEl), 'error');
305
+ if (!errorShowing) w.staleError = false;
306
+ else if (!w.staleError) w.answered = true;
307
+ }
308
+
309
+ // A failure in any callback stays inside this listener and never
310
+ // reaches Squarespace's page.
311
+ function onPageHide() {
312
+ try { pageHideCheck(); } catch (e) {}
313
+ }
314
+
315
+ function pageHideCheck() {
316
+ if (w.done || !w.armed) return;
317
+ if (!isConnected(formEl)) { cleanup(); return; }
318
+ if (domConfirmsSuccess()) { fire(); return; }
319
+ if (saveOwnershipAmbiguous(formEl, w.submitAt, now())) { cleanup(); return; }
320
+ var entries = saveEntriesSince(w.submitAt);
321
+ var last = entries[entries.length - 1];
322
+ var status = statusOf(last);
323
+ if (status !== null && status >= 200 && status < 300) {
324
+ if (fire()) claimed.push(last);
325
+ else cleanup();
326
+ return;
327
+ }
328
+ cleanup();
329
+ }
330
+
331
+ w.refresh = function (submitAt) {
332
+ // A new attempt replaces the old one once the old one was answered
333
+ // (or its save has been seen); a double submit keeps the first.
334
+ if (!w.armed || w.answered || saveEntriesSince(w.submitAt).length > 0) {
335
+ w.submitAt = submitAt;
336
+ w.answered = false;
337
+ w.staleError = hasToken(submitButtonOf(formEl), 'error');
338
+ }
339
+ w.armed = true;
340
+ if (w.timer) { try { clearTimeout(w.timer); } catch (e) {} }
341
+ try { w.timer = setTimeout(cleanup, WATCH_MS); } catch (e) {}
342
+ if (!w.pagehideArmed && redirectConfigured()) {
343
+ try {
344
+ window.addEventListener('pagehide', onPageHide, true);
345
+ w.pagehideArmed = true;
346
+ } catch (e) {}
347
+ }
348
+ };
349
+ w.check = check;
350
+ w.fire = fire;
351
+ w.cleanup = cleanup;
352
+ w.alive = function () { return isConnected(formEl); };
353
+ w.markAnswered = function () { w.answered = true; };
354
+
355
+ try {
356
+ if (typeof MutationObserver !== 'undefined' && block) {
357
+ w.observer = new MutationObserver(function () {
358
+ try { check(); } catch (e) {}
359
+ });
360
+ w.observer.observe(block, { childList: true, subtree: true, attributes: true, attributeFilter: ['class'] });
361
+ }
362
+ } catch (e) {}
363
+ watchers.push(w);
364
+ return w;
365
+ }
366
+
367
+ // ---- The save request's verdict, from resource timing ----
368
+
369
+ function onResourceEntries(list) {
370
+ var entries;
371
+ try { entries = list.getEntries(); } catch (e) { return; }
372
+ for (var i = 0; i < entries.length; i++) {
373
+ var e = entries[i];
374
+ if (!e || !isSaveEntry(e)) continue;
375
+ if (seenSaves.indexOf(e) === -1) { seenSaves.push(e); prune(); }
376
+ var status = statusOf(e);
377
+ if (status === null || claimed.indexOf(e) !== -1) continue;
378
+ var candidates = [];
379
+ for (var j = 0; j < watchers.length; j++) {
380
+ var w = watchers[j];
381
+ if (!w.done && w.armed && !w.answered && w.alive() && e.startTime >= w.submitAt) candidates.push(w);
382
+ }
383
+ if (candidates.length !== 1) continue;
384
+ var c = candidates[0];
385
+ if (saveOwnershipAmbiguous(c.form, c.submitAt, e.startTime)) continue;
386
+ if (status >= 200 && status < 300) {
387
+ if (c.fire()) claimed.push(e);
388
+ } else {
389
+ c.markAnswered();
390
+ }
391
+ }
392
+ }
393
+
394
+ // ---- Submits ----
395
+
396
+ function handleSubmit(event) {
397
+ try {
398
+ var formEl = event.target;
399
+ if (!formEl || (formEl.tagName || '').toLowerCase() !== 'form') return;
400
+ submitLog.push({ form: formEl, at: now() });
401
+ prune();
402
+ if (!isSquarespaceForm(formEl)) return;
403
+ var block = blockFor(formEl);
404
+ dropStaleWatchers(formEl, block);
405
+ // Squarespace allows one success per page view.
406
+ if (firedForms.indexOf(formEl) !== -1) return;
407
+ if (hasToken(formEl, 'react-form-contents--submitted')) return;
408
+ if (honeypotFilled(formEl)) {
409
+ var old = findWatcher(formEl);
410
+ if (old) old.cleanup();
411
+ return;
412
+ }
413
+ var w = findWatcher(formEl) || createWatcher(formEl, block);
414
+ w.refresh(now());
415
+ } catch (e) {
416
+ // Never throw back into Squarespace's own form handling.
417
+ }
418
+ }
419
+
420
+ document.addEventListener('submit', handleSubmit, true);
421
+ try {
422
+ if (typeof PerformanceObserver !== 'undefined') {
423
+ new PerformanceObserver(function (list) {
424
+ try { onResourceEntries(list); } catch (e) {}
425
+ }).observe({ type: 'resource' });
426
+ }
427
+ } catch (e) {}
428
+ })();
@@ -0,0 +1,167 @@
1
+ // Upstream GTM Custom HTML asset: retain ES5 syntax and callback signatures.
2
+ /* eslint-disable prefer-const, pickier/no-unused-vars */
3
+ /*! Tally conversion detection (MIT)
4
+ * Detects: form submission. Pushes dataLayer event: tally_form_submitted
5
+ * From the conversion-tracking skill in Marketing Skills */
6
+ /* Tally Submission Listener. Reads only the envelope of Tally's
7
+ * own submission message; it does not decode or read answer values and never
8
+ * pushes answers. */
9
+ (function () {
10
+ 'use strict';
11
+ if (window.__ctDetectTally || window.__ctTallyMethod2Installed) return;
12
+ window.__ctDetectTally = true;
13
+ // Keep the historical Method 2 marker as a one-way compatibility alias.
14
+ // The separate Method 2 adapter has its own marker and can still register
15
+ // after this core is already installed.
16
+ window.__ctTallyMethod2Installed = true;
17
+ window.dataLayer = window.dataLayer || [];
18
+
19
+ function isWs(c) { return c === ' ' || c === '\n' || c === '\r' || c === '\t'; }
20
+ function skipWs(s, p) { while (p.i < s.length && isWs(s.charAt(p.i))) p.i++; }
21
+ function stringEnd(s, p, decode) {
22
+ if (s.charAt(p.i) !== '"') throw new Error('string');
23
+ var start = p.i++;
24
+ while (p.i < s.length) {
25
+ var c = s.charAt(p.i++);
26
+ if (c === '"') {
27
+ if (!decode) return null;
28
+ // Decode only object keys and allowlisted envelope metadata strings.
29
+ return JSON.parse(s.slice(start, p.i));
30
+ }
31
+ if (c.charCodeAt(0) < 0x20) throw new Error('control');
32
+ if (c === '\\') {
33
+ if (p.i >= s.length) throw new Error('escape end');
34
+ var esc = s.charAt(p.i++);
35
+ if ('"\\/bfnrt'.indexOf(esc) !== -1) continue;
36
+ if (esc !== 'u' || !/^[0-9a-fA-F]{4}$/.test(s.slice(p.i, p.i + 4))) throw new Error('escape');
37
+ p.i += 4;
38
+ }
39
+ }
40
+ throw new Error('unterminated');
41
+ }
42
+ function skipValue(s, p, depth) {
43
+ if (depth > 32) throw new Error('depth');
44
+ skipWs(s, p);
45
+ var c = s.charAt(p.i);
46
+ if (c === '"') { stringEnd(s, p, false); return; }
47
+ if (c === '{') {
48
+ p.i++; skipWs(s, p); if (s.charAt(p.i) === '}') { p.i++; return; }
49
+ while (p.i < s.length) {
50
+ skipWs(s, p); stringEnd(s, p, false); skipWs(s, p);
51
+ if (s.charAt(p.i++) !== ':') throw new Error('colon');
52
+ skipValue(s, p, depth + 1); skipWs(s, p);
53
+ var sep = s.charAt(p.i++); if (sep === '}') return; if (sep !== ',') throw new Error('object');
54
+ }
55
+ throw new Error('object end');
56
+ }
57
+ if (c === '[') {
58
+ p.i++; skipWs(s, p); if (s.charAt(p.i) === ']') { p.i++; return; }
59
+ while (p.i < s.length) {
60
+ skipValue(s, p, depth + 1); skipWs(s, p);
61
+ var a = s.charAt(p.i++); if (a === ']') return; if (a !== ',') throw new Error('array');
62
+ }
63
+ throw new Error('array end');
64
+ }
65
+ var begin = p.i;
66
+ while (p.i < s.length && !isWs(s.charAt(p.i)) && ',}]'.indexOf(s.charAt(p.i)) === -1) p.i++;
67
+ if (p.i === begin) throw new Error('value');
68
+ var token = s.slice(begin, p.i);
69
+ if (token !== 'true' && token !== 'false' && token !== 'null' &&
70
+ !/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$/.test(token)) throw new Error('primitive');
71
+ }
72
+ function readStringValue(s, p) { skipWs(s, p); return stringEnd(s, p, true); }
73
+ function readMetadataObject(s, p, wanted, out) {
74
+ skipWs(s, p); if (s.charAt(p.i++) !== '{') throw new Error('metadata object');
75
+ skipWs(s, p); if (s.charAt(p.i) === '}') { p.i++; return; }
76
+ while (p.i < s.length) {
77
+ skipWs(s, p); var key = stringEnd(s, p, true); skipWs(s, p);
78
+ if (s.charAt(p.i++) !== ':') throw new Error('metadata colon');
79
+ if (wanted[key]) { out[key] = readStringValue(s, p); }
80
+ else if (key === 'fields') { skipWs(s, p); if (s.charAt(p.i) !== '[') throw new Error('fields shape'); skipValue(s, p, 0); out.fieldsArray = true; }
81
+ else skipValue(s, p, 0);
82
+ skipWs(s, p); var sep = s.charAt(p.i++); if (sep === '}') return; if (sep !== ',') throw new Error('metadata separator');
83
+ }
84
+ throw new Error('metadata end');
85
+ }
86
+ function readEnvelope(s) {
87
+ if (typeof s !== 'string' || s.length > 1048576) return null;
88
+ var p = { i: 0 }, out = {}, payload = {};
89
+ try {
90
+ skipWs(s, p); if (s.charAt(p.i++) !== '{') return null;
91
+ skipWs(s, p); if (s.charAt(p.i) === '}') return null;
92
+ while (p.i < s.length) {
93
+ skipWs(s, p); var key = stringEnd(s, p, true); skipWs(s, p);
94
+ if (s.charAt(p.i++) !== ':') return null;
95
+ if (key === 'event') out.event = readStringValue(s, p);
96
+ else if (key === 'payload') readMetadataObject(s, p, { id: true, formId: true }, payload);
97
+ else skipValue(s, p, 0);
98
+ skipWs(s, p); var sep = s.charAt(p.i++); if (sep === '}') break; if (sep !== ',') return null;
99
+ }
100
+ skipWs(s, p); if (p.i !== s.length) return null;
101
+ if (out.event !== 'Tally.FormSubmitted') return null;
102
+ if (!payload.id || !payload.formId || !payload.fieldsArray || !/^[-A-Za-z0-9_]{1,128}$/.test(payload.id) || !/^[-A-Za-z0-9_]{1,128}$/.test(payload.formId)) return null;
103
+ return { id: payload.id, formId: payload.formId };
104
+ } catch (e) { return null; }
105
+ }
106
+ function isTallyOrigin(origin) {
107
+ return typeof origin === 'string' && /^https:\/\/tally\.so(?::443)?$/i.test(origin);
108
+ }
109
+ // Bind only fixed-host iframe paths using CSS attribute selectors. Do not
110
+ // retrieve src or data-tally-src: either may contain prefilled respondent
111
+ // data in its query. Only a materialized iframe src is supported here; a
112
+ // deferred attribute without a loaded src fails closed.
113
+ function frameFormId(frame, expectedFormId) {
114
+ if (!/^[-A-Za-z0-9_]{1,128}$/.test(expectedFormId || '') ||
115
+ !frame || typeof frame.matches !== 'function') return '';
116
+ var found = false;
117
+ var modes = ['embed', 'r', 'popup'];
118
+ for (var i = 0; i < modes.length; i++) {
119
+ var base = 'https://tally.so/' + modes[i] + '/' + expectedFormId;
120
+ var selectors = [
121
+ 'iframe[src="' + base + '"]',
122
+ 'iframe[src^="' + base + '?"]',
123
+ 'iframe[src^="' + base + '#"]'
124
+ ];
125
+ for (var j = 0; j < selectors.length; j++) {
126
+ try { if (frame.matches(selectors[j])) { found = true; break; } }
127
+ catch (e) { return ''; }
128
+ }
129
+ if (found) return expectedFormId;
130
+ }
131
+ return '';
132
+ }
133
+ function renderedFrameFormId(source, expectedFormId) {
134
+ if (!source || source === window) return '';
135
+ var frames;
136
+ try { frames = document.getElementsByTagName('iframe'); } catch (e) { return ''; }
137
+ for (var i = 0; frames && i < frames.length; i++) {
138
+ try {
139
+ if (frames[i].contentWindow === source) {
140
+ // The event carries only a bounded public form ID. The selector tests
141
+ // the fixed-host path and exact delimiter without exposing the URL.
142
+ return frameFormId(frames[i], expectedFormId);
143
+ }
144
+ } catch (e) {}
145
+ }
146
+ return '';
147
+ }
148
+ var seen = Object.create(null);
149
+ window.addEventListener('message', function (event) {
150
+ try {
151
+ if (!event || !isTallyOrigin(event.origin)) return;
152
+ var verdict = readEnvelope(event.data);
153
+ if (!verdict) return;
154
+ var configuredFormId = renderedFrameFormId(event.source, verdict.formId);
155
+ if (!configuredFormId || verdict.formId !== configuredFormId) return;
156
+ var key = verdict.formId + ':' + verdict.id;
157
+ if (seen[key]) return;
158
+ seen[key] = true;
159
+ var handled = false;
160
+ var adapter = window.__ctTallyMethod2Handler;
161
+ if (typeof adapter === 'function') {
162
+ try { handled = adapter(event, verdict) === true; } catch (e) { handled = false; }
163
+ }
164
+ if (!handled) window.dataLayer.push({ event: 'tally_form_submitted', form_id: verdict.formId, submission_id: verdict.id });
165
+ } catch (e) {}
166
+ }, false);
167
+ })();
@@ -0,0 +1,87 @@
1
+ // Upstream GTM Custom HTML asset: retain ES5 syntax and callback signatures.
2
+ /* eslint-disable prefer-const, pickier/no-unused-vars */
3
+ /*! Thank-you page conversion detection (MIT)
4
+ * Detects: arrival on a confirmation page. Pushes dataLayer event: thank_you_page_view
5
+ * From the conversion-tracking skill in Marketing Skills */
6
+ (function () {
7
+ if (window.__ctDetectThankYouPage) return;
8
+ window.__ctDetectThankYouPage = true;
9
+ window.dataLayer = window.dataLayer || [];
10
+
11
+ /* ---------------------------------------------------------------
12
+ EDIT THIS. Paths that mean "the conversion happened".
13
+ Matched against location.pathname, case-insensitively, as a
14
+ prefix. '/thank-you' matches '/thank-you' and '/thank-you/order/9'.
15
+ --------------------------------------------------------------- */
16
+ var THANK_YOU_PATHS = [
17
+ '/thank-you',
18
+ '/thanks',
19
+ '/confirmation',
20
+ '/success'
21
+ ];
22
+
23
+ // Set true only if your confirmation page is genuinely reachable more than
24
+ // once per conversion and you want every view counted. Leave false.
25
+ var COUNT_EVERY_VIEW = false;
26
+
27
+ var fired = {};
28
+
29
+ function matches(path) {
30
+ var p = String(path || '').toLowerCase();
31
+ for (var i = 0; i < THANK_YOU_PATHS.length; i++) {
32
+ var want = String(THANK_YOU_PATHS[i] || '').toLowerCase();
33
+ if (want && p.indexOf(want) === 0) return want;
34
+ }
35
+ return null;
36
+ }
37
+
38
+ function check() {
39
+ try {
40
+ var path = window.location.pathname;
41
+ var matched = matches(path);
42
+ if (!matched) return;
43
+
44
+ // A refresh or a back-button return to the confirmation page would
45
+ // otherwise count a second conversion for the same lead. Keyed on the
46
+ // full path so two different confirmations still both count.
47
+ if (!COUNT_EVERY_VIEW && fired[path]) return;
48
+ fired[path] = true;
49
+
50
+ window.dataLayer.push({
51
+ event: 'thank_you_page_view',
52
+ page_path: path,
53
+ matched_rule: matched
54
+ });
55
+ } catch (e) {
56
+ // Never throw back into the page.
57
+ }
58
+ }
59
+
60
+ // Single-page apps are the reason this is not just a one-shot call. A
61
+ // React, Vue or Next site changes the URL without a page load, so no
62
+ // pageview ever fires and a thank-you page TRIGGER silently counts zero.
63
+ // Wrapping history means we see those route changes too.
64
+ function wrapHistory(method) {
65
+ var original = window.history[method];
66
+ if (typeof original !== 'function') return;
67
+ window.history[method] = function () {
68
+ var result = original.apply(this, arguments);
69
+ try { setTimeout(check, 0); } catch (e) { /* ignore */ }
70
+ return result;
71
+ };
72
+ }
73
+
74
+ try {
75
+ wrapHistory('pushState');
76
+ wrapHistory('replaceState');
77
+ window.addEventListener('popstate', function () { setTimeout(check, 0); });
78
+ } catch (e) {
79
+ // History API unavailable — the initial check below still runs.
80
+ }
81
+
82
+ if (document.readyState === 'loading') {
83
+ document.addEventListener('DOMContentLoaded', check);
84
+ } else {
85
+ check();
86
+ }
87
+ })();