{"version":3,"file":"shared-lib.CmcLs6IC.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/zZv182lBwBvs7vXTJH85/FejdNo0WUEva2x21XsfR/bookingResolver.js","https:/framerusercontent.com/modules/puFSqUxFPWvbVnkkXs5k/bWWdpMO7qmd6eC98A1kq/siteMetadata.js"],"sourcesContent":["import{useEffect,useState}from\"react\";const POPULAR_BREEDS=[\"Poodle\",\"Poodle Mix / Doodle\",\"Cocker Spaniel\",\"English Springer Spaniel\",\"Miniature Schnauzer\",\"Golden Retriever\",\"Labrador Retriever\",\"Pomeranian\",\"Shih Tzu\",\"Bichon Fris\\xe9\",\"Yorkshire Terrier\",\"West Highland White Terrier\",\"Chihuahua\",\"Dachshund\",\"Samoyed\",\"Mixed Breed / Other\"];const COMPREHENSIVE_BREED_OPTIONS=[\"Affenpinscher\",\"Afghan Hound\",\"Airedale Terrier\",\"Akita\",\"Alaskan Klee Kai\",\"Alaskan Malamute\",\"American Bulldog\",\"American Cocker Spaniel\",\"American Eskimo Dog\",\"American Foxhound\",\"American Hairless Terrier\",\"American Staffordshire Terrier\",\"American Water Spaniel\",\"Anatolian Shepherd Dog\",\"Appenzeller Sennenhund\",\"Australian Cattle Dog\",\"Australian Cobberdog\",\"Australian Kelpie\",\"Australian Shepherd\",\"Australian Silky Terrier\",\"Australian Terrier\",\"Azawakh\",\"Basenji\",\"Basset Fauve de Bretagne\",\"Basset Hound\",\"Bavarian Mountain Hound\",\"Beagle\",\"Bearded Collie\",\"Beauceron\",\"Bedlington Terrier\",\"Belgian Laekenois\",\"Belgian Malinois\",\"Belgian Sheepdog\",\"Belgian Tervuren\",\"Bergamasco Sheepdog\",\"Berger Picard\",\"Bernese Mountain Dog\",\"Bichon Fris\\xe9\",\"Biewer Terrier\",\"Black and Tan Coonhound\",\"Bloodhound\",\"Bluetick Coonhound\",\"Boerboel\",\"Bolognese\",\"Border Collie\",\"Border Terrier\",\"Borzoi\",\"Boston Terrier\",\"Bouvier des Flandres\",\"Boxer\",\"Boykin Spaniel\",\"Bracco Italiano\",\"Braque d'Auvergne\",\"Briard\",\"Brittany\",\"Broholmer\",\"Brussels Griffon\",\"Bull Terrier\",\"Bulldog\",\"Bullmastiff\",\"Cairn Terrier\",\"Canaan Dog\",\"Cane Corso\",\"Cardigan Welsh Corgi\",\"Carolina Dog\",\"Catahoula Leopard Dog\",\"Caucasian Shepherd Dog\",\"Cavalier King Charles Spaniel\",\"Cavapoo\",\"Central Asian Shepherd Dog\",\"Cesky Terrier\",\"Chesapeake Bay Retriever\",\"Chihuahua\",\"Chinese Crested\",\"Chinese Shar-Pei\",\"Chinook\",\"Chow Chow\",\"Cirneco dell'Etna\",\"Clumber Spaniel\",\"Cockapoo\",\"Cocker Spaniel\",\"Collie\",\"Coton de Tulear\",\"Curly-Coated Retriever\",\"Czechoslovakian Wolfdog\",\"Dachshund\",\"Dalmatian\",\"Dandie Dinmont Terrier\",\"Danish-Swedish Farmdog\",\"Deutscher Wachtelhund\",\"Doberman\",\"Dogo Argentino\",\"Dogue de Bordeaux\",\"Drentsche Patrijshond\",\"Dutch Shepherd\",\"English Cocker Spaniel\",\"English Foxhound\",\"English Setter\",\"English Springer Spaniel\",\"English Toy Spaniel\",\"Entlebucher Mountain Dog\",\"Estrela Mountain Dog\",\"Eurasier\",\"Field Spaniel\",\"Finnish Lapphund\",\"Finnish Spitz\",\"Flat-Coated Retriever\",\"Fox Terrier (Smooth)\",\"Fox Terrier (Wire)\",\"French Bulldog\",\"French Spaniel\",\"German Longhaired Pointer\",\"German Pinscher\",\"German Shepherd Dog\",\"German Shorthaired Pointer\",\"German Spitz\",\"German Wirehaired Pointer\",\"Giant Schnauzer\",\"Glen of Imaal Terrier\",\"Golden Retriever\",\"Gordon Setter\",\"Grand Basset Griffon Vend\\xe9en\",\"Great Dane\",\"Great Pyrenees\",\"Greater Swiss Mountain Dog\",\"Greyhound\",\"Hamiltonst\\xf6vare\",\"Hanoverian Scenthound\",\"Harrier\",\"Havanese\",\"Hokkaido\",\"Hovawart\",\"Ibizan Hound\",\"Icelandic Sheepdog\",\"Irish Red and White Setter\",\"Irish Setter\",\"Irish Terrier\",\"Irish Water Spaniel\",\"Irish Wolfhound\",\"Italian Greyhound\",\"Italian Spinone\",\"Jack Russell Terrier\",\"Japanese Chin\",\"Japanese Spitz\",\"Kai Ken\",\"Karelian Bear Dog\",\"Keeshond\",\"Kerry Blue Terrier\",\"Komondor\",\"Kooikerhondje\",\"Kuvasz\",\"Labrador Retriever\",\"Lagotto Romagnolo\",\"Lakeland Terrier\",\"Lancashire Heeler\",\"Leonberger\",\"Lhasa Apso\",\"Lowchen\",\"Maltese\",\"Maltipoo\",\"Manchester Terrier\",\"Maremma Sheepdog\",\"Mastiff\",\"Miniature Pinscher\",\"Miniature Schnauzer\",\"Mixed Breed / Other\",\"Mudi\",\"Neapolitan Mastiff\",\"Nederlandse Kooikerhondje\",\"Newfoundland\",\"Norfolk Terrier\",\"Norrbottenspets\",\"Norwegian Buhund\",\"Norwegian Elkhound\",\"Norwegian Lundehund\",\"Norwich Terrier\",\"Nova Scotia Duck Tolling Retriever\",\"Old English Sheepdog\",\"Otterhound\",\"Papillon\",\"Parson Russell Terrier\",\"Pekingese\",\"Pembroke Welsh Corgi\",\"Peruvian Inca Orchid\",\"Petit Basset Griffon Vend\\xe9en\",\"Pharaoh Hound\",\"Plott Hound\",\"Pointer\",\"Polish Lowland Sheepdog\",\"Pomeranian\",\"Poodle\",\"Poodle Mix / Doodle\",\"Portuguese Podengo\",\"Portuguese Pointer\",\"Portuguese Sheepdog\",\"Portuguese Water Dog\",\"Pug\",\"Puli\",\"Pumi\",\"Pyrenean Mastiff\",\"Pyrenean Shepherd\",\"Rafeiro do Alentejo\",\"Rat Terrier\",\"Redbone Coonhound\",\"Rhodesian Ridgeback\",\"Romanian Mioritic Shepherd Dog\",\"Rottweiler\",\"Russian Black Terrier\",\"Russian Toy\",\"Saint Bernard\",\"Saluki\",\"Samoyed\",\"Schapendoes\",\"Schipperke\",\"Scottish Deerhound\",\"Scottish Terrier\",\"Sealyham Terrier\",\"Shetland Sheepdog\",\"Shiba Inu\",\"Shih Tzu\",\"Siberian Husky\",\"Skye Terrier\",\"Sloughi\",\"Slovakian Wirehaired Pointer\",\"Slovensky Cuvac\",\"Small Munsterlander Pointer\",\"Soft Coated Wheaten Terrier\",\"Spanish Mastiff\",\"Spanish Water Dog\",\"Spinone Italiano\",\"Stabyhoun\",\"Staffordshire Bull Terrier\",\"Standard Schnauzer\",\"Sussex Spaniel\",\"Swedish Lapphund\",\"Swedish Vallhund\",\"Taiwan Dog\",\"Tibetan Mastiff\",\"Tibetan Spaniel\",\"Tibetan Terrier\",\"Tornjak\",\"Tosa\",\"Toy Fox Terrier\",\"Treeing Walker Coonhound\",\"Vizsla\",\"Weimaraner\",\"Welsh Springer Spaniel\",\"Welsh Terrier\",\"West Highland White Terrier\",\"Whippet\",\"White Swiss Shepherd Dog\",\"Wirehaired Pointing Griffon\",\"Wirehaired Vizsla\",\"Xoloitzcuintli\",\"Yakutian Laika\",\"Yorkshire Terrier\"];const BREED_VARIETY_APPENDICES={Poodle:[\"Toy Poodle\",\"Miniature Poodle\",\"Medium Poodle\",\"Standard Poodle\"],Dachshund:[\"Dachshund (Standard Smooth)\",\"Dachshund (Standard Longhaired)\",\"Dachshund (Standard Wirehaired)\",\"Dachshund (Miniature Smooth)\",\"Dachshund (Miniature Longhaired)\",\"Dachshund (Miniature Wirehaired)\"],Chihuahua:[\"Chihuahua (Smooth Coat)\",\"Chihuahua (Long Coat)\"],Cocker:[\"American Cocker Spaniel\",\"English Cocker Spaniel\"],\"English Springer Spaniel\":[\"English Springer Spaniel (Working Type)\",\"English Springer Spaniel (Show Type)\"],\"German Spitz\":[\"German Spitz (Wolfspitz / Keeshond)\",\"German Spitz (Giant)\",\"German Spitz (Medium)\",\"German Spitz (Miniature)\",\"German Spitz (Toy / Pomeranian)\"],\"Belgian Shepherd\":[\"Belgian Shepherd (Groenendael)\",\"Belgian Shepherd (Laekenois)\",\"Belgian Shepherd (Malinois)\",\"Belgian Shepherd (Tervuren)\"],Collie:[\"Collie (Rough)\",\"Collie (Smooth)\"],\"Portuguese Podengo\":[\"Portuguese Podengo Pequeno (Smooth)\",\"Portuguese Podengo Pequeno (Wire)\",\"Portuguese Podengo Medio (Smooth)\",\"Portuguese Podengo Medio (Wire)\",\"Portuguese Podengo Grande (Smooth)\",\"Portuguese Podengo Grande (Wire)\"],\"Peruvian Inca Orchid\":[\"Peruvian Inca Orchid (Small)\",\"Peruvian Inca Orchid (Medium)\",\"Peruvian Inca Orchid (Large)\"],Xoloitzcuintli:[\"Xoloitzcuintli (Toy)\",\"Xoloitzcuintli (Miniature)\",\"Xoloitzcuintli (Standard)\",\"Xoloitzcuintli (Hairless)\",\"Xoloitzcuintli (Coated)\"]};const SYSTEMATIC_VARIETY_BASES=[\"Affenpinscher\",\"Afghan Hound\",\"Airedale Terrier\",\"Akita\",\"Alaskan Malamute\",\"American Bulldog\",\"American Staffordshire Terrier\",\"Australian Cattle Dog\",\"Australian Shepherd\",\"Basenji\",\"Basset Hound\",\"Beagle\",\"Bearded Collie\",\"Bernese Mountain Dog\",\"Bloodhound\",\"Border Collie\",\"Border Terrier\",\"Borzoi\",\"Boston Terrier\",\"Boxer\",\"Bull Terrier\",\"Bulldog\",\"Bullmastiff\",\"Cane Corso\",\"Cavalier King Charles Spaniel\",\"Chesapeake Bay Retriever\",\"Chow Chow\",\"Dalmatian\",\"Doberman\",\"French Bulldog\",\"German Shepherd Dog\",\"German Shorthaired Pointer\",\"Giant Schnauzer\",\"Golden Retriever\",\"Great Dane\",\"Greyhound\",\"Havanese\",\"Irish Setter\",\"Irish Terrier\",\"Irish Wolfhound\",\"Italian Greyhound\",\"Jack Russell Terrier\",\"Keeshond\",\"Labrador Retriever\",\"Leonberger\",\"Lhasa Apso\",\"Maltese\",\"Mastiff\",\"Miniature Pinscher\",\"Miniature Schnauzer\",\"Newfoundland\",\"Norfolk Terrier\",\"Old English Sheepdog\",\"Papillon\",\"Pekingese\",\"Pharaoh Hound\",\"Pointer\",\"Pomeranian\",\"Portuguese Water Dog\",\"Pug\",\"Rhodesian Ridgeback\",\"Rottweiler\",\"Saint Bernard\",\"Saluki\",\"Samoyed\",\"Schipperke\",\"Scottish Terrier\",\"Shetland Sheepdog\",\"Shiba Inu\",\"Shih Tzu\",\"Siberian Husky\",\"Staffordshire Bull Terrier\",\"Standard Schnauzer\",\"Tibetan Terrier\",\"Vizsla\",\"Weimaraner\",\"West Highland White Terrier\",\"Whippet\",\"Yorkshire Terrier\"];const LINE_VARIANT_SUFFIX=/\\s*\\((Show Line|Working Line)\\)\\s*$/i;export const PUBLIC_BREED_OPTIONS=Array.from(new Set([...COMPREHENSIVE_BREED_OPTIONS,...Object.values(BREED_VARIETY_APPENDICES).flat(),...SYSTEMATIC_VARIETY_BASES.flatMap(breed=>[`${breed} (Show Line)`,`${breed} (Working Line)`]),\"Miniature Schnauzer (Pet Trim Variety)\",\"Standard Schnauzer (Pet Trim Variety)\",\"West Highland White Terrier (Pet Trim Variety)\",\"Poodle (Clipper / Scissor Variety)\",\"Chow Chow (Double-Coat Variety)\",...POPULAR_BREEDS,\"English Cocker Spaniel\",\"Golden Retriever\",\"Pomeranian\",\"Shih Tzu\",\"Mixed Breed / Other\",\"Chow Chow\",\"Poodle\",\"Miniature Schnauzer\",\"Standard Schnauzer\",\"West Highland White Terrier\"].filter(breed=>!LINE_VARIANT_SUFFIX.test(breed)))).sort((a,b)=>a.localeCompare(b));const SERVICE_BY_CATEGORY={\"curly-grooming\":[\"Full Groom\",\"Scissor Cut\",\"Clipper / Machine Cut\",\"Bath & Blow Dry\",\"Puppy Introduction\",\"Nail Care\"],\"long-silky\":[\"Full Groom\",\"Bath & Blow Dry\",\"Face & Feet Tidy\",\"Sanitary Tidy\",\"Puppy Introduction\",\"Nail Care\"],spaniel:[\"Full Groom\",\"Bath & Blow Dry\",\"Feather Tidy\",\"Spaniel Pet Trim\",\"Puppy Introduction\",\"Nail Care\"],\"double-coat\":[\"Bath & Blow Dry\",\"De-shedding\",\"Sanitary Tidy\",\"Puppy Introduction\",\"Nail Care\"],\"short-smooth\":[\"Bath & Blow Dry\",\"De-shedding\",\"Sanitary Tidy\",\"Puppy Introduction\",\"Nail Care\"],\"wire-hand-stripping\":[\"Hand Stripping\",\"Clipper Groom\",\"Bath & Blow Dry\",\"Puppy Introduction\",\"Nail Care\"],\"mixed-breed\":[\"Consultation Groom\"],\"unknown-other\":[\"Grooming Enquiry\"]};const CATEGORY_NOTES={\"curly-grooming\":\"Kr\\xf8llete pels: klipp og teknikk velges etter pels og \\xf8nsket uttrykk.\",\"long-silky\":\"Lang/silkemyk pels: sk\\xe5nsom b\\xf8rst, bad, f\\xf8n og tilpasset stuss.\",spaniel:\"Spanielpels: faner og linjer stusses etter pelsens tilstand.\",\"double-coat\":\"Dobbel pels: krever grundig underullsarbeid og tilpasset pelsstell.\",\"short-smooth\":\"Kort/glatt pels: bad, pelspleie og sm\\xe5stell.\",\"wire-hand-stripping\":\"Strih\\xe5ret pels: napping kan tilbys n\\xe5r pelsen egner seg.\",\"mixed-breed\":\"Blandingshund: velg pelstype og st\\xf8rrelse for \\xe5 se tjenester.\",\"unknown-other\":\"Ukjent kategori: velg pelstype og st\\xf8rrelse for \\xe5 se tjenester.\"};const COAT_SELECTION_TO_CATEGORY={\"curly-grooming\":\"curly-grooming\",\"long-silky\":\"long-silky\",spaniel:\"spaniel\",\"double-coat\":\"double-coat\",\"short-smooth\":\"short-smooth\",\"wire-hand-stripping\":\"wire-hand-stripping\"};function normalize(value){return value.trim().toLowerCase();}function normalizeAliasToken(value){return normalize(value).normalize(\"NFD\").replace(/[\\u0300-\\u036f]/g,\"\").replace(/\\s*\\([^)]*\\)\\s*/g,\" \").replace(/\\s+/g,\" \");}const BREED_ALIAS_TO_CANONICAL={\"german shepherd\":\"german shepherd dog\",\"german shepherd dog\":\"german shepherd dog\",schafer:\"german shepherd dog\",schaferhund:\"german shepherd dog\",\"berner sennenhund\":\"bernese mountain dog\"};function normalizeBreedAlias(value){const normalized=normalizeAliasToken(value);return BREED_ALIAS_TO_CANONICAL[normalized]||normalized;}const KNOWN_CANONICAL_SIZES={chihuahua:\"small\",\"chihuahua (smooth coat)\":\"small\",\"chihuahua (long coat)\":\"small\",\"golden retriever\":\"xlarge\",\"labrador retriever\":\"large\",\"german shepherd dog\":\"xlarge\",akita:\"xlarge\",\"standard poodle\":\"xlarge\",\"bernese mountain dog\":\"xxlarge\",\"alaskan malamute\":\"xxlarge\",newfoundland:\"xxlarge\",\"saint bernard\":\"xxlarge\"};function resolveSizedDoodle(normalizedBreed){if(!normalizedBreed.includes(\"doodle\"))return null;if(normalizedBreed.includes(\"toy\"))return\"small\";if(normalizedBreed.includes(\"miniature\")||normalizedBreed.includes(\"mini\"))return\"small\";if(normalizedBreed.includes(\"medium\"))return\"medium\";if(normalizedBreed.includes(\"standard\"))return\"xlarge\";return null;}function isAmbiguousManualSizeBreed(normalizedBreed){if(isExplicitMixedOrOther(normalizedBreed))return true;if(normalizedBreed.includes(\"crossbreed\")||normalizedBreed.includes(\"cross breed\")||normalizedBreed.includes(\"cross\")||normalizedBreed.includes(\"mix\")||normalizedBreed.includes(\"blanding\")){return true;}if(normalizedBreed.includes(\"doodle\")){return resolveSizedDoodle(normalizedBreed)===null;}return false;}function resolveCanonicalDogSize(normalizedBreed){if(isAmbiguousManualSizeBreed(normalizedBreed))return null;const direct=KNOWN_CANONICAL_SIZES[normalizedBreed];if(direct)return direct;const doodleSize=resolveSizedDoodle(normalizedBreed);if(doodleSize)return doodleSize;return null;}function dedupe(values){return Array.from(new Set(values.filter(Boolean)));}const NORMALIZED_PUBLIC_OPTIONS=new Set(PUBLIC_BREED_OPTIONS.map(breed=>normalize(breed)));function isExplicitMixedOrOther(normalizedBreed){return normalizedBreed.includes(\"mixed breed\")||normalizedBreed.includes(\"blandingshund\")||normalizedBreed.includes(\"other\")||normalizedBreed.includes(\"annen\");}function categoryForBreed(normalizedBreed){if(!normalizedBreed)return\"unknown-other\";if(isExplicitMixedOrOther(normalizedBreed))return\"mixed-breed\";const isKnownPublicBreed=NORMALIZED_PUBLIC_OPTIONS.has(normalizedBreed);if(normalizedBreed.includes(\"hairless\")||normalizedBreed.includes(\"xoloitzcuintli\")){return\"short-smooth\";}if(normalizedBreed.includes(\"poodle\")||normalizedBreed.includes(\"doodle\")||normalizedBreed.includes(\"cockapoo\")||normalizedBreed.includes(\"cavapoo\")||normalizedBreed.includes(\"maltipoo\")||normalizedBreed.includes(\"cobberdog\")||normalizedBreed.includes(\"bichon\")||normalizedBreed.includes(\"lagotto\"))return\"curly-grooming\";if(normalizedBreed.includes(\"spaniel\")||normalizedBreed.includes(\"setter\"))return\"spaniel\";if(normalizedBreed.includes(\"schnauzer\")||normalizedBreed.includes(\"wire\")||normalizedBreed.includes(\"fox terrier\")||normalizedBreed.includes(\"welsh terrier\")||normalizedBreed.includes(\"airedale\")||normalizedBreed.includes(\"scottish terrier\")||normalizedBreed.includes(\"west highland\")||normalizedBreed.includes(\"border terrier\"))return\"wire-hand-stripping\";if(normalizedBreed.includes(\"chow chow\")||normalizedBreed.includes(\"samoyed\")||normalizedBreed.includes(\"pomeranian\")||normalizedBreed.includes(\"spitz\")||normalizedBreed.includes(\"husky\")||normalizedBreed.includes(\"newfoundland\")||normalizedBreed.includes(\"retriever\")||normalizedBreed.includes(\"collie\")||normalizedBreed.includes(\"sheepdog\")||normalizedBreed.includes(\"buhund\")||normalizedBreed.includes(\"elkhound\")||normalizedBreed.includes(\"lapphund\"))return\"double-coat\";if(normalizedBreed.includes(\"shih tzu\")||normalizedBreed.includes(\"maltese\")||normalizedBreed.includes(\"yorkshire\")||normalizedBreed.includes(\"havanese\")||normalizedBreed.includes(\"lhasa\")||normalizedBreed.includes(\"afghan\")||normalizedBreed.includes(\"papillon\"))return\"long-silky\";if(normalizedBreed.includes(\"terrier\")&&!normalizedBreed.includes(\"wire\"))return\"short-smooth\";if(normalizedBreed.includes(\"smooth\")||normalizedBreed.includes(\"shorthaired\")||normalizedBreed.includes(\"short-haired\")||normalizedBreed.includes(\"doberman\")||normalizedBreed.includes(\"boxer\")||normalizedBreed.includes(\"bulldog\")||normalizedBreed.includes(\"whippet\")||normalizedBreed.includes(\"greyhound\"))return\"short-smooth\";if(isKnownPublicBreed)return\"short-smooth\";return\"unknown-other\";}function overrideServices(normalizedBreed,baseServices){let services=[...baseServices];if(normalizedBreed.includes(\"poodle\")||normalizedBreed.includes(\"doodle\")||normalizedBreed.includes(\"cockapoo\")||normalizedBreed.includes(\"cavapoo\")||normalizedBreed.includes(\"maltipoo\")||normalizedBreed.includes(\"cobberdog\")){services=dedupe([\"Clipper / Scissor Groom\",\"Teddy / Pet Clip\",\"Breed Standard Clip\",\"Asian Fusion\",...services]);}if(normalizedBreed.includes(\"spaniel\")){services=dedupe([\"Spaniel Pet Trim\",...services]);}if(normalizedBreed.includes(\"chow chow\")||normalizedBreed.includes(\"samoyed\")){services=services.filter(service=>service!==\"Full Groom\"&&service!==\"Clipper / Machine Cut\"&&service!==\"Clipper Groom\");}if(normalizedBreed.includes(\"retriever\")||normalizedBreed.includes(\"spitz\")||normalizedBreed.includes(\"husky\")){services=services.filter(service=>service!==\"Full Groom\"&&service!==\"Clipper / Machine Cut\"&&service!==\"Clipper Groom\");}if(normalizedBreed.includes(\"bulldog\")||normalizedBreed.includes(\"boxer\")||normalizedBreed.includes(\"whippet\")||normalizedBreed.includes(\"greyhound\")){services=services.filter(service=>service!==\"Full Groom\"&&service!==\"Clipper / Machine Cut\"&&service!==\"Clipper Groom\");}return dedupe(services.length>0?services:[\"Grooming Enquiry\"]);}export function resolveBreedServices(input){const breed=input.breed||\"\";const normalizedBreed=normalizeBreedAlias(breed);const byBreedCategory=categoryForBreed(normalizedBreed);const selectedCoatCategory=COAT_SELECTION_TO_CATEGORY[normalize(input.coatType||\"\")];const requiresCoatSizeSelection=byBreedCategory===\"mixed-breed\"||byBreedCategory===\"unknown-other\";const resolvedCanonicalSize=resolveCanonicalDogSize(normalizedBreed);const requiresManualSizeSelection=Boolean(normalizedBreed)&&resolvedCanonicalSize===null;const hasCoatAndSize=Boolean(selectedCoatCategory&&input.size&&input.size.trim());const category=requiresCoatSizeSelection?hasCoatAndSize?selectedCoatCategory:byBreedCategory:byBreedCategory;const baseServices=requiresCoatSizeSelection&&!hasCoatAndSize?[]:SERVICE_BY_CATEGORY[category]||[];const allowedServices=overrideServices(normalizedBreed,baseServices);const supportsStyleTechnique=(normalizedBreed.includes(\"poodle\")||normalizedBreed.includes(\"doodle\")||normalizedBreed.includes(\"cockapoo\")||normalizedBreed.includes(\"cavapoo\")||normalizedBreed.includes(\"maltipoo\")||normalizedBreed.includes(\"cobberdog\"))&&allowedServices.some(service=>[\"Clipper / Scissor Groom\",\"Scissor Cut\",\"Clipper / Machine Cut\",\"Full Groom\"].includes(service));return{breed,normalizedBreed,category,allowedServices,requiresCoatSizeSelection:requiresCoatSizeSelection&&!hasCoatAndSize,resolvedCanonicalSize,requiresManualSizeSelection,supportsStyleTechnique,note:CATEGORY_NOTES[category]||CATEGORY_NOTES[\"unknown-other\"]};}export function getPublicBreedOptions(){return PUBLIC_BREED_OPTIONS;}export function runBreedResolverSelfTest(){const unique=Array.from(new Set(PUBLIC_BREED_OPTIONS));let missing=0;let requiresSelectionBreeds=0;const categories={\"curly-grooming\":0,\"long-silky\":0,spaniel:0,\"double-coat\":0,\"short-smooth\":0,\"wire-hand-stripping\":0,\"mixed-breed\":0,\"unknown-other\":0};const failures=[];unique.forEach(breed=>{const firstPass=resolveBreedServices({breed});categories[firstPass.category]+=1;if(firstPass.requiresCoatSizeSelection){requiresSelectionBreeds+=1;const secondPass=resolveBreedServices({breed,coatType:\"curly-grooming\",size:\"medium\"});if(secondPass.allowedServices.length===0){missing+=1;failures.push(breed);}return;}if(firstPass.allowedServices.length===0){missing+=1;failures.push(breed);}});return{totalBreeds:unique.length,coveredBreeds:unique.length-missing,uncoveredBreeds:missing,requiresSelectionBreeds,categories,failures};}// Empty by design for now. Add category/service-specific entries here as\n// real per-service timing data becomes available, e.g.\n// \"double-coat\": { \"De-shedding\": { large: 165 } }\nexport const DURATION_CONFIG={};export const SHORT_SERVICE_DURATIONS={\"Nail Care\":{calendarMinutes:15,estimatedWorkMinutes:10,displayMinutes:10},\"Mini groom\":{calendarMinutes:15,estimatedWorkMinutes:20,displayMinutes:20}};// Services with a fixed calendar duration regardless of dog size, derived\n// from SHORT_SERVICE_DURATIONS so the values are defined in one place.\nexport const FIXED_SERVICE_DURATIONS=Object.fromEntries(Object.entries(SHORT_SERVICE_DURATIONS).map(([service,durations])=>[service,durations.calendarMinutes]));// The project's existing size-based timing, preserved exactly as the\n// fallback/default used whenever DURATION_CONFIG has no specific entry.\nexport const DEFAULT_SIZE_DURATIONS={small:{single:105,multi:120},medium:{single:120,multi:140},large:{single:150,multi:180},xlarge:{single:180,multi:210},xxlarge:{single:210,multi:240}};export function getDurationMinutes(input){const{category,service,size,selectedServiceCount,manualOverrideMinutes}=input;if(typeof manualOverrideMinutes===\"number\"&&Number.isFinite(manualOverrideMinutes)&&manualOverrideMinutes>0)return manualOverrideMinutes;if(service&&FIXED_SERVICE_DURATIONS[service]!==undefined)return FIXED_SERVICE_DURATIONS[service];const normalizedSize=(size||\"\").trim().toLowerCase();const isMultiService=selectedServiceCount>=2;const configured=category&&service?DURATION_CONFIG[category]?.[service]?.[normalizedSize]:undefined;if(typeof configured===\"number\")return configured;const defaults=DEFAULT_SIZE_DURATIONS[normalizedSize];if(!defaults)return null;if(isMultiService)return defaults.multi;// Normal duration per size comes from the database config. The constant\n// above is only a TEMPORARY fallback until the config has loaded, to be\n// removed once the legacy resolver is retired.\nconst configuredMinutes=bookingConfigState.config?.normal_minutes_by_size?.[normalizedSize];return typeof configuredMinutes===\"number\"?configuredMinutes:defaults.single;}// Internal estimated work minutes. Only short services define this\n// separately; other services return null (no separate estimate, as before).\nexport function getEstimatedWorkMinutes(service){if(!service)return null;return SHORT_SERVICE_DURATIONS[service]?.estimatedWorkMinutes??null;}// Customer-facing duration. Short services use their display value; all\n// other services keep showing the calendar duration, as before.\nexport function getDisplayDurationMinutes(input){const shortService=input.service?SHORT_SERVICE_DURATIONS[input.service]:undefined;if(shortService)return shortService.displayMinutes;return getDurationMinutes(input);}// ===========================================================================\n// Data-driven public booking config (Supabase is the source of truth).\n// One read-only RPC (get_public_booking_config) returns the public breed list,\n// aliases, coat requirement, default size, allowed services and the normal\n// duration per size. Everything below only looks those values up.\n//\n// Still taken from the legacy resolver above (not modelled in the database\n// yet): supportsStyleTechnique, the category note, and the placeholder\n// service shown while coat type / size are still missing.\n// ===========================================================================\nconst BOOKING_CONFIG_URL=\"https://hplojprfggpgbunxpnha.supabase.co/rest/v1/rpc/get_public_booking_config\";const BOOKING_CONFIG_KEY=\"sb_publishable_SNytvIAUymAH18_Ykb3tLQ_ZbVgIk1Y\";let bookingConfigState={status:\"loading\",config:null,failures:0};let bookingConfigRequest=null;const bookingConfigListeners=new Set;function setBookingConfigState(next){bookingConfigState=next;bookingConfigListeners.forEach(listener=>listener());}function isPublicBookingConfig(value){return Boolean(value&&Array.isArray(value.breeds)&&value.breeds.length>0&&value.breeds.every(item=>item&&typeof item.name===\"string\"&&Array.isArray(item.services))&&value.coat_groups&&typeof value.coat_groups===\"object\"&&value.aliases&&typeof value.aliases===\"object\"&&value.normal_minutes_by_size&&typeof value.normal_minutes_by_size===\"object\");}export function loadPublicBookingConfig(force=false){if(typeof window===\"undefined\")return;if(bookingConfigRequest)return;if(bookingConfigState.status===\"ready\"&&!force)return;const failures=bookingConfigState.failures;setBookingConfigState({status:\"loading\",config:null,failures});bookingConfigRequest=fetch(BOOKING_CONFIG_URL,{method:\"POST\",headers:{apikey:BOOKING_CONFIG_KEY,\"Content-Type\":\"application/json\"},body:\"{}\"}).then(response=>{if(!response.ok)throw new Error(\"booking config unavailable\");return response.json();}).then(data=>{if(!isPublicBookingConfig(data))throw new Error(\"booking config invalid\");setBookingConfigState({status:\"ready\",config:data,failures:0});}).catch(()=>{// Fail closed: no config means no services and no Continue.\nsetBookingConfigState({status:\"error\",config:null,failures:failures+1});}).finally(()=>{bookingConfigRequest=null;});}export function getPublicBookingConfigSnapshot(){return bookingConfigState.config;}export function usePublicBookingConfig(){const[state,setState]=useState(bookingConfigState);useEffect(()=>{const listener=()=>setState(bookingConfigState);bookingConfigListeners.add(listener);listener();loadPublicBookingConfig();return()=>{bookingConfigListeners.delete(listener);};},[]);return{...state,retry:()=>loadPublicBookingConfig(true)};}function normalizeConfigKey(value){return normalize(value||\"\").replace(/\\s+/g,\" \");}function findConfigBreed(config,breed){const key=normalizeConfigKey(breed);if(!key)return null;const aliasTarget=config.aliases[key];const target=aliasTarget?normalizeConfigKey(aliasTarget):key;return config.breeds.find(item=>normalizeConfigKey(item.name)===key)||config.breeds.find(item=>normalizeConfigKey(item.name)===target)||null;}// Same shape as resolveBreedServices, but breed, aliases, coat requirement,\n// default size and allowed services come from the database config.\n// Without a config it fails closed (no services, selection required).\nexport function resolveBreedServicesFromConfig(config,input){// A manually typed breed name is never interpreted: the legacy resolver\n// (used only for texts not modelled in the database yet) gets no name,\n// so nothing is inferred from what the customer typed.\nconst legacy=resolveBreedServices(input.breedSource===\"manual\"?{...input,breed:\"\"}:input);if(!config){return{...legacy,allowedServices:[],requiresCoatSizeSelection:true,resolvedCanonicalSize:null,requiresManualSizeSelection:true,supportsStyleTechnique:false};}// A manually typed breed is an explicit choice (breedSource \"manual\"): it is\n// never looked up by name and always uses the coat group the customer picks.\nconst isManualBreed=input.breedSource===\"manual\";const row=isManualBreed?null:findConfigBreed(config,input.breed||\"\");if(!row&&!isManualBreed){// Configured source but not in the configuration: fail closed.\nreturn{...legacy,allowedServices:[],requiresCoatSizeSelection:true,resolvedCanonicalSize:null,requiresManualSizeSelection:true,supportsStyleTechnique:false};}const needsCoat=!row||row.requires_coat_selection;const coat=normalizeConfigKey(input.coatType||\"\");const coatServices=config.coat_groups[coat];const hasCoatAndSize=Boolean(coatServices&&input.size&&input.size.trim());const category=needsCoat?hasCoatAndSize?coat:legacy.category:row.coat_group||legacy.category;const configuredServices=needsCoat?hasCoatAndSize?coatServices:row?legacy.allowedServices:[]:row.services;// \"Mini groom\" is appended by the service panel itself, as before.\nconst allowedServices=configuredServices.filter(service=>service!==\"Mini groom\");const defaultSize=row&&row.default_size?row.default_size:null;const noteSource=needsCoat?legacy:resolveBreedServices({breed:input.breed,coatType:category,size:\"medium\"});return{...legacy,breed:input.breed,category,allowedServices,requiresCoatSizeSelection:needsCoat&&!hasCoatAndSize,resolvedCanonicalSize:defaultSize,requiresManualSizeSelection:Boolean(normalizeConfigKey(input.breed||\"\"))&&!defaultSize,note:!needsCoat&&noteSource.category!==category?CATEGORY_NOTES[category]||noteSource.note:noteSource.note};}// config v1\n\nexport const __FramerMetadata__ = {\"exports\":{\"getPublicBookingConfigSnapshot\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SHORT_SERVICE_DURATIONS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"runBreedResolverSelfTest\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CoatCategory\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FIXED_SERVICE_DURATIONS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DEFAULT_SIZE_DURATIONS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShortServiceDuration\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PublicBookingBreed\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getDisplayDurationMinutes\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BreedResolution\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getEstimatedWorkMinutes\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PublicBookingConfigStatus\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PublicBookingConfig\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getDurationMinutes\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DurationSize\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"resolveBreedServices\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BreedResolutionInput\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getPublicBreedOptions\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CanonicalDogSize\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"loadPublicBookingConfig\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DurationConfig\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"resolveBreedServicesFromConfig\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"usePublicBookingConfig\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PUBLIC_BREED_OPTIONS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DurationLookupInput\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DURATION_CONFIG\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./bookingResolver.map","// Generated by Framer (e503c47)\nexport default function metadata(params,activeLocale){return{description:\"Professional dog grooming in the heart of Frogner, Oslo.\",robots:\"max-image-preview:large\",title:\"The Dogs Barber\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":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