@embedreach/components 0.3.36 → 0.3.38
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.
- package/dist/chunks/index.js +3576 -2584
- package/dist/chunks/sandbox-loading-screen.js +157 -3
- package/dist/index.umd.js +10 -10
- package/dist/styles.css +2 -2
- package/package.json +1 -1
|
@@ -20702,8 +20702,13 @@ const PLATFORM_ID_MAPPING = {
|
|
|
20702
20702
|
// Renterra platform IDs
|
|
20703
20703
|
"0195c8e3-2185-7323-a3f5-0be8f1395240": "renterra",
|
|
20704
20704
|
// Renterra dev
|
|
20705
|
-
"4277dfb9-7535-4206-962d-3f29ad143d8a": "renterra"
|
|
20705
|
+
"4277dfb9-7535-4206-962d-3f29ad143d8a": "renterra",
|
|
20706
20706
|
// Renterra prod
|
|
20707
|
+
// Policylift platform IDs
|
|
20708
|
+
"01993333-cdb4-7f52-bfa1-be205ae084f0": "policylift",
|
|
20709
|
+
// Policylift prod
|
|
20710
|
+
"01993335-40d5-7a8d-9067-018ae047753c": "policylift"
|
|
20711
|
+
// Policylift staging
|
|
20707
20712
|
};
|
|
20708
20713
|
const getPlatformConfigKey = (platformId) => {
|
|
20709
20714
|
if (!platformId) return "default";
|
|
@@ -20747,6 +20752,25 @@ const defaultPlatformConfigs = {
|
|
|
20747
20752
|
"Tampa, FL",
|
|
20748
20753
|
"Evanston, IL"
|
|
20749
20754
|
]
|
|
20755
|
+
},
|
|
20756
|
+
policylift: {
|
|
20757
|
+
id: "policylift",
|
|
20758
|
+
name: "Policylift",
|
|
20759
|
+
brandColors: ["#1e40af", "#059669", "#dc2626", "#7c2d12"],
|
|
20760
|
+
locationNames: [
|
|
20761
|
+
"Austin, Texas",
|
|
20762
|
+
"Dallas, Texas",
|
|
20763
|
+
"Houston, Texas",
|
|
20764
|
+
"San Antonio, Texas",
|
|
20765
|
+
"El Paso, Texas"
|
|
20766
|
+
],
|
|
20767
|
+
locationAreas: [
|
|
20768
|
+
"Austin, TX",
|
|
20769
|
+
"Dallas, TX",
|
|
20770
|
+
"Houston, TX",
|
|
20771
|
+
"San Antonio, TX",
|
|
20772
|
+
"El Paso, TX"
|
|
20773
|
+
]
|
|
20750
20774
|
}
|
|
20751
20775
|
};
|
|
20752
20776
|
const getPlatformConfig = (platformId) => {
|
|
@@ -21017,6 +21041,39 @@ const businessConfigs = {
|
|
|
21017
21041
|
},
|
|
21018
21042
|
logoUrl: "https://static.vecteezy.com/system/resources/previews/043/794/103/non_2x/heavy-equipment-rental-and-service-logo-design-vector.jpg"
|
|
21019
21043
|
}
|
|
21044
|
+
},
|
|
21045
|
+
policylift: {
|
|
21046
|
+
name: "Texas Insurance Brokers",
|
|
21047
|
+
website: "https://www.texas-insurance.com/",
|
|
21048
|
+
tagline: "Trusted Texas insurance with 24+ years of experience",
|
|
21049
|
+
locations: [
|
|
21050
|
+
{
|
|
21051
|
+
addressLine1: "Fort Worth",
|
|
21052
|
+
addressLine2: "",
|
|
21053
|
+
locality: "Fort Worth",
|
|
21054
|
+
district: "TX",
|
|
21055
|
+
postalCode: "76102",
|
|
21056
|
+
countryCode: "US"
|
|
21057
|
+
}
|
|
21058
|
+
],
|
|
21059
|
+
branding: {
|
|
21060
|
+
brandName: "Texas Insurance Brokers",
|
|
21061
|
+
primaryColor: "#1e40af",
|
|
21062
|
+
secondaryColors: ["#dc2626", "#059669", "#7c2d12"],
|
|
21063
|
+
brandTagline: "Trusted Texas insurance with 24+ years of experience",
|
|
21064
|
+
brandPersonality: {
|
|
21065
|
+
tone: "professional",
|
|
21066
|
+
voice: "trustworthy",
|
|
21067
|
+
values: ["trust", "experience", "local expertise"]
|
|
21068
|
+
},
|
|
21069
|
+
colorPalette: {
|
|
21070
|
+
primary: "#1e40af",
|
|
21071
|
+
accent: ["#dc2626", "#059669", "#7c2d12"],
|
|
21072
|
+
background: ["#dbeafe", "#f0fdf4", "#fef2f2"],
|
|
21073
|
+
text: ["#1e3a8a", "#166534", "#991b1b"]
|
|
21074
|
+
},
|
|
21075
|
+
logoUrl: "https://static.vecteezy.com/system/resources/previews/043/794/103/non_2x/heavy-equipment-rental-and-service-logo-design-vector.jpg"
|
|
21076
|
+
}
|
|
21020
21077
|
}
|
|
21021
21078
|
};
|
|
21022
21079
|
const getBusinessConfig = (platformId) => {
|
|
@@ -21416,6 +21473,84 @@ const createWebPresenceContentFactory = (platformConfig, businessConfig) => {
|
|
|
21416
21473
|
]
|
|
21417
21474
|
}
|
|
21418
21475
|
);
|
|
21476
|
+
} else if (platformConfig.id === "policylift") {
|
|
21477
|
+
baseAdGroups.push(
|
|
21478
|
+
{
|
|
21479
|
+
ad: {
|
|
21480
|
+
headlines: [
|
|
21481
|
+
"Texas Auto Insurance",
|
|
21482
|
+
"Fort Worth Car Coverage",
|
|
21483
|
+
"Get Quote Today",
|
|
21484
|
+
"24+ Years Experience",
|
|
21485
|
+
"Fast Same-Day Service",
|
|
21486
|
+
"Affordable Texas Rates"
|
|
21487
|
+
],
|
|
21488
|
+
descriptions: [
|
|
21489
|
+
"Trusted Texas auto insurance with 24+ years of experience. Get competitive rates and fast service.",
|
|
21490
|
+
"Protect your vehicle with customized coverage from Texas Insurance Brokers. Call now!"
|
|
21491
|
+
]
|
|
21492
|
+
},
|
|
21493
|
+
adUrl: "https://www.texas-insurance.com/sub-coverage-lines/personal-auto",
|
|
21494
|
+
theme: "Texas Auto Insurance",
|
|
21495
|
+
keywords: [
|
|
21496
|
+
"texas auto insurance quotes",
|
|
21497
|
+
"fort worth car insurance",
|
|
21498
|
+
"texas vehicle insurance",
|
|
21499
|
+
"auto insurance texas",
|
|
21500
|
+
"car insurance fort worth"
|
|
21501
|
+
]
|
|
21502
|
+
},
|
|
21503
|
+
{
|
|
21504
|
+
ad: {
|
|
21505
|
+
headlines: [
|
|
21506
|
+
"Texas Home Insurance",
|
|
21507
|
+
"Homeowners Coverage TX",
|
|
21508
|
+
"Protect Your Home Now",
|
|
21509
|
+
"Personalized Policies",
|
|
21510
|
+
"Expert Texas Service",
|
|
21511
|
+
"Peace of Mind Coverage"
|
|
21512
|
+
],
|
|
21513
|
+
descriptions: [
|
|
21514
|
+
"Comprehensive homeowners insurance tailored for Texas families. Expert local service you can trust.",
|
|
21515
|
+
"Safeguard your Texas home with customized coverage. Get your free quote from local experts today."
|
|
21516
|
+
]
|
|
21517
|
+
},
|
|
21518
|
+
adUrl: "https://www.texas-insurance.com/sub-coverage-lines/homeowners-insurance",
|
|
21519
|
+
theme: "Texas Home Insurance",
|
|
21520
|
+
keywords: [
|
|
21521
|
+
"texas homeowners insurance",
|
|
21522
|
+
"home insurance texas",
|
|
21523
|
+
"texas property insurance",
|
|
21524
|
+
"homeowners coverage texas",
|
|
21525
|
+
"texas home protection"
|
|
21526
|
+
]
|
|
21527
|
+
},
|
|
21528
|
+
{
|
|
21529
|
+
ad: {
|
|
21530
|
+
headlines: [
|
|
21531
|
+
"Texas Business Insurance",
|
|
21532
|
+
"Commercial Coverage TX",
|
|
21533
|
+
"Protect Your Business",
|
|
21534
|
+
"General Liability Included",
|
|
21535
|
+
"Texas Business Experts",
|
|
21536
|
+
"Comprehensive Protection"
|
|
21537
|
+
],
|
|
21538
|
+
descriptions: [
|
|
21539
|
+
"Complete commercial insurance solutions for Texas businesses. Workers comp, liability, and more.",
|
|
21540
|
+
"Protect your Texas business with expert commercial coverage. Get competitive rates and local service."
|
|
21541
|
+
]
|
|
21542
|
+
},
|
|
21543
|
+
adUrl: "https://www.texas-insurance.com/coverage-lines/coverage-line-10",
|
|
21544
|
+
theme: "Texas Business Insurance",
|
|
21545
|
+
keywords: [
|
|
21546
|
+
"texas business insurance",
|
|
21547
|
+
"commercial insurance texas",
|
|
21548
|
+
"texas liability insurance",
|
|
21549
|
+
"business coverage texas",
|
|
21550
|
+
"texas workers compensation"
|
|
21551
|
+
]
|
|
21552
|
+
}
|
|
21553
|
+
);
|
|
21419
21554
|
} else {
|
|
21420
21555
|
baseAdGroups.push(
|
|
21421
21556
|
{
|
|
@@ -21479,7 +21614,7 @@ const createSandboxMeasureAndAcquireData = (platformId, businessId) => {
|
|
|
21479
21614
|
const platformConfigKey = getPlatformConfigKey(platformId);
|
|
21480
21615
|
const platformConfig = {
|
|
21481
21616
|
id: platformConfigKey,
|
|
21482
|
-
name: platformConfigKey === "goose" ? "Paws Pet Hotel" : platformConfigKey === "renterra" ? "Tomers Rentals" : "Default",
|
|
21617
|
+
name: platformConfigKey === "goose" ? "Paws Pet Hotel" : platformConfigKey === "renterra" ? "Tomers Rentals" : platformConfigKey === "policylift" ? "Policylift" : "Default",
|
|
21483
21618
|
brandColors: [],
|
|
21484
21619
|
locationNames: [],
|
|
21485
21620
|
locationAreas: []
|
|
@@ -21672,6 +21807,21 @@ const renterraPlatformData = {
|
|
|
21672
21807
|
...renterraMeasureAndAcquireData,
|
|
21673
21808
|
reputationData: renterraReputationData
|
|
21674
21809
|
};
|
|
21810
|
+
const policyliftPlatformId = "01993333-cdb4-7f52-bfa1-be205ae084f0";
|
|
21811
|
+
const policyliftBusinessId = defaultPlatformData.businessesMe.id;
|
|
21812
|
+
const policyliftMeasureAndAcquireData = createSandboxMeasureAndAcquireData(
|
|
21813
|
+
policyliftPlatformId,
|
|
21814
|
+
policyliftBusinessId
|
|
21815
|
+
);
|
|
21816
|
+
const policyliftReputationData = createSandboxReputationData(
|
|
21817
|
+
policyliftPlatformId,
|
|
21818
|
+
policyliftBusinessId
|
|
21819
|
+
);
|
|
21820
|
+
const policyliftPlatformData = {
|
|
21821
|
+
// Use factory-generated data
|
|
21822
|
+
...policyliftMeasureAndAcquireData,
|
|
21823
|
+
reputationData: policyliftReputationData
|
|
21824
|
+
};
|
|
21675
21825
|
const sandboxDataStore = {
|
|
21676
21826
|
// Goose dev platform ID
|
|
21677
21827
|
"01958180-06a0-7681-8064-6834e166d2e4": goosePlatformData,
|
|
@@ -21681,6 +21831,10 @@ const sandboxDataStore = {
|
|
|
21681
21831
|
"0195c8e3-2185-7323-a3f5-0be8f1395240": renterraPlatformData,
|
|
21682
21832
|
// Renterra prod platform ID
|
|
21683
21833
|
"4277dfb9-7535-4206-962d-3f29ad143d8a": renterraPlatformData,
|
|
21834
|
+
// Policylift prod platform ID
|
|
21835
|
+
"01993333-cdb4-7f52-bfa1-be205ae084f0": policyliftPlatformData,
|
|
21836
|
+
// Policylift staging platform ID
|
|
21837
|
+
"01993335-40d5-7a8d-9067-018ae047753c": policyliftPlatformData,
|
|
21684
21838
|
// Default fallback if platform ID isn't mapped
|
|
21685
21839
|
default: defaultPlatformData
|
|
21686
21840
|
};
|
|
@@ -24587,7 +24741,7 @@ const voiceHandlers = [
|
|
|
24587
24741
|
success: true,
|
|
24588
24742
|
message: "Success (Sandbox)",
|
|
24589
24743
|
data: {
|
|
24590
|
-
|
|
24744
|
+
results: paginatedItems,
|
|
24591
24745
|
pagination: {
|
|
24592
24746
|
hasNextPage,
|
|
24593
24747
|
cursor: hasNextPage ? endIndex.toString() : void 0
|