@happyvertical/smrt-planner 0.57.41 → 0.57.43

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 (540) hide show
  1. package/agents/assistant.md +2 -2
  2. package/agents/shell.md +1 -1
  3. package/app/404.html +19 -19
  4. package/app/_app/immutable/assets/2.DONG6EWe.css +1 -0
  5. package/app/_app/immutable/assets/app.CNgJdfDA.css +1 -0
  6. package/app/_app/immutable/chunks/{C1YC2rhY.js → 0HEEaKDE.js} +1 -1
  7. package/app/_app/immutable/chunks/{taDhg4le.js → 3XhH_h7e.js} +1 -1
  8. package/app/_app/immutable/chunks/{CDf6D2PE.js → 77cA2IHw.js} +1 -1
  9. package/app/_app/immutable/chunks/B9-iYiTV.js +1 -0
  10. package/app/_app/immutable/chunks/BAPJxs8s.js +1 -0
  11. package/app/_app/immutable/chunks/{D9u2Mg-P.js → BBmzhVVE.js} +1 -1
  12. package/app/_app/immutable/chunks/{CP5U2sdd.js → BQgJ05r2.js} +1 -1
  13. package/app/_app/immutable/chunks/{DkqJO8K2.js → B_DUvQ2-.js} +1 -1
  14. package/app/_app/immutable/chunks/{BKBQyYIa.js → BeocJqqC.js} +1 -1
  15. package/app/_app/immutable/chunks/{Ba8QYCqr.js → BgOimu0u.js} +1 -1
  16. package/app/_app/immutable/chunks/{Dd0cSvdc.js → BhY9m7ye.js} +1 -1
  17. package/app/_app/immutable/chunks/{BXp_5G-Z.js → Bi1YzXmx.js} +3 -3
  18. package/app/_app/immutable/chunks/{rWYY8AXO.js → CBwPTTnw.js} +1 -1
  19. package/app/_app/immutable/chunks/{DT1JBhRk.js → CGaC_GdN.js} +1 -1
  20. package/app/_app/immutable/chunks/{-zI-HZvG.js → CXSW_54w.js} +1 -1
  21. package/app/_app/immutable/chunks/{B9ToxWrf.js → Cc87O25b.js} +1 -1
  22. package/app/_app/immutable/chunks/{Cx4Tqd_4.js → CxwaJzH4.js} +1 -1
  23. package/app/_app/immutable/chunks/{DANMIVJG.js → D3cv8Pui.js} +1 -1
  24. package/app/_app/immutable/chunks/{BMnSmV3a.js → DCxyGpWs.js} +1 -1
  25. package/app/_app/immutable/chunks/{VsFwp6G3.js → DKO8GXxX.js} +34 -34
  26. package/app/_app/immutable/chunks/{C_ZqLqHp.js → DSdlNRNs.js} +1 -1
  27. package/app/_app/immutable/chunks/{D3RGizRs.js → DYJvnJSH.js} +2 -2
  28. package/app/_app/immutable/chunks/{Cn8nbD9n.js → DhruBIjb.js} +1 -1
  29. package/app/_app/immutable/chunks/DuXHA11S.js +2 -0
  30. package/app/_app/immutable/chunks/{Dxtc6xrY.js → EVM4wuMZ.js} +1 -1
  31. package/app/_app/immutable/chunks/{BOhKr_nv.js → HarHvnXF.js} +1 -1
  32. package/app/_app/immutable/chunks/{SRZuspg7.js → OkFnmq-I.js} +1 -1
  33. package/app/_app/immutable/chunks/{B9K2s1AV.js → P0teM5Ra.js} +1 -1
  34. package/app/_app/immutable/chunks/{BB3IgIsH.js → fuxyXxHR.js} +1 -1
  35. package/app/_app/immutable/chunks/{Cd1LwA-V.js → wpZcOjrw.js} +1 -1
  36. package/app/_app/immutable/entry/{app.jXgO31v0.js → app.CdnA1Er5.js} +2 -2
  37. package/app/_app/immutable/entry/start.yXp5URgB.js +1 -0
  38. package/app/_app/immutable/nodes/{0.BqruDT_Z.js → 0.B3BTaMcH.js} +1 -1
  39. package/app/_app/immutable/nodes/{1.BTiXtbCA.js → 1.Di4EzJ2c.js} +1 -1
  40. package/app/_app/immutable/nodes/{10.DO_Bn-V0.js → 10.B_vnof3P.js} +1 -1
  41. package/app/_app/immutable/nodes/{11.BNz9EIUT.js → 11.Cy9jIwzn.js} +1 -1
  42. package/app/_app/immutable/nodes/{12.CKlLn_Cb.js → 12.DrWof3gr.js} +1 -1
  43. package/app/_app/immutable/nodes/{13.DpAHXZvm.js → 13.Zp6Jo_m4.js} +1 -1
  44. package/app/_app/immutable/nodes/{14.chrK8YCR.js → 14.jRpiEp9_.js} +1 -1
  45. package/app/_app/immutable/nodes/2.Ct5aEJ66.js +26 -0
  46. package/app/_app/immutable/nodes/{3.DMtU3J6w.js → 3.D_V2kkhg.js} +1 -1
  47. package/app/_app/immutable/nodes/{4.DcEv25d3.js → 4.ClirjmB_.js} +1 -1
  48. package/app/_app/immutable/nodes/{5.Dlst1EHE.js → 5.B_Y-4dWg.js} +1 -1
  49. package/app/_app/immutable/nodes/{6.PU-OY_9E.js → 6.BcHTAs2z.js} +1 -1
  50. package/app/_app/immutable/nodes/{7.CrID5mpx.js → 7.DgihUOPX.js} +1 -1
  51. package/app/_app/immutable/nodes/{8.DP_cZ7Vk.js → 8.BsOFrJvG.js} +1 -1
  52. package/app/_app/immutable/nodes/{9.CojOaZNS.js → 9.DyMr7eTc.js} +1 -1
  53. package/app/_app/version.json +1 -1
  54. package/app/advanced-styles/index.html +22 -22
  55. package/app/ai/index.html +25 -25
  56. package/app/blueprint/index.html +20 -20
  57. package/app/cookbook/index.html +20 -20
  58. package/app/index.html +33 -33
  59. package/app/m/ads/AdDeliveryTier/index.html +24 -24
  60. package/app/m/ads/AdEvent/index.html +24 -24
  61. package/app/m/ads/AdFormat/index.html +24 -24
  62. package/app/m/ads/AdGroup/index.html +24 -24
  63. package/app/m/ads/AdVariation/index.html +24 -24
  64. package/app/m/analytics/AnalyticsDataStream/index.html +24 -24
  65. package/app/m/analytics/AnalyticsEvent/index.html +24 -24
  66. package/app/m/analytics/AnalyticsProperty/index.html +24 -24
  67. package/app/m/analytics/AnalyticsReport/index.html +24 -24
  68. package/app/m/approvals/ApprovalEvent/index.html +24 -24
  69. package/app/m/approvals/ApprovalPolicy/index.html +24 -24
  70. package/app/m/approvals/ApprovalRequest/index.html +24 -24
  71. package/app/m/assets/Asset/attachments/index.html +25 -25
  72. package/app/m/assets/Asset/index.html +24 -24
  73. package/app/m/assets/AssetAssociation/index.html +24 -24
  74. package/app/m/assets/AssetMetafield/index.html +24 -24
  75. package/app/m/assets/AssetStatus/index.html +24 -24
  76. package/app/m/assets/AssetType/index.html +24 -24
  77. package/app/m/assets/Folder/index.html +24 -24
  78. package/app/m/chat/AgentSession/index.html +24 -24
  79. package/app/m/chat/ChatMessage/index.html +24 -24
  80. package/app/m/chat/ChatParticipant/index.html +24 -24
  81. package/app/m/chat/ChatReaction/index.html +24 -24
  82. package/app/m/chat/ChatRoom/index.html +24 -24
  83. package/app/m/chat/ChatThread/index.html +24 -24
  84. package/app/m/chat/VoiceGatewayTurn/index.html +24 -24
  85. package/app/m/chat/VoiceSession/index.html +24 -24
  86. package/app/m/commerce/Agreement/index.html +24 -24
  87. package/app/m/commerce/Cart/index.html +24 -24
  88. package/app/m/commerce/Contract/index.html +24 -24
  89. package/app/m/commerce/ContractLineItem/index.html +24 -24
  90. package/app/m/commerce/Customer/index.html +24 -24
  91. package/app/m/commerce/DocumentTax/index.html +24 -24
  92. package/app/m/commerce/Estimate/index.html +24 -24
  93. package/app/m/commerce/Fulfillment/index.html +24 -24
  94. package/app/m/commerce/FulfillmentLineItem/index.html +24 -24
  95. package/app/m/commerce/HistoricalCustomerFunds/index.html +24 -24
  96. package/app/m/commerce/HistoricalCustomerFundsAllocation/index.html +24 -24
  97. package/app/m/commerce/HistoricalSalesLine/index.html +24 -24
  98. package/app/m/commerce/Invoice/index.html +24 -24
  99. package/app/m/commerce/InvoiceLineItem/index.html +24 -24
  100. package/app/m/commerce/Lease/index.html +24 -24
  101. package/app/m/commerce/LicenseSale/index.html +24 -24
  102. package/app/m/commerce/Order/index.html +24 -24
  103. package/app/m/commerce/Payment/index.html +24 -24
  104. package/app/m/commerce/PaymentAllocation/index.html +24 -24
  105. package/app/m/commerce/PaymentInstrument/index.html +24 -24
  106. package/app/m/commerce/PaymentIntent/index.html +24 -24
  107. package/app/m/commerce/Payout/index.html +24 -24
  108. package/app/m/commerce/ProductionOrder/index.html +24 -24
  109. package/app/m/commerce/PurchaseContract/index.html +24 -24
  110. package/app/m/commerce/PurchaseOrder/index.html +24 -24
  111. package/app/m/commerce/SalesContract/index.html +24 -24
  112. package/app/m/commerce/SupplierQuote/index.html +24 -24
  113. package/app/m/commerce/TaxCode/index.html +24 -24
  114. package/app/m/commerce/TaxComponent/index.html +24 -24
  115. package/app/m/commerce/TaxSettings/index.html +24 -24
  116. package/app/m/commerce/TaxSummaryReport/index.html +24 -24
  117. package/app/m/commerce/TenantPaymentAccount/index.html +24 -24
  118. package/app/m/commerce/Vendor/index.html +24 -24
  119. package/app/m/commerce/WholesaleOrder/index.html +24 -24
  120. package/app/m/content/Content/articles/index.html +25 -25
  121. package/app/m/content/Content/index.html +24 -24
  122. package/app/m/content/ContentContribution/index.html +24 -24
  123. package/app/m/content/ContentContributionAttachment/index.html +24 -24
  124. package/app/m/content/ContentContributionRevision/index.html +24 -24
  125. package/app/m/content/ContentContributionType/index.html +24 -24
  126. package/app/m/content/ContentContributor/index.html +24 -24
  127. package/app/m/content/ContentCorrection/index.html +24 -24
  128. package/app/m/content/ContentFeedSource/index.html +24 -24
  129. package/app/m/content/ContentGovernanceAssignment/index.html +24 -24
  130. package/app/m/content/ContentGovernancePolicy/index.html +24 -24
  131. package/app/m/content/ContentGovernanceProfile/index.html +24 -24
  132. package/app/m/content/ContentReference/index.html +24 -24
  133. package/app/m/content/ContentReview/index.html +24 -24
  134. package/app/m/content/ContentVersion/index.html +24 -24
  135. package/app/m/events/Event/index.html +24 -24
  136. package/app/m/events/EventParticipant/index.html +24 -24
  137. package/app/m/events/EventSeries/index.html +24 -24
  138. package/app/m/events/EventType/index.html +24 -24
  139. package/app/m/expenses/Expense/index.html +24 -24
  140. package/app/m/facts/Fact/index.html +24 -24
  141. package/app/m/facts/FactContent/index.html +24 -24
  142. package/app/m/facts/FactEvidence/index.html +24 -24
  143. package/app/m/facts/FactSource/index.html +24 -24
  144. package/app/m/facts/FactSubject/index.html +24 -24
  145. package/app/m/facts/FactTag/index.html +24 -24
  146. package/app/m/fields/FieldPolicy/index.html +24 -24
  147. package/app/m/fields/FieldPolicySuggestion/index.html +24 -24
  148. package/app/m/fields/FieldUsageCounter/index.html +24 -24
  149. package/app/m/human-resources/Employment/index.html +24 -24
  150. package/app/m/human-resources/EmploymentTerm/index.html +24 -24
  151. package/app/m/human-resources/HeldQualification/index.html +24 -24
  152. package/app/m/human-resources/Qualification/index.html +24 -24
  153. package/app/m/images/Image/index.html +24 -24
  154. package/app/m/inventory/InventoryLocation/index.html +24 -24
  155. package/app/m/inventory/Lot/index.html +24 -24
  156. package/app/m/inventory/LotCorrection/index.html +24 -24
  157. package/app/m/inventory/LotDocument/index.html +24 -24
  158. package/app/m/inventory/LotStockLevel/index.html +24 -24
  159. package/app/m/inventory/LotUsage/index.html +24 -24
  160. package/app/m/inventory/StockLevel/index.html +24 -24
  161. package/app/m/inventory/StockMovement/index.html +24 -24
  162. package/app/m/ledgers/Account/index.html +24 -24
  163. package/app/m/ledgers/Journal/index.html +24 -24
  164. package/app/m/ledgers/JournalEntry/index.html +24 -24
  165. package/app/m/ledgers/Ledger/index.html +24 -24
  166. package/app/m/manufacturing/Assembly/index.html +24 -24
  167. package/app/m/manufacturing/BillOfMaterials/index.html +24 -24
  168. package/app/m/manufacturing/BomLine/index.html +24 -24
  169. package/app/m/manufacturing/Operation/index.html +24 -24
  170. package/app/m/manufacturing/ProductionRun/index.html +24 -24
  171. package/app/m/manufacturing/ProductionRunCompletion/index.html +24 -24
  172. package/app/m/manufacturing/RoutingStep/index.html +24 -24
  173. package/app/m/marketing/Campaign/index.html +24 -24
  174. package/app/m/marketing/CampaignChannel/index.html +24 -24
  175. package/app/m/marketing/CampaignMetricSnapshot/index.html +24 -24
  176. package/app/m/messages/Account/index.html +24 -24
  177. package/app/m/messages/Attachment/index.html +24 -24
  178. package/app/m/messages/Blacklist/index.html +24 -24
  179. package/app/m/messages/Email/failed-sends/index.html +25 -25
  180. package/app/m/messages/Email/index.html +24 -24
  181. package/app/m/messages/Email/mailbox/index.html +25 -25
  182. package/app/m/messages/EmailAccount/index.html +24 -24
  183. package/app/m/messages/EmailAttachment/index.html +24 -24
  184. package/app/m/messages/EmailFolder/index.html +24 -24
  185. package/app/m/messages/Message/index.html +24 -24
  186. package/app/m/messages/MessagingEndpoint/index.html +24 -24
  187. package/app/m/messages/PersonaMessageRoute/index.html +24 -24
  188. package/app/m/messages/SlackAccount/index.html +24 -24
  189. package/app/m/messages/SlackMessage/index.html +24 -24
  190. package/app/m/messages/SlackMessage/slack-messages/index.html +25 -25
  191. package/app/m/messages/TelegramAccount/index.html +24 -24
  192. package/app/m/messages/Tweet/index.html +24 -24
  193. package/app/m/messages/TwitterAccount/index.html +24 -24
  194. package/app/m/messages/Whitelist/index.html +24 -24
  195. package/app/m/messages/ZulipAccount/index.html +24 -24
  196. package/app/m/places/Place/index.html +24 -24
  197. package/app/m/places/PlaceType/index.html +24 -24
  198. package/app/m/products/Category/index.html +24 -24
  199. package/app/m/products/Material/index.html +24 -24
  200. package/app/m/products/Product/index.html +24 -24
  201. package/app/m/products/Product/ingredients/index.html +25 -25
  202. package/app/m/products/ProductVariant/index.html +24 -24
  203. package/app/m/products/Sku/index.html +24 -24
  204. package/app/m/profiles/ApiKey/index.html +24 -24
  205. package/app/m/profiles/Bot/index.html +24 -24
  206. package/app/m/profiles/MagicLinkToken/index.html +24 -24
  207. package/app/m/profiles/NostrIdentity/index.html +24 -24
  208. package/app/m/profiles/OidcIdentity/index.html +24 -24
  209. package/app/m/profiles/Organization/index.html +24 -24
  210. package/app/m/profiles/Person/index.html +24 -24
  211. package/app/m/profiles/Profile/index.html +24 -24
  212. package/app/m/profiles/ProfileMetadata/index.html +24 -24
  213. package/app/m/profiles/ProfileMetafield/index.html +24 -24
  214. package/app/m/profiles/ProfileRelationship/index.html +24 -24
  215. package/app/m/profiles/ProfileRelationshipTerm/index.html +24 -24
  216. package/app/m/profiles/ProfileRelationshipType/index.html +24 -24
  217. package/app/m/profiles/ProfileType/index.html +24 -24
  218. package/app/m/projects/Comment/index.html +24 -24
  219. package/app/m/projects/Issue/index.html +24 -24
  220. package/app/m/projects/Label/index.html +24 -24
  221. package/app/m/projects/Project/index.html +24 -24
  222. package/app/m/projects/ProjectIntegration/index.html +24 -24
  223. package/app/m/projects/PullRequest/index.html +24 -24
  224. package/app/m/projects/Repository/index.html +24 -24
  225. package/app/m/properties/Property/index.html +24 -24
  226. package/app/m/properties/Zone/index.html +24 -24
  227. package/app/m/reports/RuntimeReport/index.html +24 -24
  228. package/app/m/reports/SmrtPrincipalReportRefreshTask/index.html +24 -24
  229. package/app/m/reports/SmrtReportLock/index.html +24 -24
  230. package/app/m/reports/SmrtReportRefreshTask/index.html +24 -24
  231. package/app/m/reports/SmrtReportRun/index.html +24 -24
  232. package/app/m/reports/SmrtReportSchedule/index.html +24 -24
  233. package/app/m/reports/SmrtReportWatermark/index.html +24 -24
  234. package/app/m/sales/Agreement/index.html +24 -24
  235. package/app/m/sales/AttributionException/index.html +24 -24
  236. package/app/m/sales/AttributionPolicy/index.html +24 -24
  237. package/app/m/sales/Commission/index.html +24 -24
  238. package/app/m/sales/CommissionAdjustment/index.html +24 -24
  239. package/app/m/sales/CommissionPayout/index.html +24 -24
  240. package/app/m/sales/CommissionPlan/index.html +24 -24
  241. package/app/m/sales/Earner/index.html +24 -24
  242. package/app/m/sales/EarnerSourceAttribution/index.html +24 -24
  243. package/app/m/sales/EarningEvent/index.html +24 -24
  244. package/app/m/sales/ExecutedAgreement/index.html +24 -24
  245. package/app/m/sales/Lead/index.html +24 -24
  246. package/app/m/sales/Opportunity/index.html +24 -24
  247. package/app/m/sales/OpportunityConversion/index.html +24 -24
  248. package/app/m/sales/PipelineDefinition/index.html +24 -24
  249. package/app/m/sales/PipelineStage/index.html +24 -24
  250. package/app/m/sales/Referral/index.html +24 -24
  251. package/app/m/sales/ReferralAgreement/index.html +24 -24
  252. package/app/m/sales/ReferralLink/index.html +24 -24
  253. package/app/m/sales/ReferralProgram/index.html +24 -24
  254. package/app/m/sales/ReferralTermSnapshot/index.html +24 -24
  255. package/app/m/sales/ReferralTouch/index.html +24 -24
  256. package/app/m/sales/Referrer/index.html +24 -24
  257. package/app/m/sales/SalesActivity/index.html +24 -24
  258. package/app/m/sales/SalesRepresentative/index.html +24 -24
  259. package/app/m/sites/Site/index.html +24 -24
  260. package/app/m/sites/SiteAgentBinding/index.html +24 -24
  261. package/app/m/social/OAuthState/index.html +24 -24
  262. package/app/m/social/SocialAccount/index.html +24 -24
  263. package/app/m/social/SocialPost/index.html +24 -24
  264. package/app/m/social/SocialPostAnalyticsSnapshot/index.html +24 -24
  265. package/app/m/subscriptions/BillingAdjustment/index.html +24 -24
  266. package/app/m/subscriptions/ClientCharge/index.html +24 -24
  267. package/app/m/subscriptions/CreditGrant/index.html +24 -24
  268. package/app/m/subscriptions/PricingRule/index.html +24 -24
  269. package/app/m/subscriptions/RetailCharge/index.html +24 -24
  270. package/app/m/subscriptions/SpendingPolicy/index.html +24 -24
  271. package/app/m/subscriptions/SubscriptionPlan/index.html +24 -24
  272. package/app/m/subscriptions/SubscriptionPlanVersion/index.html +24 -24
  273. package/app/m/subscriptions/TenantSubscription/index.html +24 -24
  274. package/app/m/subscriptions/TenantUsageMetric/index.html +24 -24
  275. package/app/m/support/ServiceTimeEntry/index.html +24 -24
  276. package/app/m/support/SupportAiRun/index.html +24 -24
  277. package/app/m/support/SupportAvailability/index.html +24 -24
  278. package/app/m/support/SupportCase/index.html +24 -24
  279. package/app/m/support/SupportCaseEvent/index.html +24 -24
  280. package/app/m/support/SupportChannelBinding/index.html +24 -24
  281. package/app/m/support/SupportCharge/index.html +24 -24
  282. package/app/m/support/SupportCompensation/index.html +24 -24
  283. package/app/m/support/SupportCompensationPlan/index.html +24 -24
  284. package/app/m/support/SupportEscalation/index.html +24 -24
  285. package/app/m/support/SupportInteraction/index.html +24 -24
  286. package/app/m/support/SupportPlan/index.html +24 -24
  287. package/app/m/support/SupportPolicy/index.html +24 -24
  288. package/app/m/support/SupportQualification/index.html +24 -24
  289. package/app/m/support/SupportServiceTarget/index.html +24 -24
  290. package/app/m/support/SupportSpecialist/index.html +24 -24
  291. package/app/m/support/SupportWorkLink/index.html +24 -24
  292. package/app/m/tags/Tag/index.html +24 -24
  293. package/app/m/tags/TagAlias/index.html +24 -24
  294. package/app/m/timesheets/AttendanceBreak/index.html +24 -24
  295. package/app/m/timesheets/AttendancePunch/index.html +24 -24
  296. package/app/m/timesheets/AttendanceSegment/index.html +24 -24
  297. package/app/m/timesheets/ServiceChargeSnapshot/index.html +24 -24
  298. package/app/m/timesheets/ServiceCompensationSnapshot/index.html +24 -24
  299. package/app/m/timesheets/ServiceTimeEntry/index.html +24 -24
  300. package/app/m/users/Group/index.html +24 -24
  301. package/app/m/users/GroupMember/index.html +24 -24
  302. package/app/m/users/GroupRole/index.html +24 -24
  303. package/app/m/users/Membership/index.html +24 -24
  304. package/app/m/users/MembershipOverride/index.html +24 -24
  305. package/app/m/users/Permission/index.html +24 -24
  306. package/app/m/users/Role/index.html +24 -24
  307. package/app/m/users/RolePermission/index.html +24 -24
  308. package/app/m/users/Session/index.html +24 -24
  309. package/app/m/users/Tenant/index.html +24 -24
  310. package/app/m/users/TenantIntegration/index.html +24 -24
  311. package/app/m/users/TenantPermissionOverride/index.html +24 -24
  312. package/app/m/users/User/index.html +24 -24
  313. package/app/m/video/Character/index.html +24 -24
  314. package/app/m/video/CharacterAsset/index.html +24 -24
  315. package/app/m/video/CompositeJob/index.html +24 -24
  316. package/app/m/video/Performer/index.html +24 -24
  317. package/app/m/video/PerformerAsset/index.html +24 -24
  318. package/app/m/video/Scene/index.html +24 -24
  319. package/app/m/video/SceneAsset/index.html +24 -24
  320. package/app/m/video/VideoComposition/index.html +24 -24
  321. package/app/m/video/VideoCompositionAsset/index.html +24 -24
  322. package/app/m/video/VideoSequence/index.html +24 -24
  323. package/app/m/video/VideoSequenceAsset/index.html +24 -24
  324. package/app/m/video/VideoShot/index.html +24 -24
  325. package/app/m/video/VideoShotAsset/index.html +24 -24
  326. package/app/m/video/VideoShotCharacter/index.html +24 -24
  327. package/app/m/video/VideoWorkflow/index.html +24 -24
  328. package/app/m/voice/VoiceOutput/index.html +24 -24
  329. package/app/m/voice/VoiceProfile/index.html +24 -24
  330. package/app/m/voice/VoiceSample/index.html +24 -24
  331. package/app/mcp.html +2 -2
  332. package/app/packages/ads/index.html +22 -22
  333. package/app/packages/analytics/index.html +22 -22
  334. package/app/packages/approvals/index.html +22 -22
  335. package/app/packages/assets/index.html +22 -22
  336. package/app/packages/chat/index.html +22 -22
  337. package/app/packages/comments/index.html +22 -22
  338. package/app/packages/commerce/index.html +22 -22
  339. package/app/packages/content/index.html +22 -22
  340. package/app/packages/events/index.html +22 -22
  341. package/app/packages/expenses/index.html +22 -22
  342. package/app/packages/facts/index.html +22 -22
  343. package/app/packages/fields/index.html +22 -22
  344. package/app/packages/human-resources/index.html +22 -22
  345. package/app/packages/images/index.html +22 -22
  346. package/app/packages/index.html +21 -21
  347. package/app/packages/ingestion/index.html +22 -22
  348. package/app/packages/inventory/index.html +22 -22
  349. package/app/packages/ledgers/index.html +22 -22
  350. package/app/packages/manufacturing/index.html +22 -22
  351. package/app/packages/marketing/index.html +22 -22
  352. package/app/packages/messages/index.html +22 -22
  353. package/app/packages/places/index.html +22 -22
  354. package/app/packages/preferences/index.html +22 -22
  355. package/app/packages/products/index.html +22 -22
  356. package/app/packages/profiles/index.html +22 -22
  357. package/app/packages/projects/index.html +22 -22
  358. package/app/packages/properties/index.html +22 -22
  359. package/app/packages/reactions/index.html +22 -22
  360. package/app/packages/reports/index.html +22 -22
  361. package/app/packages/sales/index.html +22 -22
  362. package/app/packages/sites/index.html +22 -22
  363. package/app/packages/social/index.html +22 -22
  364. package/app/packages/subscriptions/index.html +22 -22
  365. package/app/packages/support/index.html +22 -22
  366. package/app/packages/tags/index.html +22 -22
  367. package/app/packages/timesheets/index.html +22 -22
  368. package/app/packages/users/index.html +23 -23
  369. package/app/packages/video/index.html +22 -22
  370. package/app/packages/voice/index.html +22 -22
  371. package/app/packages/webhooks/index.html +22 -22
  372. package/app/recipes/account-access/help/index.html +23 -23
  373. package/app/recipes/account-access/index.html +24 -24
  374. package/app/recipes/activity/help/index.html +22 -22
  375. package/app/recipes/activity/index.html +24 -24
  376. package/app/recipes/ads.campaigns/help/index.html +22 -22
  377. package/app/recipes/ads.campaigns/index.html +24 -24
  378. package/app/recipes/affiliates.referrals/help/index.html +22 -22
  379. package/app/recipes/affiliates.referrals/index.html +24 -24
  380. package/app/recipes/agreements/help/index.html +22 -22
  381. package/app/recipes/agreements/index.html +24 -24
  382. package/app/recipes/analytics.reports/help/index.html +22 -22
  383. package/app/recipes/analytics.reports/index.html +24 -24
  384. package/app/recipes/approvals.requests/help/index.html +22 -22
  385. package/app/recipes/approvals.requests/index.html +24 -24
  386. package/app/recipes/assets/help/index.html +22 -22
  387. package/app/recipes/assets/index.html +24 -24
  388. package/app/recipes/billing/help/index.html +22 -22
  389. package/app/recipes/billing/index.html +24 -24
  390. package/app/recipes/chat.assistant/help/index.html +22 -22
  391. package/app/recipes/chat.assistant/index.html +24 -24
  392. package/app/recipes/comments/help/index.html +22 -22
  393. package/app/recipes/comments/index.html +24 -24
  394. package/app/recipes/commerce.customers/help/index.html +22 -22
  395. package/app/recipes/commerce.customers/index.html +24 -24
  396. package/app/recipes/commerce.estimates/help/index.html +22 -22
  397. package/app/recipes/commerce.estimates/index.html +24 -24
  398. package/app/recipes/commerce.purchases/help/index.html +22 -22
  399. package/app/recipes/commerce.purchases/index.html +24 -24
  400. package/app/recipes/commerce.sales/help/index.html +22 -22
  401. package/app/recipes/commerce.sales/index.html +24 -24
  402. package/app/recipes/commerce.vendors/help/index.html +22 -22
  403. package/app/recipes/commerce.vendors/index.html +24 -24
  404. package/app/recipes/commerce.wholesale/help/index.html +22 -22
  405. package/app/recipes/commerce.wholesale/index.html +24 -24
  406. package/app/recipes/content.articles/help/index.html +22 -22
  407. package/app/recipes/content.articles/index.html +24 -24
  408. package/app/recipes/events.calendar/help/index.html +22 -22
  409. package/app/recipes/events.calendar/index.html +24 -24
  410. package/app/recipes/expenses.tracking/help/index.html +22 -22
  411. package/app/recipes/expenses.tracking/index.html +24 -24
  412. package/app/recipes/fields.form-customization/help/index.html +22 -22
  413. package/app/recipes/fields.form-customization/index.html +24 -24
  414. package/app/recipes/human-resources.people/help/index.html +22 -22
  415. package/app/recipes/human-resources.people/index.html +24 -24
  416. package/app/recipes/human-resources.qualifications/help/index.html +22 -22
  417. package/app/recipes/human-resources.qualifications/index.html +24 -24
  418. package/app/recipes/ingestion/help/index.html +22 -22
  419. package/app/recipes/ingestion/index.html +24 -24
  420. package/app/recipes/integrations/help/index.html +22 -22
  421. package/app/recipes/integrations/index.html +24 -24
  422. package/app/recipes/inventory.stock/help/index.html +22 -22
  423. package/app/recipes/inventory.stock/index.html +24 -24
  424. package/app/recipes/ledgers.bookkeeping/help/index.html +22 -22
  425. package/app/recipes/ledgers.bookkeeping/index.html +24 -24
  426. package/app/recipes/manufacturing.assemblies/help/index.html +22 -22
  427. package/app/recipes/manufacturing.assemblies/index.html +24 -24
  428. package/app/recipes/manufacturing.production/help/index.html +22 -22
  429. package/app/recipes/manufacturing.production/index.html +24 -24
  430. package/app/recipes/marketing.campaigns/help/index.html +22 -22
  431. package/app/recipes/marketing.campaigns/index.html +24 -24
  432. package/app/recipes/messages/help/index.html +22 -22
  433. package/app/recipes/messages/index.html +24 -24
  434. package/app/recipes/places.locations/help/index.html +22 -22
  435. package/app/recipes/places.locations/index.html +24 -24
  436. package/app/recipes/products/help/index.html +22 -22
  437. package/app/recipes/products/index.html +24 -24
  438. package/app/recipes/projects.tracker/help/index.html +22 -22
  439. package/app/recipes/projects.tracker/index.html +24 -24
  440. package/app/recipes/reports.materialized/help/index.html +22 -22
  441. package/app/recipes/reports.materialized/index.html +24 -24
  442. package/app/recipes/reports.runtime/help/index.html +22 -22
  443. package/app/recipes/reports.runtime/index.html +24 -24
  444. package/app/recipes/sales.pipeline/help/index.html +22 -22
  445. package/app/recipes/sales.pipeline/index.html +24 -24
  446. package/app/recipes/social.posts/help/index.html +22 -22
  447. package/app/recipes/social.posts/index.html +24 -24
  448. package/app/recipes/subscriptions.plans/help/index.html +22 -22
  449. package/app/recipes/subscriptions.plans/index.html +24 -24
  450. package/app/recipes/support.tickets/help/index.html +22 -22
  451. package/app/recipes/support.tickets/index.html +24 -24
  452. package/app/recipes/tags.taxonomy/help/index.html +22 -22
  453. package/app/recipes/tags.taxonomy/index.html +24 -24
  454. package/app/recipes/team-collaboration/help/index.html +22 -22
  455. package/app/recipes/team-collaboration/index.html +24 -24
  456. package/app/recipes/timesheets.time-entries/help/index.html +22 -22
  457. package/app/recipes/timesheets.time-entries/index.html +24 -24
  458. package/app/recipes/video.library/help/index.html +22 -22
  459. package/app/recipes/video.library/index.html +24 -24
  460. package/app/recipes/voice.profiles/help/index.html +22 -22
  461. package/app/recipes/voice.profiles/index.html +24 -24
  462. package/app/s/custom-accounts/index.html +20 -20
  463. package/app/s/custom-appointments/index.html +20 -20
  464. package/app/s/custom-billing/index.html +20 -20
  465. package/app/s/custom-bookings/index.html +20 -20
  466. package/app/s/custom-buying/index.html +20 -20
  467. package/app/s/custom-checkout/index.html +20 -20
  468. package/app/s/custom-classes/index.html +20 -20
  469. package/app/s/custom-clients/index.html +20 -20
  470. package/app/s/custom-events/index.html +20 -20
  471. package/app/s/custom-fleet/index.html +20 -20
  472. package/app/s/custom-gigs/index.html +20 -20
  473. package/app/s/custom-giving/index.html +20 -20
  474. package/app/s/custom-instruments/index.html +20 -20
  475. package/app/s/custom-jobs/index.html +20 -20
  476. package/app/s/custom-kitchen/index.html +20 -20
  477. package/app/s/custom-lessons/index.html +20 -20
  478. package/app/s/custom-material/index.html +20 -20
  479. package/app/s/custom-meetings/index.html +20 -20
  480. package/app/s/custom-members/index.html +20 -20
  481. package/app/s/custom-merch/index.html +20 -20
  482. package/app/s/custom-money/index.html +20 -20
  483. package/app/s/custom-paint/index.html +20 -20
  484. package/app/s/custom-parts/index.html +20 -20
  485. package/app/s/custom-rentals/index.html +20 -20
  486. package/app/s/custom-roastery/index.html +20 -20
  487. package/app/s/custom-schedule/index.html +20 -20
  488. package/app/s/custom-shelf/index.html +20 -20
  489. package/app/s/custom-shop/index.html +20 -20
  490. package/app/s/custom-students/index.html +20 -20
  491. package/app/s/custom-wholesale/index.html +20 -20
  492. package/app/s/custom-work/index.html +20 -20
  493. package/app/s/custom-yard/index.html +20 -20
  494. package/app/s/section-access-control/index.html +20 -20
  495. package/app/s/section-account-security/index.html +20 -20
  496. package/app/s/section-accounting/index.html +20 -20
  497. package/app/s/section-activity/index.html +20 -20
  498. package/app/s/section-agreements/index.html +20 -20
  499. package/app/s/section-analytics/index.html +20 -20
  500. package/app/s/section-approvals/index.html +20 -20
  501. package/app/s/section-assets/index.html +20 -20
  502. package/app/s/section-billing/index.html +20 -20
  503. package/app/s/section-calendar/index.html +20 -20
  504. package/app/s/section-catalog/index.html +20 -20
  505. package/app/s/section-chat.assistant/index.html +20 -20
  506. package/app/s/section-comments/index.html +20 -20
  507. package/app/s/section-fields.form-customization/index.html +20 -20
  508. package/app/s/section-grow/index.html +20 -20
  509. package/app/s/section-ingestion/index.html +20 -20
  510. package/app/s/section-integrations/index.html +20 -20
  511. package/app/s/section-make/index.html +20 -20
  512. package/app/s/section-messages/index.html +20 -20
  513. package/app/s/section-more/index.html +20 -20
  514. package/app/s/section-operations/index.html +20 -20
  515. package/app/s/section-places/index.html +20 -20
  516. package/app/s/section-projects/index.html +20 -20
  517. package/app/s/section-publish/index.html +20 -20
  518. package/app/s/section-purchasing/index.html +20 -20
  519. package/app/s/section-reports.materialized/index.html +20 -20
  520. package/app/s/section-reports.runtime/index.html +20 -20
  521. package/app/s/section-sales/index.html +20 -20
  522. package/app/s/section-staff/index.html +20 -20
  523. package/app/s/section-support/index.html +20 -20
  524. package/app/s/section-taxonomy/index.html +20 -20
  525. package/app/s/section-team/index.html +20 -20
  526. package/app/s/section-work/index.html +20 -20
  527. package/dist/catalog/catalog.json +49 -39
  528. package/dist/components/ExportPanel.svelte +109 -101
  529. package/dist/components/ExportPanel.svelte.d.ts +5 -3
  530. package/dist/components/ExportPanel.svelte.d.ts.map +1 -1
  531. package/dist/smrt-version.d.ts +1 -1
  532. package/dist/smrt-version.js +1 -1
  533. package/package.json +55 -55
  534. package/app/_app/immutable/assets/2.BSQtjEJf.css +0 -1
  535. package/app/_app/immutable/assets/app.CkDD91u6.css +0 -1
  536. package/app/_app/immutable/chunks/BNB4IwPy.js +0 -9
  537. package/app/_app/immutable/chunks/BgqcCcxm.js +0 -1
  538. package/app/_app/immutable/chunks/DUOxZgSW.js +0 -1
  539. package/app/_app/immutable/entry/start.iwVpBav6.js +0 -1
  540. package/app/_app/immutable/nodes/2.1jMCUHMm.js +0 -26
@@ -0,0 +1,26 @@
1
+ import{$ as e,A as t,B as n,C as r,Ct as i,Dt as a,E as o,Et as s,Ft as c,G as l,H as u,J as d,K as f,L as p,M as m,Mt as h,Ot as g,Pt as _,S as v,T as y,U as b,W as x,X as S,Y as C,Z as w,_ as T,a as E,b as D,bt as O,ct as k,d as A,dt as j,ft as M,gt as N,ht as P,it as F,lt as I,mt as L,nt as R,pt as z,r as B,st as V,tt as ee,ut as H,v as U,vt as W,wt as te}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{i as G,o as K}from"../chunks/BLUInGBV.js";import{a as ne}from"../chunks/Bq8E3AWP.js";import{At as re,Mt as ie,Nt as ae,W as q,_t as oe,ct as se,i as ce,jt as le,ot as ue,p as J,st as de,t as fe}from"../chunks/DKO8GXxX.js";import{n as Y}from"../chunks/DK8Blf1Y.js";import{E as pe,a as me,g as he,m as ge}from"../chunks/Bi1YzXmx.js";import{b as _e,n as ve}from"../chunks/v8gneLl4.js";import{t as ye}from"../chunks/BeocJqqC.js";import{p as be,u as xe}from"../chunks/DIE02RSm.js";import{f as Se,g as Ce,o as we,p as Te}from"../chunks/HarHvnXF.js";import{r as Ee}from"../chunks/CUyVrfsu.js";import{a as De,b as Oe,i as ke,n as Ae,p as je,t as Me,x as Ne,y as Pe}from"../chunks/CGVkRTMI.js";import{a as Fe,d as Ie,f as Le,g as Re,h as ze,i as X,m as Be,o as Ve,p as He,u as Ue,x as We,y as Ge}from"../chunks/DhruBIjb.js";import"../chunks/EVM4wuMZ.js";import{_ as Ke,a as qe,m as Je,n as Z,s as Ye}from"../chunks/DYJvnJSH.js";import{$ as Xe,F as Ze,I as Qe,L as $e,M as et,N as tt,R as nt,a as rt,b as it,i as at,nt as ot,t as Q,u as st,x as ct,z as lt}from"../chunks/BhY9m7ye.js";import{S as ut,g as dt,h as ft,m as pt,v as mt}from"../chunks/CGaC_GdN.js";import{n as ht,r as gt,t as _t}from"../chunks/3XhH_h7e.js";import{n as vt,r as yt,t as bt}from"../chunks/D_U_DYjx.js";import{_ as xt,c as $,d as St,f as Ct,g as wt,h as Tt,i as Et,l as Dt,m as Ot,n as kt,o as At,p as jt,r as Mt,t as Nt,u as Pt}from"../chunks/OkFnmq-I.js";import{r as Ft}from"../chunks/BMgzWMdF.js";import{t as It}from"../chunks/Cc87O25b.js";import{n as Lt,s as Rt,t as zt}from"../chunks/DCxyGpWs.js";import{t as Bt}from"../chunks/77cA2IHw.js";var Vt={bread:[`M7 3h10a4 4 0 0 1 2.4 7.2L20 19a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2l.6-8.8A4 4 0 0 1 7 3z`,`M9 13l1 3`,`M14 13l1 3`],car:[`M5 17a2 2 0 1 0 4 0a2 2 0 1 0-4 0`,`M15 17a2 2 0 1 0 4 0a2 2 0 1 0-4 0`,`M5 17h-2v-6l2-5h9l4 5h1a2 2 0 0 1 2 2v4h-2m-4 0h-6m-6-6h15m-6 0v-5`],flame:[`M12 12c2-2.96 0-7-1-8 0 3.038-1.773 4.741-3 6-1.226 1.26-2 3.24-2 5a6 6 0 1 0 12 0c0-1.532-1.056-3.94-2-5-1.786 3-2.791 3-4 2z`],yoga:[`M11 4a1 1 0 1 0 2 0a1 1 0 1 0-2 0`,`M4 20h4l1.5-3`,`M17 20l-1-5h-5l1-7`,`M4 10l4-1l4-1l4 1.5l4 1.5`],leaf:[`M5 21c.5-4.5 2.5-8 7-10`,`M9 18c6.218 0 10.5-3.288 11-12v-2h-4.014c-9 0-11.986 4-12 9c0 1 0 3 2 5h3z`],scissors:[`M6 7m-3 0a3 3 0 1 0 6 0a3 3 0 1 0-6 0`,`M6 17m-3 0a3 3 0 1 0 6 0a3 3 0 1 0-6 0`,`M8.6 8.6l10.4 10.4`,`M8.6 15.4l10.4-10.4`],coffee:[`M3 14c.83.642 2.077 1.017 3.5 1c1.423.017 2.67-.358 3.5-1c.83-.642 2.077-1.017 3.5-1c1.423-.017 2.67.358 3.5 1`,`M8 3a2.4 2.4 0 0 0-1 2a2.4 2.4 0 0 0 1 2`,`M12 3a2.4 2.4 0 0 0-1 2a2.4 2.4 0 0 0 1 2`,`M3 10h14v5a6 6 0 0 1-6 6h-2a6 6 0 0 1-6-6v-5z`,`M16.746 16.726a3 3 0 1 0 .252-5.555`],forklift:[`M5 17m-2 0a2 2 0 1 0 4 0a2 2 0 1 0-4 0`,`M13 17m-2 0a2 2 0 1 0 4 0a2 2 0 1 0-4 0`,`M7 17h4`,`M3 17v-6h13v6`,`M5 11v-4h4`,`M9 11v-6h4l3 6`,`M22 15h-3v-10`,`M16 13h3`],heart:[`M19.5 12.572l-7.5 7.428l-7.5-7.428a5 5 0 1 1 7.5-6.566a5 5 0 1 1 7.5 6.572`],pencil:[`M4 20h4l10.5-10.5a2.828 2.828 0 1 0-4-4l-10.5 10.5v4`,`M13.5 6.5l4 4`],tool:[`M7 10h3v-3l-3.5-3.5a6 6 0 0 1 8 8l6 6a2 2 0 0 1-3 3l-6-6a6 6 0 0 1-8-8l3.5 3.5`],bolt:[`M13 3v7h6l-8 11v-7H5l8-11`],brush:[`M3 21v-4a4 4 0 1 1 4 4h-4`,`M21 3a16 16 0 0 0-12.8 10.2`,`M21 3a16 16 0 0 1-10.2 12.8`,`M10.6 9a9 9 0 0 1 4.4 4.4`],home:[`M5 12H3l9-9l9 9h-2`,`M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-7`,`M9 21v-6a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v6`],music:[`M3 17a3 3 0 1 0 6 0a3 3 0 0 0-6 0`,`M13 17a3 3 0 1 0 6 0a3 3 0 0 0-6 0`,`M9 17v-13h10v13`,`M9 8h10`],microphone:[`M15 12.9a5 5 0 1 0-3.902-3.9`,`M15 12.9l-3.902-3.899l-7.513 8.584a2 2 0 1 0 2.827 2.83l8.588-7.515z`]};ne({"ui.audit.history":`Record history`,"ui.audit.list":`Audit trail`,"ui.audit.empty":`No audit entries.`,"ui.audit.loading":`Loading audit entries…`,"ui.audit.person":`Person ID`,"ui.audit.record":`Record ID`,"ui.audit.from":`From date`,"ui.audit.to":`To date`,"ui.audit.filter":`Apply filters`,"ui.audit.reason":`Reason: {reason}`,"ui.audit.behalf":`On behalf of {actor}`,"ui.audit.change":`{field}: {before} → {after}`}),ne({"ui.notification_bell.label":`Notifications`,"ui.notification_bell.unread":`{count} unread`,"ui.notification_bell.mark_all":`Mark all read`,"ui.notification_bell.mark_one":`Mark read`,"ui.notification_bell.loading":`Loading notifications`,"ui.notification_bell.empty":`No notifications.`,"ui.notification_bell.unavailable":`Notifications are unavailable.`,"ui.notification_bell.mark_error":`Could not mark notifications read.`,"ui.notification_bell.live_error":`Live notifications are unavailable.`}),C([`keydown`]);var Ht=l(`<option>Per line</option> <option>Once per document</option>`,1),Ut=l(`<option></option>`),Wt=l(`<li class="svelte-1adyoey"><span class="name"> </span> <span class="rates svelte-1adyoey"> </span></li>`),Gt=l(`<div class="settings svelte-1adyoey"><div class="field svelte-1adyoey"><!> <!></div> <div class="percent svelte-1adyoey"><!> <span class="percent-sign svelte-1adyoey" aria-hidden="true">%</span></div> <div class="field svelte-1adyoey"><!> <!></div> <div class="field switch svelte-1adyoey"><!> <small class="svelte-1adyoey"> </small></div> <div class="field svelte-1adyoey"><!> <!> <datalist></datalist></div></div> <section class="tax-codes svelte-1adyoey"><h3 class="svelte-1adyoey">Tax codes</h3> <p class="meta svelte-1adyoey">New documents use <strong> </strong> </p> <ul class="svelte-1adyoey"></ul> <p class="meta svelte-1adyoey">The country codes are smrt’s examples; check they apply before using one.</p></section>`,1);function Kt(t,n){g(n,!0);let r=E(n,`idPrefix`,3,`app-settings`),o=[`Due on receipt`,`Net 15`,`Net 30`,`Net 60`,`50% deposit, balance on completion`],s=e=>n.onchange({...n.value,...e}),l=i(()=>se(n.value.taxRate)),d=i(()=>[...de,...ue].filter(t=>t.id!==e(l).id)),f=e=>e.components.map(e=>e.name).join(` + `)||`No tax, reported as ${e.kind.replace(/-/g,` `)}`;var m=Gt(),h=z(m),v=M(h),y=M(v);Ne(y,{get for(){return`${r()??``}-currency`},label:`Currency`});var x=P(y,2);Pe(x,{get id(){return`${r()??``}-currency`},get value(){return n.value.currency},onchange:e=>s({currency:e.currentTarget.value})}),c(v);var S=P(v,2),C=M(S);{let t=i(()=>zt(n.value.taxRate));Rt(C,{get name(){return`${r()??``}-tax-rate`},label:`Default tax rate`,min:0,step:.01,get value(){return e(t)},onchange:e=>s({taxRate:Lt(e)??0})})}_(2),c(S);var w=P(S,2),T=M(w);Ne(T,{get for(){return`${r()??``}-rounding`},label:`Tax rounding`});var D=P(T,2);Oe(D,{get id(){return`${r()??``}-rounding`},get value(){return n.value.taxRounding},onchange:e=>s({taxRounding:e.currentTarget.value}),children:(e,t)=>{var n=Ht(),r=z(n);r.value=r.__value=`line`;var i=P(r,2);i.value=i.__value=`document`,b(e,n)},$$slots:{default:!0}}),c(w);var O=P(w,2),k=M(O);ke(k,{get checked(){return n.value.pricesIncludeTax},onchange:e=>s({pricesIncludeTax:e.currentTarget.checked}),label:`Prices include tax`});var A=P(k,2),j=L(A,!0);c(O);var N=P(O,2),F=M(N);Ne(F,{get for(){return`${r()??``}-terms`},label:`Default payment terms`});var I=P(F,2);ve(I,{get id(){return`${r()??``}-terms`},type:`text`,get list(){return`${r()??``}-terms-options`},autocomplete:`off`,placeholder:`Not set`,get value(){return n.value.paymentTerms},oninput:e=>s({paymentTerms:e.currentTarget.value})});var R=P(I,2);p(R,20,()=>o,e=>e,(e,t)=>{var n=Ut(),r={};V(()=>{r!==(r=t)&&(n.value=(n.__value=r)??``)}),b(e,n)}),c(R),c(N),c(h);var B=P(h,2),ee=M(B),H=P(ee,2),W=P(M(H)),te=L(W,!0),G=P(W);c(H);var K=P(H,2);p(K,21,()=>e(d),e=>e.id,(t,n)=>{var r=Wt(),i=M(r),a=L(i,!0),o=P(i,2),s=L(o,!0);c(r),V(t=>{U(r,`data-tax-code`,e(n).code),u(a,e(n).name),u(s,t)},[()=>f(e(n))]),b(t,r)}),c(K),_(2),c(B),V(t=>{u(j,n.value.pricesIncludeTax?`A line’s amount is what the customer pays; tax is part of it.`:`Tax is added on top of each line’s amount.`),U(R,`id`,`${r()??``}-terms-options`),U(B,`aria-labelledby`,`${r()??``}-tax-codes`),U(ee,`id`,`${r()??``}-tax-codes`),u(te,e(l).name),u(G,` (${t??``}),
2
+ from the default tax rate. A line can choose another code; an exempt
3
+ customer pays none.`)},[()=>f(e(l))]),b(t,m),a()}var qt=f(`<path></path>`),Jt=l(`<span class="badge svelte-mzas8k">In use</span>`),Yt=l(`<li><button type="button" class="card svelte-mzas8k"><span class="heading svelte-mzas8k"><svg class="icon svelte-mzas8k" viewBox="0 0 24 24" width="28" height="28" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"></svg> <span class="name svelte-mzas8k"> </span></span> <span class="summary svelte-mzas8k"> </span> <!></button></li>`),Xt=l(`<ul class="grid svelte-mzas8k" aria-label="Cookbooks"></ul>`),Zt=l(`<span aria-hidden="true">←</span> Back to cookbooks`,1),Qt=l(`<li class="svelte-mzas8k"> </li>`),$t=l(`<li> </li>`),en=l(`<div><h4 class="svelte-mzas8k"> </h4> <ul class="svelte-mzas8k"></ul></div>`),tn=l(`<section class="preview svelte-mzas8k" aria-labelledby="preview-heading"><div class="back svelte-mzas8k"><!></div> <h2 id="preview-heading" tabindex="-1" class="svelte-mzas8k"> </h2> <p class="summary svelte-mzas8k"> </p> <div class="block svelte-mzas8k"><h3 class="svelte-mzas8k">Recipes</h3> <ul class="chips svelte-mzas8k" aria-label="Recipes"></ul></div> <div class="block svelte-mzas8k"><h3 class="svelte-mzas8k">Menu</h3> <div class="menu svelte-mzas8k"></div></div> <div class="block svelte-mzas8k"><h3 class="svelte-mzas8k">Settings</h3> <!></div> <div class="actions svelte-mzas8k"><!> <span class="meta svelte-mzas8k">Replaces your current recipes, menu and sample records.</span></div></section>`),nn=l(`<div class="cookbooks svelte-mzas8k"><!> <p class="meta svelte-mzas8k">A cookbook is a ready-made starting point: the recipes, menu and settings a
4
+ kind of business usually needs. Pick one, look it over, then change
5
+ anything in the other tabs.</p> <div class="swap svelte-mzas8k"><!></div> <!></div> <!>`,1);function rn(t,r){g(r,!0);let o=yt(),s=pe(),l=O(!1),f=O(``),m=O(``);B(()=>{mt.load()});let v=i(()=>ht.find(e=>e.id===At.open)),y=O(null),x=O(null),C;k(()=>{let t=e(v)?.id??null,n=C===void 0,r=C!==t;C=t,!n&&r&&ee().then(()=>{if(t){e(x)?.scrollIntoView({block:`nearest`}),e(x)?.focus({preventScroll:!0});return}let n=e(y)?.querySelector(`[data-cookbook="${At.returnTo??``}"]`);n?.scrollIntoView({block:`nearest`}),n?.focus({preventScroll:!0})})});function w(e){W(m,``),W(f,``),At.show(e.id)}function T(){At.back()}function E(t){t.key!==`Escape`||t.defaultPrevented||e(l)||(t.preventDefault(),T())}let D=O(N(st(void 0)));k(()=>{W(D,st(e(v)?.settings),!0)});let j=e=>mt.active===e.id&&wt(e,{recipes:Q.ids,features:Q.features});function F(){e(v)&&(xt(Z)?W(l,!0):I())}function I(){if(W(l,!1),!e(v))return;let t=Tt(e(v),Z,h(e(D)));if(t.ok){o.reset?.(),W(f,``);let t=Ot(e(v).document).length;W(m,`${e(v).name} added ${t} menu sections. Explore them in the left sidebar.`),s?.setPanelState(`left`,`expanded`)}else W(f,t.error,!0),W(m,``)}var R=nn(),H=z(R),te=M(H),ne=t=>{K(t,{variant:`success`,title:`Cookbook applied`,children:(t,n)=>{_();var r=d();V(()=>u(r,e(m))),b(t,r)},$$slots:{default:!0}})};n(te,t=>{e(m)&&t(ne)});var re=P(te,4),ie=M(re),ae=t=>{var r=Xt();p(r,21,()=>ht,e=>e.id,(t,r)=>{let a=i(()=>j(e(r)));var o=Yt(),s=M(o),l=M(s),d=M(l);p(d,20,()=>Vt[e(r).icon]??[],e=>e,(e,t)=>{var n=qt();V(()=>U(n,`d`,t)),b(e,n)}),c(d);var f=P(d,2),m=L(f,!0);c(l);var h=P(l,2),g=L(h,!0),_=P(h,2),v=e=>{var t=Jt();b(e,t)};n(_,t=>{e(a)&&t(v)}),c(s),c(o),V(()=>{U(s,`data-cookbook`,e(r).id),u(m,e(r).name),u(g,e(r).summary)}),S(`click`,s,()=>w(e(r))),b(t,o)}),c(r),A(r,e=>W(y,e),()=>e(y)),b(t,r)},q=t=>{let n=i(()=>Ot(e(v).document));var r=tn(),a=M(r),o=M(a);Y(o,{variant:`ghost`,onclick:T,children:(e,t)=>{var n=Zt();_(),b(e,n)},$$slots:{default:!0}}),c(a);var s=P(a,2),l=L(s,!0);A(s,e=>W(x,e),()=>e(x));var f=P(s,2),m=L(f,!0),h=P(f,2),g=P(M(h),2);p(g,20,()=>gt(e(v)),e=>e,(e,t)=>{var n=Qt(),r=L(n,!0);V(()=>u(r,t)),b(e,n)}),c(g),c(h);var y=P(h,2),C=P(M(y),2);p(C,21,()=>e(n),e=>e.id,(t,n)=>{var r=en(),i=M(r),a=L(i,!0),o=P(i,2);p(o,21,()=>e(n).entries,e=>e.id,(t,n)=>{var r=$t(),i=L(r,!0);V(()=>u(i,e(n).label)),b(t,r)}),c(o),c(r),V(()=>u(a,e(n).label)),b(t,r)}),c(C),c(y);var w=P(y,2);Kt(P(M(w),2),{get value(){return e(D)},onchange:e=>W(D,e,!0),idPrefix:`cookbook-settings`}),c(w);var O=P(w,2),k=M(O);Y(k,{onclick:F,children:(e,t)=>{_();var n=d(`Use this cookbook`);b(e,n)},$$slots:{default:!0}}),_(2),c(O),c(r),V(()=>{U(r,`data-cookbook-detail`,e(v).id),u(l,e(v).name),u(m,e(v).summary)}),S(`keydown`,r,E),b(t,r)};n(ie,t=>{e(v)?t(q,-1):t(ae)}),c(re);var oe=P(re,2),se=t=>{K(t,{variant:`error`,title:`Could not use this cookbook`,children:(t,n)=>{_();var r=d();V(()=>u(r,e(f))),b(t,r)},$$slots:{default:!0}})};n(oe,t=>{e(f)&&t(se)}),c(H);var ce=P(H,2);{let t=i(()=>e(v)?`Use the ${e(v).name} cookbook?`:`Use this cookbook?`);G(ce,{get open(){return e(l)},get title(){return e(t)},message:`Replaces your current recipes, menu and sample records.`,confirmLabel:`Replace`,destructive:!0,onconfirm:I,oncancel:()=>W(l,!1)})}b(t,R),a()}C([`click`,`keydown`]);var an=(e,t,n=`${t}s`)=>`${e} ${e===1?t:n}`,on=new Map(lt(it).map(e=>[e.id,e.label]));function sn(e){return J(e.slice(e.lastIndexOf(`:`)+1))}function cn(e){let t=new Map;for(let n of e){let e=sn(n.objectRef),r=t.get(e)??[],i=J(n.fieldName).toLowerCase();r.includes(i)||r.push(i),t.set(e,r)}return[...t].map(([e,t])=>`${e}: ${t.join(`, `)}`)}function ln(e){let t=[];e.custom?t.push(`brand colour ${e.custom.primary}`):e.preset&&e.preset!==`glass`&&t.push(`${Te(e.preset)?Se(e.preset):e.preset} preset`),e.colorScheme&&e.colorScheme!==`system`&&t.push(`${e.colorScheme} scheme`);let n=e.fontFamily??e.custom?.fontFamily;return n&&t.push(`${n} font`),e.borderRadius&&t.push(`${e.borderRadius} corners`),e.density===`touch`&&t.push(`touch density`),e.contrast&&e.contrast!==`auto`&&t.push(`${e.contrast} contrast`),e.customCss?.trim()&&t.push(`custom CSS`),t}function un(e){let t=[],n=e.customSections??[];if(n.length){let e=n.map(e=>e.label).filter(Boolean);t.push(`${an(n.length,`custom section`)}${e.length&&e.length<=4?` (${e.join(`, `)})`:``}`)}let r=e.hidden?.length??0;r&&t.push(`${r} hidden`);let i=Object.values(e.items??{}).filter(e=>e.label).length+Object.values(e.sections??{}).filter(e=>e.label||e.icon||e.showTitle===!1).length;i&&t.push(`${i} renamed or restyled`);let a=Object.keys(e.moved??{}).length;a&&t.push(`${a} moved`),(e.sectionOrder?.length||Object.keys(e.itemOrder??{}).length)&&t.push(`reordered`);let o=Object.keys(e.placements??{}).length;return o&&t.push(`${an(o,`shell item`)} placed`),Object.keys(e.panels??{}).length&&t.push(`panel settings`),t}function dn(e,t){if(e===`section:${et.id}`)return et.label;if(e.startsWith(`section:`)){let n=e.slice(8);return t?.sections?.[e]?.label??on.get(n)??J(n)}if(e.startsWith(`custom:`))return t?.customSections?.find(t=>t.id===e)?.label??J(e.slice(7));if(e.startsWith(`detail:`)){let t=e.slice(e.lastIndexOf(`.`)+1);return`${J(t)} record`}return J(e)}function fn(e){let t=[];e.recipes.length&&t.push({id:`recipes`,label:an(e.recipes.length,`recipe`),chips:e.recipes.map(e=>ct.get(e)?.label??e)}),e.features.length&&t.push({id:`features`,label:an(e.features.length,`feature`),chips:e.features.map(sn)}),e.policies.length&&t.push({id:`options`,label:an(e.policies.length,`saved option`),chips:cn(e.policies)});let n=Object.entries(e.exposure??{}).filter(([,e])=>e.length);n.length&&t.push({id:`exposure`,label:`Surfaces switched off`,chips:n.map(([e,t])=>`${sn(e)}: ${t.join(`, `)}`)});let r=e.theme?ln(e.theme):[];r.length&&t.push({id:`theme`,label:`Theme`,text:r.join(`, `)});let i=e.layout?un(e.layout):[];i.length&&t.push({id:`layout`,label:`Layout`,text:i.join(`, `)});let a=Object.keys(e.overviews??{});return a.length&&t.push({id:`pages`,label:an(a.length,`customised page`),chips:a.map(t=>dn(t,e.layout))}),t}function pn(e){let t=fn(e);if(!t.length)return`an empty cookbook`;let n=t.map(e=>e.id===`theme`?`a theme`:e.id===`layout`?`a layout`:e.id===`exposure`?`narrowed surfaces`:e.label);return n.length===1?n[0]:`${n.slice(0,-1).join(`, `)} and ${n.at(-1)}`}var mn=`0.57.43`,hn=`Node 26 or newer`,gn=`pnpm 11`,_n=`cookbook.json`,vn=`COOKBOOK_EOF`;function yn(e=mn){return`npx -y @happyvertical/smrt-cli@${e}`}function bn(e,t){return ze(e.name)||ze(t)||`my-app`}function xn(e,t,n=mn){return`${yn(n)} cookbook apply ${e} ${t}`}function Sn(e,t=vn){let n=new Set(e.split(`
6
+ `)),r=t;for(let e=1;n.has(r);e++)r=`${t}_${e}`;return r}function Cn(e,t={}){let n=t.version??`0.57.43`,r=bn(e,t.fallbackName),i=JSON.stringify(e),a=Sn(i),o=yn(n),s=[`Create a new s-m-r-t app from the cookbook below. Work in a new, empty directory outside any existing project, run the steps in order, and when you finish report what you ran and what happened, including anything that failed.`,``,`1. Prerequisites: ${hn} (\`node --version\`), git, and ${gn} or newer (\`npm install -g pnpm\` if missing).`,``,`2. Write the cookbook exactly as given, without reformatting or editing it:`,``,`cat > ${_n} <<'${a}'\n${i}\n${a}`,``,`3. Validate it, then create the app in ./${r}:`,``,`${o} cookbook validate ${_n}`,`${o} cookbook apply ${_n} ${r}`,``,`4. Set it up (in a subshell, so the commands below still run from this directory):`,``,`(cd ${r} && pnpm exec smrt app install)`,``,...e.specs?.trim()?[`5. The cookbook's \`specs\` field lists product requirements beyond the recipes and features: after step 4, implement them in ${r}, and report any you could not build.`,``]:[],`If any step fails, run \`pnpm exec smrt app doctor\` inside ${r} and include its findings in your report. Do not hand-edit the app's smrt.cookbook.json: change ${_n} and run \`${o} cookbook apply ${_n} --into ${r}\` instead.`,``].join(`
7
+ `);return{text:s,bytes:new TextEncoder().encode(s).length,appName:r,version:n,delimiter:a}}function wn(e,t){if(t?.busy)throw Error(`Wait for the assistant to finish, or stop it, then try again.`);let n=e.run({name:`export_cookbook`,input:{}});if(!n.ok)throw Error(n.error.message);return structuredClone({export:n.data,revision:n.snapshot.revision,conversation:t?.conversation()??[]})}function Tn(t,n){g(n,!0);let r=E(n,`copiedLabel`,3,`Copied`),i=E(n,`variant`,3,`primary`),o=E(n,`confirmFor`,3,2e3),s=O(!1),c;async function l(){let e=typeof n.text==`function`?n.text():n.text,t=n.write??(typeof navigator<`u`&&navigator.clipboard?e=>navigator.clipboard.writeText(e):void 0);try{if(!t)throw Error(`no clipboard`);await t(e)}catch{W(s,!1),n.onfail?.();return}W(s,!0),n.oncopied?.(),clearTimeout(c),c=setTimeout(()=>W(s,!1),o())}Y(t,{get variant(){return i()},onclick:l,"aria-live":`polite`,get"aria-describedby"(){return n[`aria-describedby`]},children:(t,i)=>{_();var a=d();V(()=>u(a,e(s)?r():n.label)),b(t,a)},$$slots:{default:!0}}),a()}var En=l(`<!> <div class="actions svelte-1ij12un"><!> <!></div>`,1),Dn=l(`<h2 class="svelte-1ij12un">Project</h2> <p class="meta svelte-1ij12un">Your plan, sample records and settings stay in this browser session by default. Conversations and contact or request drafts stay in the current tab session.</p> <!> <p class="meta svelte-1ij12un">Remembering keeps your cookbook, sample records and settings on this device after the session ends. Conversations and contact or request drafts still stay in the current tab session. Turn it off to remove the remembered project copy.</p> <!>`,1),On=l(`<p class="meta svelte-1ij12un" role="status"> </p>`),kn=l(`<p role="status" class="svelte-1ij12un"> </p>`),An=l(`<section class="project svelte-1ij12un" aria-label="Project"><!> <div class="actions svelte-1ij12un"><!></div> <!> <!> <!></section> <!> <!>`,1);function jn(t,r){g(r,!0);let o=E(r,`controller`,3,pt),s=E(r,`resetOnly`,3,!1),l=E(r,`projectPersistence`,3,Mt),f=yt(),p=O(!1),m=O(!1),h=O(``),v=O(``),y=i(()=>l()?.remembering??!1);function x(e){W(h,l()?.setRemember(e)?``:`Your storage preference could not be changed. Your existing plan is preserved.`,!0)}function S(){W(p,!1),!r.resetDisabledReason&&(W(h,``),kt({controller:o(),dataSource:f,nativeAssistant:r.nativeAssistant,onreset:r.onreset})?W(v,`Project reset. Start a new plan whenever you are ready.`):W(h,`The project could not be fully reset. Please try again.`))}function C(){W(m,!1),!r.resetDisabledReason&&(l()?.recover()?location.reload():W(h,`The previous plan could not be recovered. Its saved copy is preserved.`))}function w(){W(h,l()?.discardRecovery()?``:`The previous saved copy could not be removed. Please try again.`,!0)}var T=An(),D=z(T),k=M(D),A=t=>{var a=Dn(),o=P(z(a),4);ke(o,{label:`Remember this plan`,onchange:async t=>{let n=t.currentTarget;x(n.checked),await ee(),W(y,l()?.remembering??!1),n.checked=e(y)},get checked(){return e(y)},set checked(e){W(y,e)}});var s=P(o,4),u=t=>{var n=En(),a=z(n);K(a,{variant:`info`,title:`Previous saved plan available`,children:(e,t)=>{_();var n=d(`An earlier project has been kept as a recovery copy of its cookbook, sample records and settings. Recover it to replace this project, or discard the copy. Conversations are not remembered.`);b(e,n)},$$slots:{default:!0}});var o=P(a,2),s=M(o);{let t=i(()=>!!r.resetDisabledReason);Y(s,{variant:`secondary`,onclick:()=>W(m,!0),get disabled(){return e(t)},children:(e,t)=>{_();var n=d(`Recover previous plan`);b(e,n)},$$slots:{default:!0}})}var l=P(s,2);Y(l,{variant:`ghost`,onclick:w,children:(e,t)=>{_();var n=d(`Discard saved copy`);b(e,n)},$$slots:{default:!0}}),c(o),b(t,n)};n(s,e=>{l()?.recoveryAvailable&&e(u)}),b(t,a)};n(k,e=>{!s()&&l()&&e(A)});var j=P(k,2),N=M(j);{let t=i(()=>!!r.resetDisabledReason);Y(N,{variant:`ghost`,get disabled(){return e(t)},onclick:()=>W(p,!0),children:(e,t)=>{_();var n=d(`Reset project`);b(e,n)},$$slots:{default:!0}})}c(j);var F=P(j,2),I=e=>{var t=On(),n=L(t,!0);V(()=>u(n,r.resetDisabledReason)),b(e,t)};n(F,e=>{r.resetDisabledReason&&e(I)});var R=P(F,2),B=t=>{K(t,{variant:`error`,title:`Project action could not finish`,children:(t,n)=>{_();var r=d();V(()=>u(r,e(h))),b(t,r)},$$slots:{default:!0}})};n(R,t=>{e(h)&&t(B)});var H=P(R,2),U=t=>{var n=kn(),r=L(n,!0);V(()=>u(r,e(v))),b(t,n)};n(H,t=>{e(v)&&t(U)}),c(D);var te=P(D,2);G(te,{get open(){return e(m)},title:`Recover the previous plan?`,message:`Recovering replaces this project with its previous cookbook, sample records and settings. Current manual edits will be lost. It does not recover conversations or contact and request drafts.`,confirmLabel:`Recover plan`,destructive:!0,onconfirm:C,oncancel:()=>W(m,!1)});var ne=P(te,2);G(ne,{get open(){return e(p)},title:`Reset this project?`,message:`This clears your plan, conversation, sample records, manual edits and current Build it draft. Manual edits will be lost. Your theme preference and identity settings are kept. Download the cookbook first if you want a copy. A reset cannot unsend a request you already sent.`,confirmLabel:`Reset project`,destructive:!0,onconfirm:S,oncancel:()=>W(p,!1)}),b(t,T),a()}var Mn=l(`<div class="build-step svelte-17nkvtk" data-export-actions="primary"><h3 class="svelte-17nkvtk">Build your app</h3> <p class="meta svelte-17nkvtk">Continue with your current plan.</p> <div class="actions svelte-17nkvtk"><!></div></div>`),Nn=l(`<p class="meta svelte-17nkvtk" role="status">Wait for the assistant to finish, or stop it, before continuing.</p>`),Pn=l(`<li><!></li>`),Fn=l(`<ul class="chips svelte-17nkvtk"></ul>`),In=l(`<dt class="svelte-17nkvtk"> </dt> <dd class="svelte-17nkvtk"><!></dd>`,1),Ln=l(`<dl class="summary svelte-17nkvtk"></dl>`),Rn=l(`<p class="quiet svelte-17nkvtk">Nothing customised yet. Add recipes or apply a cookbook first.</p>`),zn=l(`<div class="card-body svelte-17nkvtk"><h3 id="prompt-heading" class="svelte-17nkvtk">Copy prompt</h3> <p class="meta svelte-17nkvtk" id="prompt-note">Paste it into Claude Code, Codex or another coding agent. The prompt
8
+ carries the cookbook, creates the app <code class="svelte-17nkvtk"> </code> </p> <div class="actions svelte-17nkvtk"><!></div> <!> <p class="notice svelte-17nkvtk" role="status" aria-live="polite"> </p></div>`),Bn=l(`<pre class="json svelte-17nkvtk"> </pre>`),Vn=l(`<div class="card-body svelte-17nkvtk"><h3 id="file-heading" class="svelte-17nkvtk">Download cookbook</h3> <p class="meta svelte-17nkvtk">Download writes <code class="svelte-17nkvtk"> </code> </p> <div class="command svelte-17nkvtk"><code data-export-command="" class="svelte-17nkvtk"> </code> <!></div> <p class="notice svelte-17nkvtk" role="status" aria-live="polite"> </p> <div class="actions svelte-17nkvtk" data-export-actions="download"><!> <!></div> <!></div>`),Hn=l(`The kitchen is running, but this page was opened without its one-time
9
+ token. Open the address <code class="svelte-17nkvtk">smrt kitchen</code> printed (it ends in <code class="svelte-17nkvtk">#kitchen=…</code>), or download the cookbook and run <code class="svelte-17nkvtk">smrt cookbook apply</code> on the file.`,1),Un=l(`This version of <code class="svelte-17nkvtk">smrt kitchen</code> puts its one-time token in a
10
+ file other programs on this computer can read, so the planner does not
11
+ use it. Update the <code class="svelte-17nkvtk">smrt</code> CLI, or download the cookbook and run <code class="svelte-17nkvtk">smrt cookbook apply</code> on the file.`,1),Wn=l(`<li><code class="svelte-17nkvtk"> </code></li>`),Gn=l(`Next, in your terminal: <ul></ul>`,1),Kn=l(` <!>`,1),qn=l(`<li> </li>`),Jn=l(`<ul></ul>`),Yn=l(`<div class="kitchen" role="status" aria-live="polite"><!></div>`),Xn=l(`<p class="meta svelte-17nkvtk">Both replace everything listed above; download a copy first to keep it.</p> <div class="actions svelte-17nkvtk" data-export-actions="replace"><!></div> <p class="meta svelte-17nkvtk">Import swaps this cookbook for one from a file. Reset project also clears
12
+ your conversation, sample records and current Build it draft.</p> <!> <input type="file" accept="application/json,.json" hidden="" aria-label="Cookbook file"/> <!> <p class="notice svelte-17nkvtk" role="status" aria-live="polite"> </p>`,1),Zn=l(`<div class="export svelte-17nkvtk"><div class="export-intro svelte-17nkvtk"><h2 class="svelte-17nkvtk">Export</h2> <p class="meta svelte-17nkvtk">Your recipes, theme, layout and customised pages travel together as a cookbook. Sample records stay in this preview.</p></div> <!> <!> <!> <section class="block svelte-17nkvtk" aria-labelledby="summary-heading" data-export-section="summary"><h3 id="summary-heading" class="svelte-17nkvtk">In this cookbook</h3> <!></section> <!> <!> <!> <!> <!> <section class="block replace svelte-17nkvtk" aria-label="Import or reset project" data-export-section="replace"><!></section></div> <!>`,1);function Qn(t,r){g(r,!0);let o=E(r,`controller`,3,pt),s=O(!1),l=O(!1),f=O(``);B(()=>r.nativeAssistant?.subscribeConversation(()=>{W(l,r.nativeAssistant?.busy??!1,!0)}));function m(){let e=o().run({name:`export_cookbook`,input:{}});e.ok?Ue(e.data):W(f,e.error.message,!0)}async function h(){if(r.exportAction&&!e(s)){W(f,``),W(s,!0);try{await r.exportAction.run(wn(o(),r.nativeAssistant))}catch(e){W(f,e instanceof Error?e.message:`The export action could not finish. Try again.`,!0)}finally{W(s,!1)}}}let v=O(void 0),y=O(void 0),x=O(void 0),C=O(null),w=O(N([])),T=O(``),D=O(``),k=O(``),j=O(``),F=i(()=>_t(mt.active??``)?.name),I=i(()=>Z.snapshot()),R=i(()=>fn(e(I))),H=i(()=>Ie(e(I).name??e(F))),U=i(()=>He(Le(e(I)))),te=i(()=>bn(e(I),e(F))),ne=i(()=>Cn(e(I),{fallbackName:e(F)})),ae=i(()=>xn(e(H),e(te))),q=`Copying is not available here. The text is selected: press Ctrl+C (Cmd+C on a Mac) to copy it.`;async function oe(){await ee();let t=e(y)?.getElement();t?.focus(),t?.select(),W(k,q)}function se(){if(e(x)){let t=window.getSelection();t?.removeAllRanges(),t?.selectAllChildren(e(x))}W(j,q)}async function ce(e){let t=e.currentTarget,n=t.files?.[0];if(W(T,``),W(D,``),n){try{let e=Ye(await n.text());e.ok?(W(C,e.cookbook,!0),W(w,e.dropped??[],!0)):W(T,e.error,!0)}catch{W(T,`The file could not be read.`)}t.value=``}}function ue(){e(C)&&(Z.replace(e(C)),W(D,`Imported ${pn(e(C))}.${e(w).length?` Not imported: ${e(w).join(` `)}`:``}`)),W(C,null),W(w,[],!0)}var J=Zn(),de=z(J),fe=P(M(de),2),pe=t=>{var n=Mn(),a=P(M(n),4),o=M(a);{let t=i(()=>e(s)||e(l));Y(o,{get disabled(){return e(t)},onclick:h,children:(e,t)=>{_();var n=d();V(()=>u(n,r.exportAction.label)),b(e,n)},$$slots:{default:!0}})}c(a),c(n),b(t,n)};n(fe,e=>{r.exportAction&&e(pe)});var me=P(fe,2),he=t=>{K(t,{variant:`error`,title:`Export action failed`,children:(t,n)=>{_();var r=d();V(()=>u(r,e(f))),b(t,r)},$$slots:{default:!0}})};n(me,t=>{e(f)&&t(he)});var ge=P(me,2),_e=e=>{var t=Nn();b(e,t)};n(ge,t=>{r.exportAction&&e(l)&&t(_e)});var ve=P(ge,2),ye=P(M(ve),2),be=t=>{var r=Ln();p(r,21,()=>e(R),e=>e.id,(t,r)=>{var i=In(),a=z(i),o=L(a,!0),s=P(a,2),l=M(s),f=t=>{var n=Fn();p(n,23,()=>e(r).chips,(e,t)=>`${e}:${t}`,(t,n)=>{var r=Pn(),i=M(r);le(i,{get label(){return e(n)},size:`sm`}),c(r),b(t,r)}),c(n),b(t,n)},m=t=>{var n=d();V(()=>u(n,e(r).text)),b(t,n)};n(l,t=>{e(r).chips?t(f):t(m,-1)}),c(s),V(()=>u(o,e(r).label)),b(t,i)}),c(r),b(t,r)},xe=e=>{var t=Rn();b(e,t)};n(ye,t=>{e(R).length?t(be):t(xe,-1)}),c(ve);var Se=P(ve,2);ie(Se,{padding:`sm`,role:`group`,"aria-labelledby":`prompt-heading`,"data-export-section":`prompt`,children:(t,n)=>{var a=zn(),o=P(M(a),2),s=P(M(o)),l=L(s,!0),d=P(s);c(o);var f=P(o,2),p=M(f);{let t=i(()=>r.exportAction?`secondary`:`primary`);Tn(p,{text:()=>e(ne).text,label:`Copy prompt`,get variant(){return e(t)},get write(){return r.write},oncopied:()=>W(k,`Prompt copied.`),onfail:oe})}c(f);var m=P(f,2);A(Ae(m,{class:`prompt`,get value(){return e(ne).text},readonly:!0,rows:7,spellcheck:!1,wrap:`soft`,"aria-label":`Prompt for your coding agent`,"aria-describedby":`prompt-note`,interaction:!1}),e=>W(y,e,!0),()=>e(y));var h=P(m,2),g=L(h,!0);c(a),V(t=>{u(l,e(te)),u(d,` with the smrt CLI ${e(ne).version??``} and
13
+ starts it. About ${t??``}.`),u(g,e(k))},[()=>He(e(ne).bytes)]),b(t,a)},$$slots:{default:!0}});var Ce=P(Se,2);ie(Ce,{padding:`sm`,role:`group`,"aria-labelledby":`file-heading`,"data-export-section":`file`,children:(t,a)=>{var o=Vn(),s=P(M(o),2),l=P(M(s)),f=L(l,!0),p=P(l);c(s);var h=P(s,2),g=M(h),v=L(g,!0);A(g,e=>W(x,e),()=>e(x)),Tn(P(g,2),{text:()=>e(ae),label:`Copy command`,variant:`secondary`,get write(){return r.write},oncopied:()=>W(j,`Command copied.`),onfail:se}),c(h);var y=P(h,2),S=L(y,!0),C=P(y,2),w=M(C);{let t=i(()=>r.exportAction?`secondary`:`primary`);Y(w,{get variant(){return e(t)},onclick:m,children:(e,t)=>{_();var n=d(`Download cookbook`);b(e,n)},$$slots:{default:!0}})}var T=P(w,2),E=t=>{{let n=i(()=>$.status===`sending`);Y(t,{variant:`secondary`,get disabled(){return e(n)},onclick:()=>$.send(Z.snapshot()),children:(e,t)=>{_();var n=d();V(()=>u(n,$.status===`sending`?`Sending to kitchen…`:`Send to kitchen`)),b(e,n)},$$slots:{default:!0}})}};n(T,e=>{$.config&&e(E)}),c(C);var D=P(C,2);re(D,{title:`Preview JSON`,children:(t,n)=>{var r=Bn(),i=L(r,!0);V(e=>u(i,e),[()=>Be(e(I))]),b(t,r)},$$slots:{default:!0}}),c(o),V(()=>{u(f,e(H)),u(p,` (${e(U)??``}). To make the app from
14
+ it yourself, run this where the file is:`),u(v,e(ae)),u(S,e(j))}),b(t,o)},$$slots:{default:!0}});var we=P(Ce,2),Te=e=>{K(e,{variant:`info`,title:`Send to kitchen needs its link`,children:(e,t)=>{_();var n=Hn();_(6),b(e,n)},$$slots:{default:!0}})};n(we,e=>{$.needsLink&&e(Te)});var Ee=P(we,2),De=e=>{K(e,{variant:`warning`,title:`Send to kitchen is off`,children:(e,t)=>{_();var n=Un();_(6),b(e,n)},$$slots:{default:!0}})};n(Ee,e=>{$.tokenInConfig&&e(De)});var Oe=P(Ee,2),ke=e=>{var t=Yn(),r=M(t),i=e=>{K(e,{variant:`success`,title:`Sent to the kitchen`,children:(e,t)=>{_();var r=Kn(),i=z(r),a=P(i),o=e=>{var t=Gn(),n=P(z(t));p(n,20,()=>$.outcome.result.nextSteps,e=>e,(e,t)=>{var n=Wn(),r=M(n),i=L(r,!0);c(n),V(()=>u(i,t)),b(e,n)}),c(n),b(e,t)};n(a,e=>{$.outcome.result.nextSteps.length&&e(o)}),V(()=>u(i,`${$.outcome.result.mode===`update`?`Updated`:`Created`} the project${$.outcome.result.dir?` in ${$.outcome.result.dir}`:``}. `)),b(e,r)},$$slots:{default:!0}})},a=e=>{K(e,{variant:`error`,title:`The kitchen could not use this cookbook`,children:(e,t)=>{var n=Jn();p(n,20,()=>$.outcome.errors,e=>e,(e,t)=>{var n=qn(),r=L(n,!0);V(()=>u(r,t)),b(e,n)}),c(n),b(e,n)},$$slots:{default:!0}})};n(r,e=>{$.outcome.ok?e(i):e(a,-1)}),c(t),b(e,t)};n(Oe,e=>{$.outcome&&e(ke)});var je=P(Oe,2),Me=M(je);re(Me,{title:`Import or reset project`,children:(t,i)=>{var a=Xn(),s=P(z(a),2),l=M(s);Y(l,{variant:`secondary`,onclick:()=>e(v)?.click(),children:(e,t)=>{_();var n=d(`Import cookbook…`);b(e,n)},$$slots:{default:!0}}),c(s);var f=P(s,4);jn(f,{resetOnly:!0,get controller(){return o()},get nativeAssistant(){return r.nativeAssistant},get onreset(){return r.onreset},get resetDisabledReason(){return r.resetDisabledReason}});var p=P(f,2);A(p,e=>W(v,e),()=>e(v));var m=P(p,2),h=t=>{K(t,{variant:`error`,title:`Import failed`,children:(t,n)=>{_();var r=d();V(()=>u(r,e(T))),b(t,r)},$$slots:{default:!0}})};n(m,t=>{e(T)&&t(h)});var g=P(m,2),y=L(g,!0);V(()=>u(y,e(D))),S(`change`,p,ce),b(t,a)},$$slots:{default:!0}}),c(je),c(de);var Ne=P(de,2);{let t=i(()=>e(C)!==null),n=i(()=>e(C)?`Importing replaces ${pn(e(I))} with ${pn(e(C))}.`:``);G(Ne,{get open(){return e(t)},title:`Replace the current cookbook?`,get message(){return e(n)},confirmLabel:`Replace`,destructive:!0,onconfirm:ue,oncancel:()=>W(C,null)})}b(t,J),a()}C([`change`]);var $n={"header.start":`header, left side`,"header.center":`header, middle`,"header.end":`header, right side`,"footer.start":`footer, left side`,"footer.center":`footer, middle`,"footer.end":`footer, right side`,"leftSidebar.header":`left sidebar, top`,"leftSidebar.footer":`left sidebar, bottom`,"rightSidebar.header":`right sidebar, top`,"rightSidebar.footer":`right sidebar, bottom`},er={llm:`Language model`,email:`Email`,oauth:`Sign-in (OAuth)`,storage:`File storage`,sms:`Text messages`,payments:`Payments`},tr={openai:`OpenAI`,anthropic:`Anthropic`,gemini:`Gemini`,webllm:`WebLLM`,bitgpu:`BitGPU`,smtp:`SMTP`,imap:`IMAP`,s3:`S3`,github:`GitHub`};function nr(e){return tr[e]??J(e)}function rr(e,t=`or`){let n=e.map(nr);return n.length<=1?n.join(``):n.length===2?`${n[0]} ${t} ${n[1]}`:`${n.slice(0,-1).join(`, `)} ${t} ${n[n.length-1]}`}function ir(e){switch(e.kind){case`shell-widget`:return{kind:e.kind,kindLabel:`Shell widget`,label:e.label,where:$n[e.slot]??J(e.slot)};case`route`:return{kind:e.kind,kindLabel:`Page`,label:e.label,where:e.path};case`settings-panel`:return{kind:e.kind,kindLabel:`Settings panel`,label:e.label};case`playground`:return{kind:e.kind,kindLabel:`Playground`,label:e.label??`Try it`};case`widget`:return{kind:e.kind,kindLabel:`Overview widget`,label:e.label}}}function ar(e){return{id:e.id,kind:e.kind,kindLabel:er[e.kind]??J(e.kind),required:e.required,options:e.options,browserOptions:e.browserOptions??[],secrets:e.secrets??[]}}function or(e){let t=e.nav.map(e=>({kind:`menu`,kindLabel:`List and form`,label:e.label})),n=(e.surfaces??[]).map(ir),r=[...t,...n];return r.length>0?r:[{kind:`data`,kindLabel:`Records only`,label:`${e.models.length} ${e.models.length===1?`model`:`models`}, no screens of their own`}]}function sr(e,t){return e.group?{id:`group:${e.group.id}`,label:e.group.label,...e.group.summary?{summary:e.group.summary}:{}}:{id:`package:${t}`,label:J(t)}}function cr(e,t){let n=new Map;for(let e of t)for(let t of e.recipes??[])n.set(t.id,e);let r=e=>n.get(e.id)??t.find(t=>t.models.some(t=>t.id===e.models[0]));return e.map(e=>{let t=r(e),n=t?.id??e.id.split(`.`)[0],i=Ct(e),a=St(i);return{recipe:e,id:e.id,label:e.label,summary:e.summary,group:sr(e,n),packageId:n,demo:a,ownMode:e.demo&&i&&e.demo.mode!==i.mode?e.demo.mode:void 0,packageNote:Pt(t?.browser),providers:(e.providers??[]).map(ar),gets:or(e),requires:e.requires,runtime:e.runtime,agentAccess:lr(e)}})}function lr(e){return e.exposure===`ui-only`?`People only; agents cannot read this.`:void 0}function ur(e){let t=new Map;for(let n of e){let e=t.get(n.group.id);e?!e.summary&&n.group.summary&&t.set(n.group.id,{...e,summary:n.group.summary}):t.set(n.group.id,n.group)}return[...t.values()].sort((e,t)=>e.label.localeCompare(t.label))}function dr(e,t,n){let r=t.toLowerCase().split(/\s+/).filter(Boolean);return e.filter(e=>{if(n&&e.group.id!==n)return!1;if(r.length===0)return!0;let t=[e.label,e.summary,e.id,e.group.label,e.packageId,...e.recipe.synonyms,...e.gets.flatMap(e=>[e.kindLabel,e.label,e.where??``]),...e.providers.flatMap(e=>[e.kindLabel,...e.options]),e.demo?.label??``].join(` `).toLowerCase();return r.every(e=>t.includes(e))})}function fr(e){return ur(e).map(t=>({group:t,cards:e.filter(e=>e.group.id===t.id)}))}function pr(e,t,n){let r=new Set(rt(t,n));return rt([...t,e],n).filter(t=>t!==e&&!r.has(t))}var mr=l(`<p class="meta agent-access svelte-1tvhds4"> </p>`),hr=l(`<span class="meta where svelte-1tvhds4"> </span>`),gr=l(`<li><span class="kind svelte-1tvhds4"> </span> <!></li>`),_r=l(`<span class="meta svelte-1tvhds4"> </span>`),vr=l(`<code class="svelte-1tvhds4"> </code> `,1),yr=l(`<p class="meta svelte-1tvhds4">Secrets (names only): <!></p>`),br=l(`<h4 class="svelte-1tvhds4">Needs</h4> <ul class="plain svelte-1tvhds4"></ul> <!>`,1),xr=l(`<p class="meta svelte-1tvhds4"> </p>`),Sr=l(`<li> </li>`),Cr=l(`<ul class="plain reasons svelte-1tvhds4"></ul>`),wr=l(`<!> <!> <!>`,1),Tr=l(`<li><div class="head svelte-1tvhds4"><h3 class="svelte-1tvhds4"> </h3> <!></div> <p class="summary svelte-1tvhds4"> </p> <p class="meta svelte-1tvhds4"><!></p> <!> <h4 class="svelte-1tvhds4">You get</h4> <ul class="plain svelte-1tvhds4"></ul> <!> <!> <!> <div class="foot svelte-1tvhds4"><!> <!></div></li>`);function Er(t,r){g(r,!0);let s=i(()=>r.card.demo),l=i(()=>(e(s)?.reasons.length??0)>0||r.card.ownMode!==void 0||r.card.packageNote!==void 0),f=i(()=>[...new Set(r.card.providers.flatMap(e=>e.secrets))]),m=i(()=>`feature-${r.card.id}`);var h=Tr();let v;var y=M(h),x=M(y),S=L(x,!0),C=P(x,2),w=t=>{ae(t,{get variant(){return e(s).variant},size:`sm`,get title(){return e(s).meaning},children:(t,n)=>{_();var r=d();V(()=>u(r,e(s).label)),b(t,r)},$$slots:{default:!0}})};n(C,t=>{e(s)&&t(w)}),c(y);var T=P(y,2),E=L(T,!0),D=P(T,2),O=M(D),k=t=>{var n=d();V(()=>u(n,e(s).meaning)),b(t,n)},A=e=>{var t=d(`Demo status not reported for this feature.`);b(e,t)};n(O,t=>{e(s)?t(k):t(A,-1)}),c(D);var j=P(D,2),N=e=>{var t=mr(),n=L(t,!0);V(()=>u(n,r.card.agentAccess)),b(e,t)};n(j,e=>{r.card.agentAccess&&e(N)});var F=P(j,4);p(F,21,()=>r.card.gets,e=>`${e.kind}:${e.label}`,(t,r)=>{var i=gr(),a=M(i),o=L(a,!0),s=P(a),l=P(s),d=t=>{var n=hr(),i=L(n);V(()=>u(i,`(${e(r).where??``})`)),b(t,n)};n(l,t=>{e(r).where&&t(d)}),c(i),V(()=>{u(o,e(r).kindLabel),u(s,` ${e(r).label??``}`)}),b(t,i)}),c(F);var I=P(F,2),R=t=>{var i=br(),a=P(z(i),2);p(a,21,()=>r.card.providers,e=>e.id,(t,r)=>{var i=gr(),a=M(i),o=L(a,!0),s=P(a),l=P(s),d=t=>{var n=_r(),i=L(n);V(t=>u(i,`${t??``}
15
+ ${e(r).browserOptions.length===1?`runs`:`run`} in the
16
+ browser with no key.`),[()=>rr(e(r).browserOptions,`and`)]),b(t,n)};n(l,t=>{e(r).browserOptions.length&&t(d)}),c(i),V(t=>{u(o,e(r).kindLabel),u(s,` ${e(r).required?`Required`:`Optional`}: ${t??``}. `)},[()=>rr(e(r).options)]),b(t,i)}),c(a);var o=P(a,2),s=t=>{var n=yr(),r=P(M(n));p(r,18,()=>e(f),e=>e,(t,n,r)=>{var i=vr(),a=z(i),o=L(a,!0),s=P(a,1,!0);V(()=>{u(o,n),u(s,e(r)<e(f).length-1?`, `:``)}),b(t,i)}),c(n),b(t,n)};n(o,t=>{e(f).length&&t(s)}),V(()=>U(a,`aria-label`,`${r.card.label}: providers`)),b(t,i)};n(I,e=>{r.card.providers.length&&e(R)});var B=P(I,2),ee=e=>{var t=xr(),n=L(t);V(e=>u(n,`Also adds ${e??``}.`),[()=>r.alsoAdds.join(`, `)]),b(e,t)};n(B,e=>{!r.on&&r.alsoAdds.length&&e(ee)});var H=P(B,2),W=t=>{{let a=i(()=>e(s)?`Why ${e(s).label}?`:`Details`);re(t,{get title(){return e(a)},children:(t,i)=>{var a=wr(),o=z(a),l=t=>{var n=Cr();p(n,20,()=>e(s).reasons,e=>e,(e,t)=>{var n=Sr(),r=L(n,!0);V(()=>u(r,t)),b(e,n)}),c(n),V(()=>U(n,`aria-label`,`${r.card.label}: reasons`)),b(t,n)};n(o,t=>{e(s)?.reasons.length&&t(l)});var d=P(o,2),f=t=>{var n=xr(),i=L(n);V(()=>u(i,`On its own it would be ${r.card.ownMode??``}; what it needs sets ${e(s).label??``}.`)),b(t,n)};n(d,t=>{r.card.ownMode&&e(s)&&t(f)});var m=P(d,2),h=e=>{var t=xr(),n=L(t,!0);V(()=>u(n,r.card.packageNote)),b(e,t)};n(m,e=>{r.card.packageNote&&e(h)}),b(t,a)},$$slots:{default:!0}})}};n(H,t=>{e(l)&&t(W)});var te=P(H,2),G=M(te);{let t=i(()=>r.lockedBy.length>0),n=i(()=>`${e(m)}-summary${r.lockedBy.length?` ${e(m)}-locked`:``}`);ke(G,{get label(){return r.card.label},get checked(){return r.on},get disabled(){return e(t)},get"aria-describedby"(){return e(n)},onchange:e=>r.onchange(e.currentTarget.checked)})}var K=P(G,2),ne=t=>{var n=xr(),i=L(n);V(t=>{U(n,`id`,`${e(m)}-locked`),u(i,`Stays on while ${t??``} needs it.`)},[()=>r.lockedBy.join(`, `)]),b(t,n)};n(K,e=>{r.lockedBy.length&&e(ne)}),c(te),c(h),V(()=>{v=o(h,1,`card svelte-1tvhds4`,null,v,{selected:r.on}),u(S,r.card.label),U(T,`id`,`${e(m)}-summary`),u(E,r.card.summary),U(F,`aria-label`,`${r.card.label}: what you get`)}),b(t,h),a()}var Dr=l(`<div class="chips svelte-7kphei" role="group" aria-label="Filter by package"><!> <!></div>`),Or=l(`<span class="tag svelte-7kphei">plumbing</span>`),kr=l(`<span class="includes svelte-7kphei"> </span>`),Ar=l(`<li><span class="icon svelte-7kphei" aria-hidden="true"><!></span> <div class="text svelte-7kphei"><span class="name svelte-7kphei"><a class="svelte-7kphei"> </a> <!></span> <span class="meta svelte-7kphei"> </span> <!></div> <!></li>`),jr=l(`<ul class="rows svelte-7kphei" aria-label="Features"></ul>`),Mr=l(`<p class="empty svelte-7kphei"> </p>`),Nr=l(`<div class="features svelte-7kphei"><p class="meta svelte-7kphei">Models no recipe covers. Add one to give it a list and a form of its own
17
+ under More in the menu.</p> <!> <!> <div class="bar svelte-7kphei"><h2 class="count svelte-7kphei"> </h2> <!></div> <!> <p class="notice svelte-7kphei" role="status" aria-live="polite"> </p></div>`);function Pr(t,r){g(r,!0);let s=tt(oe,it),l=O(``),f=O(null),h=O(!1),v=O(``),y=i(()=>nt(s,e(h))),x=i(()=>Ze($e(e(y),e(l)))),S=i(()=>e(f)&&e(x).includes(e(f))?e(f):null),C=i(()=>$e(e(y),e(l),e(S))),w=i(()=>e(h)?0:$e(s,e(l),e(S)).length-e(C).length);function T(e,t){t?Q.addFeature(e.id):Q.removeFeature(e.id),W(v,t?`Added ${e.label} to the menu.`:`Removed ${e.label} from the menu.`,!0)}var E=Nr(),D=P(M(E),2);De(D,{get value(){return e(l)},onsearch:e=>{W(l,e,!0)},label:`Search features`,placeholder:`Search models, packages and fields`,debounceMs:0});var k=P(D,2),A=t=>{var n=Dr(),r=M(n);{let t=i(()=>e(S)===null);Me(r,{get pressed(){return e(t)},onclick:()=>W(f,null),children:(e,t)=>{_();var n=d(`All`);b(e,n)},$$slots:{default:!0}})}var a=P(r,2);p(a,16,()=>e(x),e=>e,(t,n)=>{{let r=i(()=>e(S)===n);Me(t,{get pressed(){return e(r)},onclick:()=>W(f,e(S)===n?null:n,!0),children:(e,t)=>{_();var r=d();V(e=>u(r,e),[()=>J(n)]),b(e,r)},$$slots:{default:!0}})}}),c(n),b(t,n)};n(k,t=>{e(x).length>1&&t(A)});var j=P(k,2),N=M(j),F=L(N),I=P(N,2);ke(I,{get checked(){return e(h)},label:`Show all`,onchange:e=>{W(h,e.currentTarget.checked,!0)}}),c(j);var R=P(j,2),z=t=>{var r=jr();p(r,29,()=>e(C),e=>e.id,(t,r)=>{let a=i(()=>Q.hasFeature(e(r).id));var s=Ar();let l;var d=M(s),f=M(d);ot(f,{path:`M12 3C7.58 3 4 4.79 4 7v10c0 2.21 3.59 4 8 4s8-1.79 8-4V7c0-2.21-3.58-4-8-4zm6 14c0 .5-2.13 2-6 2s-6-1.5-6-2v-2.23c1.61.78 3.72 1.23 6 1.23s4.39-.45 6-1.23V17zm0-4.55c-1.3.95-3.58 1.55-6 1.55s-4.7-.6-6-1.55V9.64c1.47.83 3.61 1.36 6 1.36s4.53-.53 6-1.36v2.81zM12 9C8.13 9 6 7.5 6 7s2.13-2 6-2 6 1.5 6 2-2.13 2-6 2z`,size:22}),c(d);var p=P(d,2),h=M(p),g=M(h),_=L(g,!0),v=P(g,2),y=e=>{var t=Or();b(e,t)};n(v,t=>{e(r).plumbing&&t(y)}),c(h);var x=P(h,2),S=L(x,!0),C=P(x,2),w=t=>{var n=kr(),i=L(n);V(e=>u(i,`+ ${e??``}`),[()=>e(r).includes.join(`, `)]),b(t,n)};n(C,t=>{e(r).includes.length&&t(w)}),c(p);var E=P(p,2);{let t=i(()=>`${e(a)?`Remove`:`Add`} ${e(r).label} feature`);ke(E,{get checked(){return e(a)},get"aria-label"(){return e(t)},onchange:t=>T(e(r),t.currentTarget.checked)})}c(s),V((t,n)=>{l=o(s,1,`svelte-7kphei`,null,l,{selected:e(a)}),U(g,`href`,t),u(_,e(r).label),u(S,n)},[()=>fe(`/packages/${e(r).packageId}/`),()=>Qe(e(r))]),m(s,()=>be,()=>({duration:Bt(`medium2`,300)})),b(t,s)}),c(r),b(t,r)},B=t=>{var n=Mr(),r=L(n);V(()=>u(r,`No features match "${e(l)??``}".`)),b(t,n)};n(R,t=>{e(C).length?t(z):t(B,-1)});var ee=P(R,2),H=L(ee,!0);c(E),V(()=>{u(F,`${e(C).length??``} ${e(C).length===1?`feature`:`features`}${e(w)?` (${e(w)} hidden)`:``}`),u(H,e(v))}),b(t,E),a()}var Fr=l(`<div class="chips svelte-q9yl1j" role="group" aria-label="Browse by group"><!> <!></div>`),Ir=l(`<p class="meta svelte-q9yl1j"> </p>`),Lr=l(`<section class="svelte-q9yl1j"><h2 class="svelte-q9yl1j"> </h2> <!> <ul class="cards svelte-q9yl1j"></ul></section>`),Rr=l(`<div class="features svelte-q9yl1j"><p class="meta svelte-q9yl1j">Everything s-m-r-t can add to your app. Switch a feature on to add it, with
18
+ what it needs, to your cookbook. Each label says how far it runs in this
19
+ browser-only demo; menu entries appear in the sidebar, while widgets, pages
20
+ and panels are listed for the real app and are not mounted here.</p> <!> <!> <p class="count svelte-q9yl1j" aria-live="polite"> </p> <!> <p class="notice meta svelte-q9yl1j" role="status" aria-live="polite"> </p> <!></div>`);function zr(t,r){g(r,!0);let o=cr(it,oe.packages),s=ur(o),l=O(``),f=O(null),m=O(``),h=i(()=>dr(o,e(l),e(f))),v=i(()=>fr(e(h))),y=e=>ct.get(e)?.label??e;function x(e,t){let n=new Set(Q.ids);t?Q.add(e):Q.remove(e);let r=new Set(Q.ids),i=Q.ids.filter(e=>!n.has(e)),a=[...n].filter(e=>!r.has(e)),o=[];i.length&&o.push(`Added ${i.map(y).join(`, `)}.`),a.length&&o.push(`Removed ${a.map(y).join(`, `)}.`),W(m,o.join(` `),!0)}var S=Rr(),C=P(M(S),2);De(C,{get value(){return e(l)},onsearch:e=>{W(l,e,!0)},label:`Search features`,placeholder:`Search features`,debounceMs:0});var w=P(C,2),T=t=>{var n=Fr(),r=M(n);{let t=i(()=>e(f)===null);Me(r,{get pressed(){return e(t)},onclick:()=>W(f,null),children:(e,t)=>{_();var n=d(`All`);b(e,n)},$$slots:{default:!0}})}var a=P(r,2);p(a,17,()=>s,e=>e.id,(t,n)=>{{let r=i(()=>e(f)===e(n).id);Me(t,{get pressed(){return e(r)},onclick:()=>W(f,e(f)===e(n).id?null:e(n).id,!0),children:(t,r)=>{_();var i=d();V(()=>u(i,e(n).label)),b(t,i)},$$slots:{default:!0}})}}),c(n),b(t,n)};n(w,e=>{s.length>1&&e(T)});var E=P(w,2),D=L(E),k=P(E,2);p(k,17,()=>e(v),e=>e.group.id,(t,r)=>{var a=Lr(),o=M(a),s=L(o,!0),l=P(o,2),d=t=>{var n=Ir(),i=L(n,!0);V(()=>u(i,e(r).group.summary)),b(t,n)};n(l,t=>{e(r).group.summary&&t(d)});var f=P(l,2);p(f,21,()=>e(r).cards,e=>e.id,(t,n)=>{{let r=i(()=>Q.has(e(n).id)),a=i(()=>at([e(n).id],Q.ids,ct).map(y)),o=i(()=>pr(e(n).id,Q.ids,ct).map(y));Er(t,{get card(){return e(n)},get on(){return e(r)},get lockedBy(){return e(a)},get alsoAdds(){return e(o)},onchange:t=>x(e(n).id,t)})}}),c(f),c(a),V(()=>{U(a,`aria-labelledby`,`group-${e(r).group.id}`),U(o,`id`,`group-${e(r).group.id}`),u(s,e(r).group.label),U(f,`aria-label`,`${e(r).group.label} features`)}),b(t,a)},t=>{var n=Ir(),r=L(n);V(()=>u(r,`No features match "${e(l)??``}".`)),b(t,n)});var A=P(k,2),j=L(A,!0),N=P(A,2);re(N,{title:`Single records`,children:(e,t)=>{Pr(e,{})},$$slots:{default:!0}}),c(S),V(()=>{u(D,`${e(h).length??``} ${e(h).length===1?`feature`:`features`}`),u(j,e(m))}),b(t,S),a()}function Br(e){let t=new Map;for(let n of e){let e=n.group?.id??n.id,r=t.get(e);r?(r.recipes.push(n),r.hasSubSwitches=!0):t.set(e,{id:e,label:n.group?.label??n.label,summary:n.group?.summary??n.summary,recipes:[n],hasSubSwitches:!1})}return[...t.values()].sort((e,t)=>e.label.localeCompare(t.label))}function Vr(e,t){return e.recipes.some(e=>t.includes(e.id))}function Hr(e,t,n){if(n){let n=e.recipes[0];return{add:n&&!Vr(e,t)?[n.id]:[],remove:[]}}return{add:[],remove:e.recipes.map(e=>e.id)}}function Ur(e,t){return t?{add:[e],remove:[]}:{add:[],remove:[e]}}function Wr(e,t,n){let r=e.recipes.filter(e=>t.includes(e.id)),i={};if(e.hasSubSwitches)for(let e of r){let r=at([e.id],t,n);r.length&&(i[e.id]=r)}return{main:r.length?at(e.recipes.map(e=>e.id),t,n):[],subs:i}}function Gr(e,t){let n=t.join(`, `);return e.hasSubSwitches?`${e.label} stays on while ${n} needs at least one ${e.label} recipe.`:`${e.label} stays on while ${n} needs it.`}function Kr(e,t,n){return`${t} is the last ${e.label} recipe on, and ${n.join(`, `)} needs one.`}var qr=l(`<p class="meta svelte-1d5gge1"> </p>`),Jr=l(`<div class="sub svelte-1d5gge1"><!> <p class="meta svelte-1d5gge1"> </p> <!></div>`),Yr=l(`<li><h2 class="svelte-1d5gge1"> </h2> <p class="description svelte-1d5gge1"> </p> <!> <!> <!> <!></li>`),Xr=l(`<ul class="cards svelte-1d5gge1" aria-label="Recipes"></ul> <p class="notice svelte-1d5gge1" role="status" aria-live="polite"> </p>`,1);function Zr(t,r){g(r,!0);let s=Br(it),l=O(``),d=e=>ct.get(e)?.label??e,f=e=>e.map(d).join(`, `);function m(e){let t=new Set(Q.ids);e.add.length&&Q.add(...e.add),e.remove.length&&Q.remove(...e.remove);let n=new Set(Q.ids),r=Q.ids.filter(e=>!t.has(e)),i=[...t].filter(e=>!n.has(e)),a=[];r.length&&a.push(`Added ${f(r)} to the menu.`),i.length&&a.push(`Removed ${f(i)} from the menu.`),W(l,a.join(` `),!0)}function h(e){let t=e.recipes[0];return!t||e.hasSubSwitches?``:[...t.requires.map(d),...(t.requiresAny??[]).map(e=>`one of ${f(e)}`)].join(`, `)}let _=e=>Vr(e,Q.ids);var v=Xr(),y=z(v);p(y,21,()=>s,e=>e.id,(t,r)=>{let a=i(()=>_(e(r))),s=i(()=>Wr(e(r),Q.ids,ct)),l=i(()=>e(s).main);var f=Yr();let g;var v=M(f),y=L(v,!0),S=P(v,2),C=L(S,!0),w=P(S,2);{let t=i(()=>e(l).length>0),n=i(()=>`card-${e(r).id}-summary${e(l).length?` card-${e(r).id}-needed`:``}`);ke(w,{get label(){return e(r).label},get checked(){return e(a)},get disabled(){return e(t)},get"aria-describedby"(){return e(n)},onchange:t=>m(Hr(e(r),Q.ids,t.currentTarget.checked))})}var T=P(w,2),E=t=>{var n=qr(),i=L(n,!0);V(t=>{U(n,`id`,`card-${e(r).id}-needed`),u(i,t)},[()=>Gr(e(r),e(l).map(d))]),b(t,n)};n(T,t=>{e(l).length&&t(E)});var D=P(T,2),O=t=>{{let a=i(()=>`${e(r).label} recipes`);je(t,{get legend(){return e(a)},stack:!0,class:`subs`,children:(t,a)=>{var o=x(),l=z(o);p(l,17,()=>e(r).recipes,e=>e.id,(t,a)=>{let o=i(()=>Q.has(e(a).id)),l=i(()=>e(s).subs[e(a).id]??[]);var f=Jr(),p=M(f);{let t=i(()=>e(l).length>0),n=i(()=>`sub-${e(a).id}-summary${e(l).length?` sub-${e(a).id}-needed`:``}`);ke(p,{get label(){return e(a).label},size:`sm`,get checked(){return e(o)},get disabled(){return e(t)},get"aria-describedby"(){return e(n)},onchange:t=>m(Ur(e(a).id,t.currentTarget.checked))})}var h=P(p,2),g=L(h,!0),_=P(h,2),v=t=>{var n=qr(),i=L(n,!0);V(t=>{U(n,`id`,`sub-${e(a).id}-needed`),u(i,t)},[()=>Kr(e(r),e(a).label,e(l).map(d))]),b(t,n)};n(_,t=>{e(l).length&&t(v)}),c(f),V(()=>{U(h,`id`,`sub-${e(a).id}-summary`),u(g,e(a).summary)}),b(t,f)}),b(t,o)},$$slots:{default:!0}})}};n(D,t=>{e(r).hasSubSwitches&&t(O)});var k=P(D,2),A=t=>{var n=qr(),i=L(n);V(e=>u(i,`Needs ${e??``}.`),[()=>h(e(r))]),b(t,n)},j=i(()=>!e(a)&&h(e(r)));n(k,t=>{e(j)&&t(A)}),c(f),V(()=>{g=o(f,1,`svelte-1d5gge1`,null,g,{selected:e(a)}),U(v,`id`,`card-${e(r).id}`),u(y,e(r).label),U(S,`id`,`card-${e(r).id}-summary`),u(C,e(r).summary)}),b(t,f)}),c(y);var S=P(y,2),C=L(S,!0);V(()=>u(C,e(l))),b(t,v),a()}var Qr=l(`<div class="pane svelte-d580bl"><!> <p class="meta svelte-d580bl">Defaults for this app. They apply to new records only; existing records
21
+ keep their values.</p> <!></div>`);function $r(t,n){g(n,!0);let r=E(n,`projectPersistence`,3,Mt),i=O(N(Z.settings())),o,s=Z.replacementGeneration;function l(e){W(i,e,!0),clearTimeout(o),o=setTimeout(u,300)}function u(){s===Z.replacementGeneration?o!==void 0&&(clearTimeout(o),o=void 0,Z.setSettings(e(i))):(clearTimeout(o),o=void 0,s=Z.replacementGeneration,W(i,Z.settings(),!0))}k(()=>{let e=Z.replacementGeneration,t=Z.settings();s===e?o===void 0&&W(i,t,!0):(clearTimeout(o),o=void 0,s=e,W(i,t,!0))});var d=Qr();w(`pagehide`,j,u);var f=M(d);jn(f,{get projectPersistence(){return r()},get controller(){return n.controller},get nativeAssistant(){return n.nativeAssistant},get onreset(){return n.onreset},get resetDisabledReason(){return n.resetDisabledReason}}),Kt(P(f,4),{get value(){return e(i)},onchange:l,idPrefix:`app-settings-tab`}),c(d),b(t,d),a()}var ei=l(`<section class="specs svelte-164gdbq" aria-labelledby="planner-specs-heading"><h2 id="planner-specs-heading" class="svelte-164gdbq">Specs</h2> <p id="planner-specs-help" class="help svelte-164gdbq">What your app must also do beyond its features: unique rules, workflows,
22
+ integrations. They go into your build prompt and exported cookbook.</p> <textarea id="planner-specs-input" aria-labelledby="planner-specs-heading" rows="14" aria-describedby="planner-specs-help planner-specs-count" class="svelte-164gdbq"></textarea> <p id="planner-specs-count" class="count svelte-164gdbq"> </p></section>`);function ti(t,n){g(n,!0);let r=2e4,o=O(N(Z.specs??``));k(()=>{let t=Z.specs??``;t!==e(o).trimEnd()&&W(o,t,!0)});let s=i(()=>Array.from(e(o)).length);var l=ei(),d=P(M(l),4);te(d),U(d,`maxlength`,r),U(d,`placeholder`,`Examples:
23
+ - Customers can only book a class if their waiver is signed.
24
+ - Send a Slack message when an order over $500 is paid.
25
+ - Staff see their own schedule; managers see everyone's.`);var f=P(d,2),p=L(f);c(l),V((t,n)=>{D(d,e(o)),u(p,`${t??``} / ${n??``}`)},[()=>e(s).toLocaleString(`en-US`),()=>r.toLocaleString(`en-US`)]),S(`input`,d,t=>{W(o,t.currentTarget.value,!0),Z.setSpecs(e(o))}),b(t,l),a()}C([`input`]);var ni=l(`<button type="button"><span class="choice-name svelte-18m8le4"><span class="choice-icon svelte-18m8le4" aria-hidden="true"> </span> </span> <span class="preview svelte-18m8le4" aria-hidden="true"><span class="preview-sidebar svelte-18m8le4"><span class="svelte-18m8le4"></span><span class="svelte-18m8le4"></span><span class="svelte-18m8le4"></span></span> <span class="preview-main svelte-18m8le4"><span class="preview-title svelte-18m8le4"></span><span class="preview-body svelte-18m8le4"><span class="svelte-18m8le4"></span><span class="svelte-18m8le4"></span></span></span></span></button>`),ri=l(`<button type="button"><span class="choice-name svelte-18m8le4"><span class="choice-icon svelte-18m8le4" aria-hidden="true"> </span> </span> <span class="choice-hint svelte-18m8le4"> </span></button>`),ii=l(`<div class="cards svelte-18m8le4" role="group" aria-label="Theme look"></div> <div class="cards schemes svelte-18m8le4" role="group" aria-label="Appearance"></div>`,1),ai=l(`<option> </option>`),oi=l(`<p class="error svelte-18m8le4" role="alert">Use a hex colour like #c2410c.</p>`),si=l(`<section class="theme svelte-18m8le4" aria-label="Theme settings"><!> <div class="shape svelte-18m8le4" role="group" aria-label="Shape and contrast"><div class="field svelte-18m8le4"><!> <select id="theme-radius" class="svelte-18m8le4"></select></div> <div class="field svelte-18m8le4"><!> <select id="theme-density" class="svelte-18m8le4"></select></div> <div class="field svelte-18m8le4"><!> <select id="theme-contrast" class="svelte-18m8le4"></select></div></div> <div class="brand svelte-18m8le4"><div class="field svelte-18m8le4"><!> <div class="pick svelte-18m8le4"><span class="wheel svelte-18m8le4"><input id="theme-brand-colour" type="color" aria-label="Choose brand colour" class="svelte-18m8le4"/></span> <!></div></div> <div class="field font-field svelte-18m8le4"><!> <select id="theme-brand-font" class="svelte-18m8le4"><option>Theme default</option><!></select></div> <!></div> <!> <a class="advanced svelte-18m8le4"><span class="advanced-icon svelte-18m8le4" aria-hidden="true"></span> <span><strong class="svelte-18m8le4">Advanced Styles</strong><small class="svelte-18m8le4"> </small></span> <span class="arrow svelte-18m8le4" aria-hidden="true">→</span></a></section>`);function ci(t,s){g(s,!0);let l=E(s,`provider`,3,!0),f=E(s,`advancedStylesHref`,3,`#/advanced-styles/`),m=Ce(),h=i(()=>Z.theme?.custom),x=O(``),C=O(!1);k(()=>{W(x,e(h)?.primary??``,!0),W(C,!1)});let w={material:`◆`,glass:`◇`,studio:`▣`,smrt:`✦`,happyvertical:`⬡`},A=[{id:`light`,label:`Light`,icon:`☀`,hint:`Bright all the time`},{id:`dark`,label:`Dark`,icon:`☾`,hint:`Dim all the time`},{id:`system`,label:`Auto`,icon:`◐`,hint:`Follow this device`}],j=[{id:`none`,label:`None`},{id:`sm`,label:`Small`},{id:`md`,label:`Medium`},{id:`lg`,label:`Large`},{id:`xl`,label:`Extra large`},{id:`full`,label:`Full`}],N=[{id:`comfortable`,label:`Comfortable`},{id:`touch`,label:`Touch`}],F=[{id:`auto`,label:`Auto`},{id:`standard`,label:`Standard`},{id:`more`,label:`More`}],I={borderRadius:`md`,density:`comfortable`,contrast:`auto`};function R(e,t){Z.setTheme({...Z.theme,[e]:t===I[e]?void 0:t})}function B(t){let n=Ke(t);W(C,!n),n&&Z.setTheme({...Z.theme,fontFamily:Z.theme?.fontFamily??e(h)?.fontFamily,custom:{primary:n}})}function ee(t){let n=e(h)?{primary:e(h).primary}:void 0;Z.setTheme({...Z.theme,fontFamily:t||void 0,custom:n})}function H(){Z.setTheme({...Z.theme,fontFamily:Z.theme?.fontFamily??e(h)?.fontFamily,custom:void 0})}let te=i(()=>{let e=Z.theme?.customCss;return!!e&&!Ft(e??``)});var G=si(),K=M(G),ne=t=>{var n=ii(),r=z(n);p(r,21,()=>we,e=>e.id,(t,n)=>{let r=i(()=>m.state.resolvedScheme===`dark`?e(n).dark:e(n).light);var a=ni();let s,l;var d=M(a),f=M(d),p=L(f,!0),g=P(f,1,!0);c(d),_(2),c(a),V(()=>{s=o(a,1,`choice preset svelte-18m8le4`,null,s,{selected:!e(h)&&(Z.theme?.preset??`glass`)===e(n).id}),U(a,`aria-pressed`,!e(h)&&(Z.theme?.preset??`glass`)===e(n).id),l=y(a,``,l,{"--smrt-planner-preview-bg":e(r).background,"--smrt-planner-preview-surface":e(r).surface,"--smrt-planner-preview-primary":e(r).primary,"--smrt-planner-preview-ink":e(r).onSurface}),u(p,w[e(n).id]),u(g,e(n).label)}),S(`click`,a,()=>m?.setPreset(e(n).id)),b(t,a)}),c(r);var a=P(r,2);p(a,21,()=>A,e=>e.id,(t,n)=>{var r=ri();let i;var a=M(r),s=M(a),l=L(s,!0),d=P(s,1,!0);c(a);var f=P(a,2),p=L(f,!0);c(r),V(()=>{i=o(r,1,`choice scheme svelte-18m8le4`,null,i,{selected:m.state.colorScheme===e(n).id}),U(r,`aria-pressed`,m.state.colorScheme===e(n).id),u(l,e(n).icon),u(d,e(n).label),u(p,e(n).hint)}),S(`click`,r,()=>m?.setColorScheme(e(n).id)),b(t,r)}),c(a),b(t,n)};n(K,e=>{l()&&m&&e(ne)});var re=P(K,2),ie=M(re),ae=M(ie);Ne(ae,{for:`theme-radius`,label:`Corner radius`});var q=P(ae,2);p(q,21,()=>j,e=>e.id,(t,n)=>{var r=ai(),i=L(r,!0),a={};V(()=>{u(i,e(n).label),a!==(a=e(n).id)&&(r.value=(r.__value=a)??``)}),b(t,r)}),c(q);var oe;v(q),c(ie);var se=P(ie,2),ce=M(se);Ne(ce,{for:`theme-density`,label:`Density`});var le=P(ce,2);p(le,21,()=>N,e=>e.id,(t,n)=>{var r=ai(),i=L(r,!0),a={};V(()=>{u(i,e(n).label),a!==(a=e(n).id)&&(r.value=(r.__value=a)??``)}),b(t,r)}),c(le);var ue;v(le),c(se);var J=P(se,2),de=M(J);Ne(de,{for:`theme-contrast`,label:`Contrast`});var fe=P(de,2);p(fe,21,()=>F,e=>e.id,(t,n)=>{var r=ai(),i=L(r,!0),a={};V(()=>{u(i,e(n).label),a!==(a=e(n).id)&&(r.value=(r.__value=a)??``)}),b(t,r)}),c(fe);var pe;v(fe),c(J),c(re);var me=P(re,2),he=M(me),ge=M(he);Ne(ge,{for:`theme-brand-colour`,label:`Brand colour`});var _e=P(ge,2),ye=M(_e);let be;var xe=M(ye);T(xe),c(ye);var Se=P(ye,2);ve(Se,{type:`text`,"aria-label":`Brand colour hex`,placeholder:`#c2410c`,autocomplete:`off`,spellcheck:`false`,get value(){return e(x)},get"aria-invalid"(){return e(C)},oninput:t=>{W(x,t.currentTarget.value,!0),e(x).trim()&&B(e(x))}}),c(_e),c(he);var Te=P(he,2),Ee=M(Te);Ne(Ee,{for:`theme-brand-font`,label:`Font`});var De=P(Ee,2),Oe=M(De);Oe.value=Oe.__value=``;var ke=P(Oe);p(ke,16,()=>Object.keys(Je),e=>e,(e,t)=>{var n=ai(),r=L(n,!0),i={};V(()=>{u(r,t),i!==(i=t)&&(n.value=(n.__value=i)??``)}),b(e,n)}),c(De);var Ae;v(De),c(Te);var je=P(Te,2),Me=e=>{Y(e,{variant:`secondary`,onclick:H,children:(e,t)=>{_();var n=d(`Reset brand colour`);b(e,n)},$$slots:{default:!0}})};n(je,t=>{e(h)&&t(Me)}),c(me);var Pe=P(me,2),Fe=e=>{var t=oi();b(e,t)};n(Pe,t=>{e(C)&&t(Fe)});var Ie=P(Pe,2),Le=M(Ie);Le.textContent=`{}`;var Re=P(Le,2),ze=P(M(Re)),X=L(ze,!0);c(Re),_(2),c(Ie),c(G),V(()=>{oe!==(oe=Z.theme?.borderRadius??I.borderRadius)&&(q.value=(q.__value=oe)??``,r(q,oe)),ue!==(ue=Z.theme?.density??I.density)&&(le.value=(le.__value=ue)??``,r(le,ue)),pe!==(pe=Z.theme?.contrast??I.contrast)&&(fe.value=(fe.__value=pe)??``,r(fe,pe)),be=y(ye,``,be,{"--smrt-planner-picked-color":e(h)?.primary??`#e68a00`}),D(xe,e(h)?.primary??`#e68a00`),Ae!==(Ae=Z.theme?.fontFamily??e(h)?.fontFamily??``)&&(De.value=(De.__value=Ae)??``,r(De,Ae)),U(Ie,`href`,f()),u(X,e(te)?`This cookbook has custom CSS waiting for your approval`:`Edit custom CSS for your app`)}),S(`change`,q,e=>R(`borderRadius`,e.currentTarget.value)),S(`change`,le,e=>R(`density`,e.currentTarget.value)),S(`change`,fe,e=>R(`contrast`,e.currentTarget.value)),S(`input`,xe,e=>B(e.currentTarget.value)),S(`change`,De,e=>ee(e.currentTarget.value)),b(t,G),a()}C([`click`,`change`,`input`]);var li=[`specs`,`features`,`styles`,`build`],ui={specs:[`specs`],features:[`cookbooks`,`recipes`,`features`],styles:[`theme`,`settings`],build:[`export`]};function di(e){for(let t of li)if(ui[t].includes(e))return t;return`features`}var fi=Symbol.for(`@happyvertical/smrt-ui/analytics`),pi=()=>{};function mi(){let e=s(fi)??pi;return(t,n)=>{try{Promise.resolve(e(t,n)).catch(()=>{})}catch{}}}function hi(e){return{get ids(){return e.snapshot().recipes.map(e=>e.id)},add:(...t)=>void e.run({name:`add_recipes`,input:{ids:t}}),remove:(...t)=>void e.run({name:`remove_recipes`,input:{ids:t}})}}function gi(e){return{read:()=>{let{currency:t,taxRate:n,paymentTerms:r,pricesIncludeTax:i,taxRounding:a}=e.snapshot().settings;return{currency:t,taxRate:Number((n/100).toFixed(6)),paymentTerms:r,pricesIncludeTax:i,taxRounding:a}},write:t=>{e.run({name:`set_settings`,input:{currency:t.currency,taxRate:Number((t.taxRate*100).toFixed(4)),...t.paymentTerms?{paymentTerms:t.paymentTerms}:{},pricesIncludeTax:t.pricesIncludeTax,taxRounding:t.taxRounding}})}}}function _i(e){return{read:()=>{let t=e.snapshot().theme,{preset:n,primary:r,colorScheme:i}=t,a={};return n&&(a.preset=n),r&&(a.custom={primary:r}),i!==`system`&&(a.colorScheme=i),t.borderRadius&&(a.borderRadius=t.borderRadius),t.density&&(a.density=t.density),t.contrast&&(a.contrast=t.contrast),Object.keys(a).length?a:void 0},write:t=>{t?(e.run({name:`reset_theme`,input:{}}),e.run({name:`set_theme`,input:{...t.preset?{preset:t.preset}:{},...t.custom?{primary:t.custom.primary}:{},...t.colorScheme?{colorScheme:t.colorScheme}:{},...t.borderRadius?{borderRadius:t.borderRadius}:{},...t.density?{density:t.density}:{},...t.contrast?{contrast:t.contrast}:{}}})):e.run({name:`reset_theme`,input:{}})}}}function vi(e,t){let n=_i(e),r=`browser`,i,a=()=>null;if(`chat`in t){let e=t.chat;a=()=>typeof e==`function`?e():e}else{let n=Ve(t);if(i=n.notice,r=n.config.mode,n.config.mode===`host`&&n.config.host){let t=Fe({endpoint:n.config.host.endpoint,snapshot:()=>e.snapshot()});a=()=>t}else if(n.config.mode===`byo`){let e=n.config.byo?.presets;a=()=>Re(qe(),e,void 0,n.config.credentialPersistence)}}let o=new We(n,e);return{transport:Ge({model:a,acceptCommands:r===`host`,unavailable:r===`byo`?`Connect your model on the AI page first, then I can help.`:`No model is connected yet, so I cannot help. The planner works without one.`,store:hi(e),recipes:it,cookbooks:[],settings:gi(e),theme:n,themeUndos:o,controller:e,onReply:t.onReply,menu:()=>e===pt&&ft.openSection?e.snapshot().sections.filter(e=>!e.hidden).map(({id:e,label:t})=>({id:e,label:t})):[]}),themeUndos:o,mode:r,...i?{notice:i}:{}}}var yi={build:{targetId:`item:planner-host-action`,label:`Build it`,description:`Build it prepares your current plan and conversation for the next build step.`},export:{targetId:`item:planner-export`,label:`Export`,description:`Export opens the cookbook download and prompt options for your current plan.`},chef:{targetId:`item:planner-customize`,label:`Plan the app`,description:`The chef hat opens Cookbooks, Recipes, Theme and Settings to plan your app.`},specs:{targetId:`item:planner-specs`,label:`Specs`,description:`Specs holds anything your app must also do beyond its features.`},styles:{targetId:`item:planner-styles`,label:`Styles`,description:`Styles changes how your app looks: theme and settings.`},edit:{targetId:`item:layout-edit`,label:`Edit`,description:`Edit lets you rearrange the menu and page layout in the planner.`}};function bi(e,t){if(!t.ok||!t.receipt.changed||t.replayed)return;let n=new Set(e.sections.flatMap(e=>e.items.map(e=>e.id)));for(let e of t.snapshot.sections){if(e.hidden)continue;let t=e.items.find(e=>!e.hidden&&!n.has(e.id));if(t)return{section:e,item:t}}}var xi={default:6e3,min:1e3,max:3e4};function Si(e){return typeof e==`number`&&Number.isFinite(e)?Math.min(xi.max,Math.max(xi.min,e)):xi.default}function Ci(e){let t,n,r,i=0,a=!1,o=()=>{r&&clearTimeout(r),r=void 0,n?.(),n=void 0,t&&(delete t.dataset.smrtHighlighted,t.removeEventListener(`click`,s)),t=void 0,typeof document<`u`&&document.removeEventListener(`keydown`,c)},s=()=>{i++,o()},c=e=>{e.key===`Escape`&&s()};return{dismiss:s,async highlight(l){let u=Si(l.holdMs);if(l.kind===`arrival`&&a)return{ok:!1,reason:`Arrival guidance was already shown.`};let d=++i,f=l.kind===`addition`?bi(l.before,l.result):void 0;if(l.kind===`addition`&&!f)return{ok:!1,reason:`No new visible menu item was added.`};if(f&&e.revealMenu?.(),await ee(),!e.isMounted()||d!==i)return{ok:!1,reason:`Guidance is no longer active.`};let p=yi[l.kind===`control`?l.control:`edit`],m=f?.section.id??p.targetId,h=e.targets?.get(m)??(f?e.targets?.get(f.item.id):void 0);return h?(o(),t=h,n=_e(h,u,{presentation:`spotlight`,dismissLabel:`Dismiss guidance`,onDismiss:s}),d===i?(l.kind===`arrival`&&(a=!0),h.addEventListener(`click`,s,{once:!0}),document.addEventListener(`keydown`,c),r=setTimeout(o,u),{ok:!0,targetId:h.dataset.smrtTarget??m,label:f?.section.label??p.label,description:f?`Find ${f.item.label} under ${f.section.label} in the planner’s main menu.`:p.description}):{ok:!1,reason:`The actual guide target is not visible.`}):{ok:!1,reason:`The actual guide target is not available.`}}}}function wi(e,t){g(t,!0);let n=E(t,`controller`,3,pt),r=E(t,`persistence`,3,`self`),i=E(t,`cookbookOffers`,3,!0),o=E(t,`nativeAssistant`,3,!1),s=E(t,`links`,3,`path`),c=mi(),l=pe(),u=ge(),d=vt()??bt(Dt());I(()=>{(t.basePath!==void 0||s()!==`path`)&&ce(t.basePath??``,s())}),B(()=>{let e=!0;queueMicrotask(()=>{e&&c(`planner_opened`)});let a=mt.onApplied(()=>c(`planner_cookbook_applied`)),s=o()?Ci({targets:u,isMounted:()=>e,revealMenu:()=>l?.expandPanel(`left`)}):void 0,f=ft.onReplaced;ft.onReplaced=()=>d.reset?.(),r()===`self`&&!Z.loaded&&(mt.load(),Z.hydrate(``,q()));let p=t.inference?vi(n(),t.inference):void 0;t.inference&&(`chat`in t.inference?X.useChat(t.inference.chat,`Host model`):X.configure(Ve(t.inference)),X.hydrate(Q.ids.length>0||Q.features.length>0));let m=o()?X.session.transport:void 0,h=t.inference?m:void 0,g=m?.resetRevision,_=m?.subscribeConversation(()=>{m.resetRevision!==g&&(g=m.resetRevision,s?.dismiss())}),v=X.session.cookbookOffers,y=X.session.hostTurn;return h&&(X.session.cookbookOffers=i(),X.session.hostTurn=t.conversationalAction,t.initialConversation&&h.seed(t.initialConversation)),t.onready?.({controller:n(),...s?{guide:s}:{},workspaceStorage:q(),reset:(e={})=>kt({controller:n(),dataSource:d,nativeAssistant:m,...e.silent?{}:{onreset:t.onreset}}),...p?{assistant:p}:{},...h?{nativeAssistant:h,openAssistant:async()=>(await ee(),e&&X.assistantReady&&(l?.openDockTool(`assistant`)??!1))}:{}}),()=>{e=!1,a(),s?.dismiss(),_?.(),ft.onReplaced=f,h&&(X.session.cookbookOffers=v,X.session.hostTurn=y)}}),k(()=>{r()===`self`&&(JSON.stringify(Z.snapshot()),Z.scheduleSave())}),w(`pagehide`,j,()=>r()===`self`&&Z.flush()),a()}var Ti=l(`<div><!></div>`),Ei=l(`<div class="pane svelte-zuxcuo"><p class="meta svelte-zuxcuo">Reorder, move or hide navigation entries and choose which panels show.
26
+ The layout is saved with the cookbook.</p> <!></div>`),Di=l(`<!> <!> <!> <!> <!> <!> <!> <!>`,1),Oi=l(`<div class="planner svelte-zuxcuo"><!></div>`),ki=l(`<!> <!>`,1);function Ai(t,r){g(r,!0);let o=t=>{var a=Oi(),o=M(a);Xe(o,{get tabs(){return e(N)},get active(){return e(F)},onchange:te,"aria-label":`Planner`,children:(t,a)=>{var o=Di(),s=z(o),l=t=>{var n=Ti();ti(M(n),{}),c(n),V(()=>U(n,`hidden`,e(F)!==`specs`)),b(t,n)},u=i(()=>e(j).includes(`specs`));n(s,t=>{e(u)&&t(l)});var f=P(s,2),p=t=>{var n=Ti();rn(M(n),{}),c(n),V(()=>U(n,`hidden`,e(F)!==`cookbooks`)),b(t,n)},h=i(()=>e(j).includes(`cookbooks`));n(f,t=>{e(h)&&t(p)});var g=P(f,2),_=t=>{var n=Ti();Zr(M(n),{}),c(n),V(()=>U(n,`hidden`,e(F)!==`recipes`)),b(t,n)},v=i(()=>e(j).includes(`recipes`));n(g,t=>{e(v)&&t(_)});var x=P(g,2),S=t=>{var n=Ti();zr(M(n),{}),c(n),V(()=>U(n,`hidden`,e(F)!==`features`)),b(t,n)},C=i(()=>e(j).includes(`features`));n(x,t=>{e(C)&&t(S)});var w=P(x,2),T=t=>{var n=Ei(),r=P(M(n),2);{let t=i(()=>L??H??void 0);ye(r,{get controller(){return e(t)}})}c(n),V(()=>U(n,`hidden`,e(F)!==`layout`)),b(t,n)},E=i(()=>e(j).includes(`layout`));n(w,t=>{e(E)&&t(T)});var D=P(w,2),O=t=>{var n=Ti();ci(M(n),{get provider(){return m()},get advancedStylesHref(){return r.advancedStylesHref}}),c(n),V(()=>U(n,`hidden`,e(F)!==`theme`)),b(t,n)},k=i(()=>e(j).includes(`theme`));n(D,t=>{e(k)&&t(O)});var A=P(D,2),N=t=>{var n=Ti();$r(M(n),{get projectPersistence(){return e(y)},get controller(){return d()},get nativeAssistant(){return r.nativeAssistant},get onreset(){return r.onreset},get resetDisabledReason(){return r.resetDisabledReason}}),c(n),V(()=>U(n,`hidden`,e(F)!==`settings`)),b(t,n)},I=i(()=>e(j).includes(`settings`));n(A,t=>{e(I)&&t(N)});var R=P(A,2),B=t=>{var n=Ti();Qn(M(n),{get exportAction(){return r.exportAction},get controller(){return d()},get nativeAssistant(){return r.nativeAssistant},get onreset(){return r.onreset},get resetDisabledReason(){return r.resetDisabledReason}}),c(n),V(()=>U(n,`hidden`,e(F)!==`export`)),b(t,n)},ee=i(()=>e(j).includes(`export`));n(R,t=>{e(ee)&&t(B)}),b(t,o)},$$slots:{default:!0}}),c(a),A(a,e=>W(G,e),()=>e(G)),b(t,a)},s=[`cookbooks`,`recipes`,`theme`,`settings`,`export`],l=[`specs`,`features`,`layout`],u=[`specs`,`cookbooks`,`recipes`,`features`,`theme`,`settings`,`export`],d=E(r,`controller`,3,pt),f=E(r,`layout`,3,`own`),p=E(r,`persistence`,3,`self`),m=E(r,`themeControls`,3,!1),h=E(r,`headerNav`,3,`icons`),_=E(r,`tabs`,3,s),v=E(r,`managedByParent`,3,!1),y=i(()=>r.projectPersistence===void 0?p()===`self`?Mt:null:r.projectPersistence);vt()||bt(Dt());let x=Ee()!==null,S={specs:`Specs`,cookbooks:`Cookbooks`,recipes:`Recipes`,features:`Features`,layout:`Layout`,theme:`Theme`,settings:`Settings`,export:`Export`},C=i(()=>h()===`labelled`),w=i(()=>_()===s),T=i(()=>(e(C)&&e(w)?u:_()).filter(e=>ut.includes(e))),D=i(()=>{if(!e(C))return e(T);let t=ui[di(dt.active)],n=e(T).filter(e=>t.includes(e));return n.length>0?n:e(T)}),j=i(()=>e(w)?[...new Set([...e(T),...l])]:e(T)),N=i(()=>e(D).map(e=>({id:e,label:S[e]}))),F=i(()=>e(j).includes(dt.active)?dt.active:e(D)[0]??`recipes`),I=R(()=>f()),L=I===`own`?new he({nav:()=>[],groups:()=>jt({recipes:Q.ids,features:Q.features}),panels:()=>void 0,layout:()=>Z.layout,editable:()=>!0,commit:e=>Z.setLayout(e)}):null,H=I===`shell`?xe():null,te=e=>{let t=ut.find(t=>t===e);t&&(dt.active=t)};B(()=>d().subscribe(e=>{let t=e.focus.tab;t&&t!==dt.active&&(dt.active=t)}));let G=O(null),K;k(()=>{let t=e(F);K===void 0||K===t?K=t:(K=t,ee().then(()=>{e(G)?.querySelector(`[role="tablist"]`)?.scrollIntoView({block:`nearest`})}))}),k(()=>{let e=dt.active;R(()=>{d().snapshot().focus.tab!==e&&d().run({name:`focus`,input:{tab:e}})})});var ne=ki(),re=z(ne),ie=e=>{wi(e,{get controller(){return d()},get basePath(){return r.basePath},get inference(){return r.inference},get persistence(){return p()},get onready(){return r.onready}})};n(re,e=>{v()||e(ie)});var ae=P(re,2),q=e=>{o(e)},oe=e=>{me(e,{children:(e,t)=>{o(e)},$$slots:{default:!0}})};n(ae,e=>{x?e(q):e(oe,-1)}),b(t,ne),a()}var ji=l(`<section class="first-run svelte-1uha8ag" aria-labelledby="first-run-title"><h1 id="first-run-title" class="svelte-1uha8ag">Set up your assistant</h1> <p class="meta svelte-1uha8ag"> </p> <!> <div class="actions svelte-1uha8ag"><!> <!></div></section>`),Mi=l(`<main class="svelte-1uha8ag"><!></main>`);function Ni(r,o){g(o,!0);let l=s(Nt),f=i(Et);var p=Mi();t(`1uha8ag`,t=>{F(()=>{H.title=`${e(f)??``} · smrt planner`})});var m=M(p),h=e=>{var t=ji(),n=P(M(t),2),r=L(n,!0),i=P(n,2);It(i,{});var a=P(i,2),o=M(a);Y(o,{onclick:()=>X.continueFirstRun(),children:(e,t)=>{_();var n=d(`Continue`);b(e,n)},$$slots:{default:!0}});var s=P(o,2);Y(s,{variant:`secondary`,onclick:()=>X.dismissFirstRun(),children:(e,t)=>{_();var n=d(`I don't need AI, let's just build`);b(e,n)},$$slots:{default:!0}}),c(a),c(t),V(()=>u(r,X.privacyNote)),b(e,t)},v=t=>{{let n=i(()=>l?.current??null),r=i(()=>fe(`/advanced-styles/`));Ai(t,{get projectPersistence(){return e(n)},get nativeAssistant(){return X.session.transport},layout:`shell`,persistence:`host`,themeControls:!0,get advancedStylesHref(){return e(r)}})}};n(m,e=>{X.firstRun?e(h):e(v,-1)}),c(p),b(r,p),a()}export{Ni as component};
@@ -1 +1 @@
1
- import{$ as e,A as t,B as n,Ct as r,Dt as i,E as a,Ft as o,G as s,H as ee,L as c,Ot as l,Pt as u,R as d,U as f,X as p,Y as m,Z as h,a as g,at as _,b as v,bt as y,ct as b,d as x,ft as S,ht as C,l as w,mt as T,n as E,st as D,ut as O,v as k,vt as A,wt as j}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{n as M,r as N,s as P}from"../chunks/VsFwp6G3.js";import{n as F}from"../chunks/D3RGizRs.js";import"../chunks/d934w91N.js";import{a as I,i as te,n as ne,r as re,t as L}from"../chunks/BMgzWMdF.js";function R(e){let t=[],n=/(\/\*[\s\S]*?\*\/|\/\*[\s\S]*$|"(?:\\.|[^"\\])*"?|'(?:\\.|[^'\\])*'?|[{}:;]|[^{}:;'"/]+|\/)/g,r=!1,i=!1;for(let a of e.matchAll(n)){let e=a[0],n=`plain`;e.startsWith(`/*`)?n=`comment`:/^[{}:;]$/.test(e)?(n=`punctuation`,e===`{`&&(r=!0,i=!1),e===`}`&&(r=!1,i=!1),e===`:`&&(i=!0),e===`;`&&(i=!1)):n=r?i?`value`:`property`:`selector`,t.push({text:e,kind:n})}return t}var z=s(`<div class="pending svelte-zdw9y8" role="status"><p class="svelte-zdw9y8">This cookbook brings its own CSS. It is not applied until you review and approve it.</p> <button type="button">Apply these styles</button></div>`),B=s(`<span> </span>`),V=s(`<section class="advanced-styles svelte-zdw9y8" aria-labelledby="advanced-styles-title"><a class="back svelte-zdw9y8">← Back to Theme</a> <div class="heading svelte-zdw9y8"><div><h1 id="advanced-styles-title" class="svelte-zdw9y8">Advanced Styles</h1> <p class="svelte-zdw9y8">Make this app your own with CSS. Changes appear as you type and are saved with your cookbook.</p></div> <span class="live svelte-zdw9y8"><span aria-hidden="true" class="svelte-zdw9y8"></span>Live preview</span></div> <!> <label for="advanced-css" class="svelte-zdw9y8">Custom CSS</label> <div class="editor svelte-zdw9y8"><pre aria-hidden="true" class="svelte-zdw9y8"><code></code></pre> <textarea id="advanced-css" spellcheck="false" maxlength="65536" wrap="off" placeholder="/* Add your app styles here */" aria-describedby="advanced-css-help" class="svelte-zdw9y8"></textarea></div> <p id="advanced-css-help" class="help svelte-zdw9y8">Ask your agent to write styles here, or start with a selector like <code>.smrt-admin-shell</code>. Clearing the editor removes your custom styles. Styles apply only inside the app shell and cannot load files from other sites; add <code>?styles=off</code> to the address to turn them off.</p></section>`);function H(t,s){l(s,!0);let m=g(s,`backHref`,3,`#/configure/`),_=r(()=>F.theme?.customCss??``),w=y(``),O=y(!1),M,N=r(()=>R(e(w))),P=r(()=>!!e(_)&&!e(O)&&!re(e(_))),H=y(null),U=y(null);b(()=>{let t=e(_);(!e(O)||t===e(w))&&(A(w,t,!0),A(O,!1))}),b(()=>{if(typeof document>`u`||!e(O)||!e(w)||te(location.search))return;let t=I(e(U));if(!t)return;let n=ne(e(w),t);if(!n)return;let r=document.createElement(`style`);return r.dataset.smrtPlannerDraft=``,r.textContent=n,document.head.append(r),()=>r.remove()});function W(){e(H)&&e(U)&&(e(H).scrollTop=e(U).scrollTop,e(H).scrollLeft=e(U).scrollLeft)}function G(e){F.setTheme({...F.theme,customCss:e||void 0})}function K(t){L(t),A(w,t,!0),A(O,!0),clearTimeout(M),M=setTimeout(()=>G(e(w)),400)}E(()=>{clearTimeout(M),e(O)&&G(e(w))});var q=V(),J=S(q),Y=C(J,4),ie=t=>{var n=z(),r=C(S(n),2);o(n),p(`click`,r,()=>L(e(_))),f(t,n)};n(Y,t=>{e(P)&&t(ie)});var X=C(Y,4),Z=S(X),Q=S(Z);c(Q,21,()=>e(N),d,(t,n)=>{var r=B();let i;var o=T(r,!0);D(()=>{i=a(r,1,`svelte-zdw9y8`,null,i,{comment:e(n).kind===`comment`,selector:e(n).kind===`selector`,property:e(n).kind===`property`,value:e(n).kind===`value`,punctuation:e(n).kind===`punctuation`}),ee(o,e(n).text)}),f(t,r)}),o(Q),o(Z),x(Z,e=>A(H,e),()=>e(H));var $=C(Z,2);j($),x($,e=>A(U,e),()=>e(U)),o(X),u(2),o(q),D(t=>{k(J,`href`,m()),k(J,`data-sveltekit-reload`,t),v($,e(w))},[()=>m().startsWith(`/`)?!0:void 0]),p(`input`,$,e=>K(e.currentTarget.value)),h(`scroll`,$,W),f(t,q),i()}m([`click`,`input`]);var U=s(`<main class="svelte-72mmow"><!></main>`);function W(e,n){l(n,!1);let r=`${N()}/${P(M(),`theme`)}`;w();var a=U();t(`72mmow`,e=>{_(()=>{O.title=`Advanced Styles · smrt planner`})}),H(S(a),{get backHref(){return r}}),o(a),f(e,a),i()}export{W as component};
1
+ import{$ as e,A as t,B as n,Ct as r,Dt as i,E as a,Ft as o,G as s,H as ee,L as c,Ot as l,Pt as u,R as d,U as f,X as p,Y as m,Z as h,a as g,at as _,b as v,bt as y,ct as b,d as x,ft as S,ht as C,l as w,mt as T,n as E,st as D,ut as O,v as k,vt as A,wt as j}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{n as M,r as N,s as P}from"../chunks/DKO8GXxX.js";import{n as F}from"../chunks/DYJvnJSH.js";import"../chunks/d934w91N.js";import{a as I,i as te,n as ne,r as re,t as L}from"../chunks/BMgzWMdF.js";function R(e){let t=[],n=/(\/\*[\s\S]*?\*\/|\/\*[\s\S]*$|"(?:\\.|[^"\\])*"?|'(?:\\.|[^'\\])*'?|[{}:;]|[^{}:;'"/]+|\/)/g,r=!1,i=!1;for(let a of e.matchAll(n)){let e=a[0],n=`plain`;e.startsWith(`/*`)?n=`comment`:/^[{}:;]$/.test(e)?(n=`punctuation`,e===`{`&&(r=!0,i=!1),e===`}`&&(r=!1,i=!1),e===`:`&&(i=!0),e===`;`&&(i=!1)):n=r?i?`value`:`property`:`selector`,t.push({text:e,kind:n})}return t}var z=s(`<div class="pending svelte-zdw9y8" role="status"><p class="svelte-zdw9y8">This cookbook brings its own CSS. It is not applied until you review and approve it.</p> <button type="button">Apply these styles</button></div>`),B=s(`<span> </span>`),V=s(`<section class="advanced-styles svelte-zdw9y8" aria-labelledby="advanced-styles-title"><a class="back svelte-zdw9y8">← Back to Theme</a> <div class="heading svelte-zdw9y8"><div><h1 id="advanced-styles-title" class="svelte-zdw9y8">Advanced Styles</h1> <p class="svelte-zdw9y8">Make this app your own with CSS. Changes appear as you type and are saved with your cookbook.</p></div> <span class="live svelte-zdw9y8"><span aria-hidden="true" class="svelte-zdw9y8"></span>Live preview</span></div> <!> <label for="advanced-css" class="svelte-zdw9y8">Custom CSS</label> <div class="editor svelte-zdw9y8"><pre aria-hidden="true" class="svelte-zdw9y8"><code></code></pre> <textarea id="advanced-css" spellcheck="false" maxlength="65536" wrap="off" placeholder="/* Add your app styles here */" aria-describedby="advanced-css-help" class="svelte-zdw9y8"></textarea></div> <p id="advanced-css-help" class="help svelte-zdw9y8">Ask your agent to write styles here, or start with a selector like <code>.smrt-admin-shell</code>. Clearing the editor removes your custom styles. Styles apply only inside the app shell and cannot load files from other sites; add <code>?styles=off</code> to the address to turn them off.</p></section>`);function H(t,s){l(s,!0);let m=g(s,`backHref`,3,`#/configure/`),_=r(()=>F.theme?.customCss??``),w=y(``),O=y(!1),M,N=r(()=>R(e(w))),P=r(()=>!!e(_)&&!e(O)&&!re(e(_))),H=y(null),U=y(null);b(()=>{let t=e(_);(!e(O)||t===e(w))&&(A(w,t,!0),A(O,!1))}),b(()=>{if(typeof document>`u`||!e(O)||!e(w)||te(location.search))return;let t=I(e(U));if(!t)return;let n=ne(e(w),t);if(!n)return;let r=document.createElement(`style`);return r.dataset.smrtPlannerDraft=``,r.textContent=n,document.head.append(r),()=>r.remove()});function W(){e(H)&&e(U)&&(e(H).scrollTop=e(U).scrollTop,e(H).scrollLeft=e(U).scrollLeft)}function G(e){F.setTheme({...F.theme,customCss:e||void 0})}function K(t){L(t),A(w,t,!0),A(O,!0),clearTimeout(M),M=setTimeout(()=>G(e(w)),400)}E(()=>{clearTimeout(M),e(O)&&G(e(w))});var q=V(),J=S(q),Y=C(J,4),ie=t=>{var n=z(),r=C(S(n),2);o(n),p(`click`,r,()=>L(e(_))),f(t,n)};n(Y,t=>{e(P)&&t(ie)});var X=C(Y,4),Z=S(X),Q=S(Z);c(Q,21,()=>e(N),d,(t,n)=>{var r=B();let i;var o=T(r,!0);D(()=>{i=a(r,1,`svelte-zdw9y8`,null,i,{comment:e(n).kind===`comment`,selector:e(n).kind===`selector`,property:e(n).kind===`property`,value:e(n).kind===`value`,punctuation:e(n).kind===`punctuation`}),ee(o,e(n).text)}),f(t,r)}),o(Q),o(Z),x(Z,e=>A(H,e),()=>e(H));var $=C(Z,2);j($),x($,e=>A(U,e),()=>e(U)),o(X),u(2),o(q),D(t=>{k(J,`href`,m()),k(J,`data-sveltekit-reload`,t),v($,e(w))},[()=>m().startsWith(`/`)?!0:void 0]),p(`input`,$,e=>K(e.currentTarget.value)),h(`scroll`,$,W),f(t,q),i()}m([`click`,`input`]);var U=s(`<main class="svelte-72mmow"><!></main>`);function W(e,n){l(n,!1);let r=`${N()}/${P(M(),`theme`)}`;w();var a=U();t(`72mmow`,e=>{_(()=>{O.title=`Advanced Styles · smrt planner`})}),H(S(a),{get backHref(){return r}}),o(a),f(e,a),i()}export{W as component};
@@ -1 +1 @@
1
- import{$ as e,A as t,Dt as n,Ft as r,G as i,H as a,Ot as o,Pt as s,St as c,U as l,at as u,ft as d,ht as f,l as p,mt as m,st as h,ut as g,v as _}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{t as v}from"../chunks/VsFwp6G3.js";import{i as y}from"../chunks/Cn8nbD9n.js";import"../chunks/d934w91N.js";import{t as b}from"../chunks/B9ToxWrf.js";var x=i(`<div class="ai-page svelte-mutbd1"><p class="meta svelte-mutbd1"><a>Planner</a> / AI models</p> <h1 class="svelte-mutbd1">Set up your assistant</h1> <p class="privacy svelte-mutbd1"> </p> <!></div>`);function S(e,t){o(t,!0);var i=x(),c=d(i),u=d(c);s(),r(c);var p=f(c,4),g=m(p,!0),v=f(p,2);b(v,{}),r(i),h(()=>{_(u,`href`,t.backHref),a(g,y.privacyNote)}),l(e,i),n()}var C=i(`<main class="svelte-hyyiz7"><!></main>`);function w(i,a){o(a,!1),p();var s=C();t(`hyyiz7`,e=>{u(()=>{g.title=`AI models · smrt planner`})});var f=d(s);{let t=c(()=>v(`/`));S(f,{get backHref(){return e(t)}})}r(s),l(i,s),n()}export{w as component};
1
+ import{$ as e,A as t,Dt as n,Ft as r,G as i,H as a,Ot as o,Pt as s,St as c,U as l,at as u,ft as d,ht as f,l as p,mt as m,st as h,ut as g,v as _}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{t as v}from"../chunks/DKO8GXxX.js";import{i as y}from"../chunks/DhruBIjb.js";import"../chunks/d934w91N.js";import{t as b}from"../chunks/Cc87O25b.js";var x=i(`<div class="ai-page svelte-mutbd1"><p class="meta svelte-mutbd1"><a>Planner</a> / AI models</p> <h1 class="svelte-mutbd1">Set up your assistant</h1> <p class="privacy svelte-mutbd1"> </p> <!></div>`);function S(e,t){o(t,!0);var i=x(),c=d(i),u=d(c);s(),r(c);var p=f(c,4),g=m(p,!0),v=f(p,2);b(v,{}),r(i),h(()=>{_(u,`href`,t.backHref),a(g,y.privacyNote)}),l(e,i),n()}var C=i(`<main class="svelte-hyyiz7"><!></main>`);function w(i,a){o(a,!1),p();var s=C();t(`hyyiz7`,e=>{u(()=>{g.title=`AI models · smrt planner`})});var f=d(s);{let t=c(()=>v(`/`));S(f,{get backHref(){return e(t)}})}r(s),l(i,s),n()}export{w as component};
@@ -1 +1 @@
1
- import{A as e,Dt as t,Ft as n,G as r,Ot as i,Pt as a,U as o,at as s,ft as c,ht as l,l as u,r as d,st as f,ut as p,v as m}from"../chunks/DG3qFFTE.js";import{n as h,u as g}from"../chunks/DkqJO8K2.js";import"../chunks/xihTtKlq.js";import"../chunks/DUOxZgSW.js";import"../chunks/d934w91N.js";var _=r(`<main><p>The Blueprint moved to the Planner's <a>Export tab</a>.</p></main>`);function v(r,v){i(v,!1),d(()=>{let e=new URLSearchParams(location.search);e.set(`tab`,`export`),h(`${g}/?${e.toString().replace(/%2C/gi,`,`)}`,{replaceState:!0})}),u();var y=_();e(`1t5f7zw`,e=>{s(()=>{p.title=`Moved · smrt planner`})});var b=c(y),x=l(c(b));a(),n(b),n(y),f(()=>m(x,`href`,`${g}/?tab=export`)),o(r,y),t()}export{v as component};
1
+ import{A as e,Dt as t,Ft as n,G as r,Ot as i,Pt as a,U as o,at as s,ft as c,ht as l,l as u,r as d,st as f,ut as p,v as m}from"../chunks/DG3qFFTE.js";import{n as h,u as g}from"../chunks/B_DUvQ2-.js";import"../chunks/xihTtKlq.js";import"../chunks/B9-iYiTV.js";import"../chunks/d934w91N.js";var _=r(`<main><p>The Blueprint moved to the Planner's <a>Export tab</a>.</p></main>`);function v(r,v){i(v,!1),d(()=>{let e=new URLSearchParams(location.search);e.set(`tab`,`export`),h(`${g}/?${e.toString().replace(/%2C/gi,`,`)}`,{replaceState:!0})}),u();var y=_();e(`1t5f7zw`,e=>{s(()=>{p.title=`Moved · smrt planner`})});var b=c(y),x=l(c(b));a(),n(b),n(y),f(()=>m(x,`href`,`${g}/?tab=export`)),o(r,y),t()}export{v as component};
@@ -1 +1 @@
1
- import{A as e,Dt as t,Ft as n,G as r,Ot as i,Pt as a,U as o,at as s,ft as c,ht as l,l as u,r as d,st as f,ut as p,v as m}from"../chunks/DG3qFFTE.js";import{n as h,u as g}from"../chunks/DkqJO8K2.js";import"../chunks/xihTtKlq.js";import"../chunks/DUOxZgSW.js";import"../chunks/d934w91N.js";var _=r(`<main><p>The Cookbook is in the Planner's <a>Export tab</a>.</p></main>`);function v(r,v){i(v,!1),d(()=>{let e=new URLSearchParams(location.search);e.set(`tab`,`export`),h(`${g}/?${e.toString().replace(/%2C/gi,`,`)}`,{replaceState:!0})}),u();var y=_();e(`9ir3hm`,e=>{s(()=>{p.title=`Moved · smrt planner`})});var b=c(y),x=l(c(b));a(),n(b),n(y),f(()=>m(x,`href`,`${g}/?tab=export`)),o(r,y),t()}export{v as component};
1
+ import{A as e,Dt as t,Ft as n,G as r,Ot as i,Pt as a,U as o,at as s,ft as c,ht as l,l as u,r as d,st as f,ut as p,v as m}from"../chunks/DG3qFFTE.js";import{n as h,u as g}from"../chunks/B_DUvQ2-.js";import"../chunks/xihTtKlq.js";import"../chunks/B9-iYiTV.js";import"../chunks/d934w91N.js";var _=r(`<main><p>The Cookbook is in the Planner's <a>Export tab</a>.</p></main>`);function v(r,v){i(v,!1),d(()=>{let e=new URLSearchParams(location.search);e.set(`tab`,`export`),h(`${g}/?${e.toString().replace(/%2C/gi,`,`)}`,{replaceState:!0})}),u();var y=_();e(`9ir3hm`,e=>{s(()=>{p.title=`Moved · smrt planner`})});var b=c(y),x=l(c(b));a(),n(b),n(y),f(()=>m(x,`href`,`${g}/?tab=export`)),o(r,y),t()}export{v as component};
@@ -1 +1 @@
1
- import{n as e}from"../chunks/COiEfhsA.js";import{Dt as t,Ot as n}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{_t as r,vt as i,yt as a}from"../chunks/VsFwp6G3.js";import{t as o}from"../chunks/DRByVC-c.js";import{t as s}from"../chunks/rWYY8AXO.js";var c=e({entries:()=>l,load:()=>u}),l=()=>r.packages.flatMap(e=>i(e).map(t=>({package:e.id,model:t.name}))),u=({params:e})=>(a(e.package,e.model)||o(404,`Unknown model ${e.package}/${e.model}`),{packageId:e.package,modelName:e.model});function d(e,r){n(r,!0),s(e,{get packageId(){return r.data.packageId},get modelName(){return r.data.modelName}}),t()}export{d as component,c as universal};
1
+ import{n as e}from"../chunks/COiEfhsA.js";import{Dt as t,Ot as n}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{_t as r,vt as i,yt as a}from"../chunks/DKO8GXxX.js";import{t as o}from"../chunks/DRByVC-c.js";import{t as s}from"../chunks/CBwPTTnw.js";var c=e({entries:()=>l,load:()=>u}),l=()=>r.packages.flatMap(e=>i(e).map(t=>({package:e.id,model:t.name}))),u=({params:e})=>(a(e.package,e.model)||o(404,`Unknown model ${e.package}/${e.model}`),{packageId:e.package,modelName:e.model});function d(e,r){n(r,!0),s(e,{get packageId(){return r.data.packageId},get modelName(){return r.data.modelName}}),t()}export{d as component,c as universal};
@@ -1 +1 @@
1
- import{n as e}from"../chunks/COiEfhsA.js";import{Dt as t,Ot as n}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{yt as r}from"../chunks/VsFwp6G3.js";import{b as i,m as a,v as o}from"../chunks/Dd0cSvdc.js";import{t as s}from"../chunks/DRByVC-c.js";import{t as c}from"../chunks/rWYY8AXO.js";var l=e({entries:()=>u,load:()=>d}),u=()=>i.flatMap(e=>o(e).flatMap(e=>e.key?[{package:e.packageId,model:e.model.name,view:e.key}]:[])),d=({params:e})=>(r(e.package,e.model)||s(404,`Unknown model ${e.package}/${e.model}`),a(e.package,e.model,e.view)?{packageId:e.package,modelName:e.model,view:e.view}:{packageId:e.package,modelName:e.model,recordId:e.view,mode:`view`});function f(e,r){n(r,!0),c(e,{get packageId(){return r.data.packageId},get modelName(){return r.data.modelName},get view(){return r.data.view},get recordId(){return r.data.recordId},get mode(){return r.data.mode}}),t()}export{f as component,l as universal};
1
+ import{n as e}from"../chunks/COiEfhsA.js";import{Dt as t,Ot as n}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{yt as r}from"../chunks/DKO8GXxX.js";import{b as i,m as a,v as o}from"../chunks/BhY9m7ye.js";import{t as s}from"../chunks/DRByVC-c.js";import{t as c}from"../chunks/CBwPTTnw.js";var l=e({entries:()=>u,load:()=>d}),u=()=>i.flatMap(e=>o(e).flatMap(e=>e.key?[{package:e.packageId,model:e.model.name,view:e.key}]:[])),d=({params:e})=>(r(e.package,e.model)||s(404,`Unknown model ${e.package}/${e.model}`),a(e.package,e.model,e.view)?{packageId:e.package,modelName:e.model,view:e.view}:{packageId:e.package,modelName:e.model,recordId:e.view,mode:`view`});function f(e,r){n(r,!0),c(e,{get packageId(){return r.data.packageId},get modelName(){return r.data.modelName},get view(){return r.data.view},get recordId(){return r.data.recordId},get mode(){return r.data.mode}}),t()}export{f as component,l as universal};
@@ -1 +1 @@
1
- import{n as e}from"../chunks/COiEfhsA.js";import{Dt as t,Ot as n}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{yt as r}from"../chunks/VsFwp6G3.js";import{m as i}from"../chunks/Dd0cSvdc.js";import{t as a}from"../chunks/DRByVC-c.js";import{t as o}from"../chunks/rWYY8AXO.js";var s=e({load:()=>c,prerender:()=>!1}),c=({params:e})=>((!r(e.package,e.model)||i(e.package,e.model,e.view))&&a(404,`Unknown record ${e.package}/${e.model}/${e.view}`),{packageId:e.package,modelName:e.model,recordId:e.view,mode:`edit`});function l(e,r){n(r,!0),o(e,{get packageId(){return r.data.packageId},get modelName(){return r.data.modelName},get recordId(){return r.data.recordId},get mode(){return r.data.mode}}),t()}export{l as component,s as universal};
1
+ import{n as e}from"../chunks/COiEfhsA.js";import{Dt as t,Ot as n}from"../chunks/DG3qFFTE.js";import"../chunks/xihTtKlq.js";import{yt as r}from"../chunks/DKO8GXxX.js";import{m as i}from"../chunks/BhY9m7ye.js";import{t as a}from"../chunks/DRByVC-c.js";import{t as o}from"../chunks/CBwPTTnw.js";var s=e({load:()=>c,prerender:()=>!1}),c=({params:e})=>((!r(e.package,e.model)||i(e.package,e.model,e.view))&&a(404,`Unknown record ${e.package}/${e.model}/${e.view}`),{packageId:e.package,modelName:e.model,recordId:e.view,mode:`edit`});function l(e,r){n(r,!0),o(e,{get packageId(){return r.data.packageId},get modelName(){return r.data.modelName},get recordId(){return r.data.recordId},get mode(){return r.data.mode}}),t()}export{l as component,s as universal};
@@ -1 +1 @@
1
- {"version":"1793290660802"}
1
+ {"version":"1793404107878"}
@@ -3,43 +3,43 @@
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
- <link href="../_app/immutable/entry/start.iwVpBav6.js" rel="modulepreload">
7
- <link href="../_app/immutable/chunks/DkqJO8K2.js" rel="modulepreload">
6
+ <link href="../_app/immutable/entry/start.yXp5URgB.js" rel="modulepreload">
7
+ <link href="../_app/immutable/chunks/B_DUvQ2-.js" rel="modulepreload">
8
8
  <link href="../_app/immutable/chunks/DG3qFFTE.js" rel="modulepreload">
9
9
  <link href="../_app/immutable/chunks/COiEfhsA.js" rel="modulepreload">
10
10
  <link href="../_app/immutable/chunks/Dt-HX3Vu.js" rel="modulepreload">
11
- <link href="../_app/immutable/entry/app.jXgO31v0.js" rel="modulepreload">
11
+ <link href="../_app/immutable/entry/app.CdnA1Er5.js" rel="modulepreload">
12
12
  <link href="../_app/immutable/chunks/BaNbYf_w.js" rel="modulepreload">
13
13
  <link href="../_app/immutable/chunks/xihTtKlq.js" rel="modulepreload">
14
- <link href="../_app/immutable/nodes/0.BqruDT_Z.js" rel="modulepreload">
15
- <link href="../_app/immutable/chunks/VsFwp6G3.js" rel="modulepreload">
14
+ <link href="../_app/immutable/nodes/0.B3BTaMcH.js" rel="modulepreload">
15
+ <link href="../_app/immutable/chunks/DKO8GXxX.js" rel="modulepreload">
16
16
  <link href="../_app/immutable/chunks/Bq8E3AWP.js" rel="modulepreload">
17
17
  <link href="../_app/immutable/chunks/DK8Blf1Y.js" rel="modulepreload">
18
- <link href="../_app/immutable/chunks/BXp_5G-Z.js" rel="modulepreload">
18
+ <link href="../_app/immutable/chunks/Bi1YzXmx.js" rel="modulepreload">
19
19
  <link href="../_app/immutable/chunks/BLUInGBV.js" rel="modulepreload">
20
20
  <link href="../_app/immutable/chunks/v8gneLl4.js" rel="modulepreload">
21
21
  <link href="../_app/immutable/chunks/DIE02RSm.js" rel="modulepreload">
22
- <link href="../_app/immutable/chunks/BOhKr_nv.js" rel="modulepreload">
22
+ <link href="../_app/immutable/chunks/HarHvnXF.js" rel="modulepreload">
23
23
  <link href="../_app/immutable/chunks/CUyVrfsu.js" rel="modulepreload">
24
24
  <link href="../_app/immutable/chunks/CGVkRTMI.js" rel="modulepreload">
25
25
  <link href="../_app/immutable/chunks/BYcBM-fh.js" rel="modulepreload">
26
- <link href="../_app/immutable/chunks/BgqcCcxm.js" rel="modulepreload">
27
- <link href="../_app/immutable/chunks/DUOxZgSW.js" rel="modulepreload">
28
- <link href="../_app/immutable/chunks/C1YC2rhY.js" rel="modulepreload">
26
+ <link href="../_app/immutable/chunks/BAPJxs8s.js" rel="modulepreload">
27
+ <link href="../_app/immutable/chunks/B9-iYiTV.js" rel="modulepreload">
28
+ <link href="../_app/immutable/chunks/0HEEaKDE.js" rel="modulepreload">
29
29
  <link href="../_app/immutable/chunks/d934w91N.js" rel="modulepreload">
30
- <link href="../_app/immutable/chunks/SRZuspg7.js" rel="modulepreload">
31
- <link href="../_app/immutable/chunks/CP5U2sdd.js" rel="modulepreload">
32
- <link href="../_app/immutable/chunks/Ba8QYCqr.js" rel="modulepreload">
33
- <link href="../_app/immutable/chunks/DANMIVJG.js" rel="modulepreload">
34
- <link href="../_app/immutable/chunks/C_ZqLqHp.js" rel="modulepreload">
30
+ <link href="../_app/immutable/chunks/OkFnmq-I.js" rel="modulepreload">
31
+ <link href="../_app/immutable/chunks/BQgJ05r2.js" rel="modulepreload">
32
+ <link href="../_app/immutable/chunks/BgOimu0u.js" rel="modulepreload">
33
+ <link href="../_app/immutable/chunks/D3cv8Pui.js" rel="modulepreload">
34
+ <link href="../_app/immutable/chunks/DSdlNRNs.js" rel="modulepreload">
35
35
  <link href="../_app/immutable/chunks/BMgzWMdF.js" rel="modulepreload">
36
36
  <link href="../_app/immutable/chunks/CgAkqYsL.js" rel="modulepreload">
37
- <link href="../_app/immutable/nodes/3.DMtU3J6w.js" rel="modulepreload">
38
- <link href="../_app/immutable/chunks/D3RGizRs.js" rel="modulepreload">
39
- <link href="../_app/immutable/chunks/Dxtc6xrY.js" rel="modulepreload">
37
+ <link href="../_app/immutable/nodes/3.D_V2kkhg.js" rel="modulepreload">
38
+ <link href="../_app/immutable/chunks/DYJvnJSH.js" rel="modulepreload">
39
+ <link href="../_app/immutable/chunks/EVM4wuMZ.js" rel="modulepreload">
40
40
  <!--1vy8ks8--><!----><style id="smrt-cascade-layers">@layer smrt.reset, smrt.structure, smrt.theme;</style><!----><!----><!--72mmow--><!----><title>Advanced Styles · smrt planner</title>
41
41
  <link href="../_app/immutable/assets/currency-metadata.ksbBA8-C.css" rel="stylesheet">
42
- <link href="../_app/immutable/assets/app.CkDD91u6.css" rel="stylesheet">
42
+ <link href="../_app/immutable/assets/app.CNgJdfDA.css" rel="stylesheet">
43
43
  <link href="../_app/immutable/assets/feedback.nSgE8ogy.css" rel="stylesheet">
44
44
  <link href="../_app/immutable/assets/SegmentedControl.CH_vc242.css" rel="stylesheet">
45
45
  <link href="../_app/immutable/assets/webmcp-ui-context.hO24Ni5w.css" rel="stylesheet">
@@ -59,15 +59,15 @@
59
59
 
60
60
  <script>
61
61
  {
62
- __sveltekit_1rcrkfs = {
62
+ __sveltekit_18i6w6w = {
63
63
  base: new URL("..", location).pathname.slice(0, -1)
64
64
  };
65
65
 
66
66
  const element = document.currentScript.parentElement;
67
67
 
68
68
  Promise.all([
69
- import("../_app/immutable/entry/start.iwVpBav6.js"),
70
- import("../_app/immutable/entry/app.jXgO31v0.js")
69
+ import("../_app/immutable/entry/start.yXp5URgB.js"),
70
+ import("../_app/immutable/entry/app.CdnA1Er5.js")
71
71
  ]).then(([kit, app]) => {
72
72
  kit.start(app, element, {
73
73
  node_ids: [0, 3],
package/app/ai/index.html CHANGED
@@ -3,47 +3,47 @@
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
- <link href="../_app/immutable/entry/start.iwVpBav6.js" rel="modulepreload">
7
- <link href="../_app/immutable/chunks/DkqJO8K2.js" rel="modulepreload">
6
+ <link href="../_app/immutable/entry/start.yXp5URgB.js" rel="modulepreload">
7
+ <link href="../_app/immutable/chunks/B_DUvQ2-.js" rel="modulepreload">
8
8
  <link href="../_app/immutable/chunks/DG3qFFTE.js" rel="modulepreload">
9
9
  <link href="../_app/immutable/chunks/COiEfhsA.js" rel="modulepreload">
10
10
  <link href="../_app/immutable/chunks/Dt-HX3Vu.js" rel="modulepreload">
11
- <link href="../_app/immutable/entry/app.jXgO31v0.js" rel="modulepreload">
11
+ <link href="../_app/immutable/entry/app.CdnA1Er5.js" rel="modulepreload">
12
12
  <link href="../_app/immutable/chunks/BaNbYf_w.js" rel="modulepreload">
13
13
  <link href="../_app/immutable/chunks/xihTtKlq.js" rel="modulepreload">
14
- <link href="../_app/immutable/nodes/0.BqruDT_Z.js" rel="modulepreload">
15
- <link href="../_app/immutable/chunks/VsFwp6G3.js" rel="modulepreload">
14
+ <link href="../_app/immutable/nodes/0.B3BTaMcH.js" rel="modulepreload">
15
+ <link href="../_app/immutable/chunks/DKO8GXxX.js" rel="modulepreload">
16
16
  <link href="../_app/immutable/chunks/Bq8E3AWP.js" rel="modulepreload">
17
17
  <link href="../_app/immutable/chunks/DK8Blf1Y.js" rel="modulepreload">
18
- <link href="../_app/immutable/chunks/BXp_5G-Z.js" rel="modulepreload">
18
+ <link href="../_app/immutable/chunks/Bi1YzXmx.js" rel="modulepreload">
19
19
  <link href="../_app/immutable/chunks/BLUInGBV.js" rel="modulepreload">
20
20
  <link href="../_app/immutable/chunks/v8gneLl4.js" rel="modulepreload">
21
21
  <link href="../_app/immutable/chunks/DIE02RSm.js" rel="modulepreload">
22
- <link href="../_app/immutable/chunks/BOhKr_nv.js" rel="modulepreload">
22
+ <link href="../_app/immutable/chunks/HarHvnXF.js" rel="modulepreload">
23
23
  <link href="../_app/immutable/chunks/CUyVrfsu.js" rel="modulepreload">
24
24
  <link href="../_app/immutable/chunks/CGVkRTMI.js" rel="modulepreload">
25
25
  <link href="../_app/immutable/chunks/BYcBM-fh.js" rel="modulepreload">
26
- <link href="../_app/immutable/chunks/BgqcCcxm.js" rel="modulepreload">
27
- <link href="../_app/immutable/chunks/DUOxZgSW.js" rel="modulepreload">
28
- <link href="../_app/immutable/chunks/C1YC2rhY.js" rel="modulepreload">
26
+ <link href="../_app/immutable/chunks/BAPJxs8s.js" rel="modulepreload">
27
+ <link href="../_app/immutable/chunks/B9-iYiTV.js" rel="modulepreload">
28
+ <link href="../_app/immutable/chunks/0HEEaKDE.js" rel="modulepreload">
29
29
  <link href="../_app/immutable/chunks/d934w91N.js" rel="modulepreload">
30
- <link href="../_app/immutable/chunks/SRZuspg7.js" rel="modulepreload">
31
- <link href="../_app/immutable/chunks/CP5U2sdd.js" rel="modulepreload">
32
- <link href="../_app/immutable/chunks/Ba8QYCqr.js" rel="modulepreload">
33
- <link href="../_app/immutable/chunks/DANMIVJG.js" rel="modulepreload">
34
- <link href="../_app/immutable/chunks/C_ZqLqHp.js" rel="modulepreload">
30
+ <link href="../_app/immutable/chunks/OkFnmq-I.js" rel="modulepreload">
31
+ <link href="../_app/immutable/chunks/BQgJ05r2.js" rel="modulepreload">
32
+ <link href="../_app/immutable/chunks/BgOimu0u.js" rel="modulepreload">
33
+ <link href="../_app/immutable/chunks/D3cv8Pui.js" rel="modulepreload">
34
+ <link href="../_app/immutable/chunks/DSdlNRNs.js" rel="modulepreload">
35
35
  <link href="../_app/immutable/chunks/BMgzWMdF.js" rel="modulepreload">
36
36
  <link href="../_app/immutable/chunks/CgAkqYsL.js" rel="modulepreload">
37
- <link href="../_app/immutable/nodes/4.DcEv25d3.js" rel="modulepreload">
38
- <link href="../_app/immutable/chunks/Cn8nbD9n.js" rel="modulepreload">
37
+ <link href="../_app/immutable/nodes/4.ClirjmB_.js" rel="modulepreload">
38
+ <link href="../_app/immutable/chunks/DhruBIjb.js" rel="modulepreload">
39
39
  <link href="../_app/immutable/chunks/eBF8D7GD.js" rel="modulepreload">
40
- <link href="../_app/immutable/chunks/D3RGizRs.js" rel="modulepreload">
41
- <link href="../_app/immutable/chunks/Dxtc6xrY.js" rel="modulepreload">
42
- <link href="../_app/immutable/chunks/Dd0cSvdc.js" rel="modulepreload">
43
- <link href="../_app/immutable/chunks/B9ToxWrf.js" rel="modulepreload">
40
+ <link href="../_app/immutable/chunks/DYJvnJSH.js" rel="modulepreload">
41
+ <link href="../_app/immutable/chunks/EVM4wuMZ.js" rel="modulepreload">
42
+ <link href="../_app/immutable/chunks/BhY9m7ye.js" rel="modulepreload">
43
+ <link href="../_app/immutable/chunks/Cc87O25b.js" rel="modulepreload">
44
44
  <!--1vy8ks8--><!----><style id="smrt-cascade-layers">@layer smrt.reset, smrt.structure, smrt.theme;</style><!----><!----><!--hyyiz7--><!----><title>AI models · smrt planner</title>
45
45
  <link href="../_app/immutable/assets/currency-metadata.ksbBA8-C.css" rel="stylesheet">
46
- <link href="../_app/immutable/assets/app.CkDD91u6.css" rel="stylesheet">
46
+ <link href="../_app/immutable/assets/app.CNgJdfDA.css" rel="stylesheet">
47
47
  <link href="../_app/immutable/assets/feedback.nSgE8ogy.css" rel="stylesheet">
48
48
  <link href="../_app/immutable/assets/SegmentedControl.CH_vc242.css" rel="stylesheet">
49
49
  <link href="../_app/immutable/assets/webmcp-ui-context.hO24Ni5w.css" rel="stylesheet">
@@ -67,15 +67,15 @@
67
67
 
68
68
  <script>
69
69
  {
70
- __sveltekit_1rcrkfs = {
70
+ __sveltekit_18i6w6w = {
71
71
  base: new URL("..", location).pathname.slice(0, -1)
72
72
  };
73
73
 
74
74
  const element = document.currentScript.parentElement;
75
75
 
76
76
  Promise.all([
77
- import("../_app/immutable/entry/start.iwVpBav6.js"),
78
- import("../_app/immutable/entry/app.jXgO31v0.js")
77
+ import("../_app/immutable/entry/start.yXp5URgB.js"),
78
+ import("../_app/immutable/entry/app.CdnA1Er5.js")
79
79
  ]).then(([kit, app]) => {
80
80
  kit.start(app, element, {
81
81
  node_ids: [0, 4],
@@ -3,41 +3,41 @@
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
- <link href="../_app/immutable/entry/start.iwVpBav6.js" rel="modulepreload">
7
- <link href="../_app/immutable/chunks/DkqJO8K2.js" rel="modulepreload">
6
+ <link href="../_app/immutable/entry/start.yXp5URgB.js" rel="modulepreload">
7
+ <link href="../_app/immutable/chunks/B_DUvQ2-.js" rel="modulepreload">
8
8
  <link href="../_app/immutable/chunks/DG3qFFTE.js" rel="modulepreload">
9
9
  <link href="../_app/immutable/chunks/COiEfhsA.js" rel="modulepreload">
10
10
  <link href="../_app/immutable/chunks/Dt-HX3Vu.js" rel="modulepreload">
11
- <link href="../_app/immutable/entry/app.jXgO31v0.js" rel="modulepreload">
11
+ <link href="../_app/immutable/entry/app.CdnA1Er5.js" rel="modulepreload">
12
12
  <link href="../_app/immutable/chunks/BaNbYf_w.js" rel="modulepreload">
13
13
  <link href="../_app/immutable/chunks/xihTtKlq.js" rel="modulepreload">
14
- <link href="../_app/immutable/nodes/0.BqruDT_Z.js" rel="modulepreload">
15
- <link href="../_app/immutable/chunks/VsFwp6G3.js" rel="modulepreload">
14
+ <link href="../_app/immutable/nodes/0.B3BTaMcH.js" rel="modulepreload">
15
+ <link href="../_app/immutable/chunks/DKO8GXxX.js" rel="modulepreload">
16
16
  <link href="../_app/immutable/chunks/Bq8E3AWP.js" rel="modulepreload">
17
17
  <link href="../_app/immutable/chunks/DK8Blf1Y.js" rel="modulepreload">
18
- <link href="../_app/immutable/chunks/BXp_5G-Z.js" rel="modulepreload">
18
+ <link href="../_app/immutable/chunks/Bi1YzXmx.js" rel="modulepreload">
19
19
  <link href="../_app/immutable/chunks/BLUInGBV.js" rel="modulepreload">
20
20
  <link href="../_app/immutable/chunks/v8gneLl4.js" rel="modulepreload">
21
21
  <link href="../_app/immutable/chunks/DIE02RSm.js" rel="modulepreload">
22
- <link href="../_app/immutable/chunks/BOhKr_nv.js" rel="modulepreload">
22
+ <link href="../_app/immutable/chunks/HarHvnXF.js" rel="modulepreload">
23
23
  <link href="../_app/immutable/chunks/CUyVrfsu.js" rel="modulepreload">
24
24
  <link href="../_app/immutable/chunks/CGVkRTMI.js" rel="modulepreload">
25
25
  <link href="../_app/immutable/chunks/BYcBM-fh.js" rel="modulepreload">
26
- <link href="../_app/immutable/chunks/BgqcCcxm.js" rel="modulepreload">
27
- <link href="../_app/immutable/chunks/DUOxZgSW.js" rel="modulepreload">
28
- <link href="../_app/immutable/chunks/C1YC2rhY.js" rel="modulepreload">
26
+ <link href="../_app/immutable/chunks/BAPJxs8s.js" rel="modulepreload">
27
+ <link href="../_app/immutable/chunks/B9-iYiTV.js" rel="modulepreload">
28
+ <link href="../_app/immutable/chunks/0HEEaKDE.js" rel="modulepreload">
29
29
  <link href="../_app/immutable/chunks/d934w91N.js" rel="modulepreload">
30
- <link href="../_app/immutable/chunks/SRZuspg7.js" rel="modulepreload">
31
- <link href="../_app/immutable/chunks/CP5U2sdd.js" rel="modulepreload">
32
- <link href="../_app/immutable/chunks/Ba8QYCqr.js" rel="modulepreload">
33
- <link href="../_app/immutable/chunks/DANMIVJG.js" rel="modulepreload">
34
- <link href="../_app/immutable/chunks/C_ZqLqHp.js" rel="modulepreload">
30
+ <link href="../_app/immutable/chunks/OkFnmq-I.js" rel="modulepreload">
31
+ <link href="../_app/immutable/chunks/BQgJ05r2.js" rel="modulepreload">
32
+ <link href="../_app/immutable/chunks/BgOimu0u.js" rel="modulepreload">
33
+ <link href="../_app/immutable/chunks/D3cv8Pui.js" rel="modulepreload">
34
+ <link href="../_app/immutable/chunks/DSdlNRNs.js" rel="modulepreload">
35
35
  <link href="../_app/immutable/chunks/BMgzWMdF.js" rel="modulepreload">
36
36
  <link href="../_app/immutable/chunks/CgAkqYsL.js" rel="modulepreload">
37
- <link href="../_app/immutable/nodes/5.Dlst1EHE.js" rel="modulepreload">
37
+ <link href="../_app/immutable/nodes/5.B_Y-4dWg.js" rel="modulepreload">
38
38
  <!--1vy8ks8--><!----><style id="smrt-cascade-layers">@layer smrt.reset, smrt.structure, smrt.theme;</style><!----><!----><!--1t5f7zw--><!----><title>Moved · smrt planner</title>
39
39
  <link href="../_app/immutable/assets/currency-metadata.ksbBA8-C.css" rel="stylesheet">
40
- <link href="../_app/immutable/assets/app.CkDD91u6.css" rel="stylesheet">
40
+ <link href="../_app/immutable/assets/app.CNgJdfDA.css" rel="stylesheet">
41
41
  <link href="../_app/immutable/assets/feedback.nSgE8ogy.css" rel="stylesheet">
42
42
  <link href="../_app/immutable/assets/SegmentedControl.CH_vc242.css" rel="stylesheet">
43
43
  <link href="../_app/immutable/assets/webmcp-ui-context.hO24Ni5w.css" rel="stylesheet">
@@ -53,15 +53,15 @@
53
53
 
54
54
  <script>
55
55
  {
56
- __sveltekit_1rcrkfs = {
56
+ __sveltekit_18i6w6w = {
57
57
  base: new URL("..", location).pathname.slice(0, -1)
58
58
  };
59
59
 
60
60
  const element = document.currentScript.parentElement;
61
61
 
62
62
  Promise.all([
63
- import("../_app/immutable/entry/start.iwVpBav6.js"),
64
- import("../_app/immutable/entry/app.jXgO31v0.js")
63
+ import("../_app/immutable/entry/start.yXp5URgB.js"),
64
+ import("../_app/immutable/entry/app.CdnA1Er5.js")
65
65
  ]).then(([kit, app]) => {
66
66
  kit.start(app, element, {
67
67
  node_ids: [0, 5],