@bagelink/vue 1.20.64 → 1.20.67
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/components/Btn.vue.d.ts +12 -1
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/index.vue.d.ts.map +1 -1
- package/dist/core.css +2 -2
- package/dist/index.cjs +9 -36
- package/dist/index.css +1 -1
- package/dist/index.mjs +15 -38
- package/dist/style.css +2 -2
- package/package.json +2 -2
- package/src/components/Btn.vue +20 -2
- package/src/components/form/inputs/RichText/editor.css +6 -25
- package/src/components/form/inputs/RichText/index.vue +7 -34
- package/src/styles/color-variants.css +81 -0
- package/src/styles/dark.css +11 -0
- package/src/styles/rich-content.css +5 -31
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const bs=require("./chunk-Bt6Bclq5.cjs");let l=require("vue"),en=require("vue-router");var Ny=(0,l.defineComponent)({__name:"Accordion",setup(e){return(0,l.provide)("accordionState",(0,l.reactive)({openItem:void 0})),(t,a)=>((0,l.openBlock)(),(0,l.createElementBlock)("div",null,[(0,l.renderSlot)(t.$slots,"default")]))}}),yy=Ny;const vu=["monero","hooli","yelp","cc-visa","lastfm","shopware","creative-commons-nc","aws","redhat","yoast","cloudflare","ups","pixiv","wpexplorer","dyalog","bity","stackpath","buysellads","first-order","modx","guilded","vnv","square-js","microsoft","qq","orcid","java","invision","creative-commons-pd-alt","centercode","glide-g","drupal","jxl","dart-lang","hire-a-helper","creative-commons-by","unity","whmcs","rocketchat","vk","untappd","mailchimp","css3-alt","square-reddit","vimeo-v","contao","square-font-awesome","deskpro","brave","sistrix","square-instagram","battle-net","the-red-yeti","square-hacker-news","edge","threads","napster","square-snapchat","google-plus-g","artstation","markdown","sourcetree","google-plus","diaspora","foursquare","stack-overflow","github-alt","phoenix-squadron","pagelines","algolia","red-river","creative-commons-sa","safari","google","square-font-awesome-stroke","atlassian","linkedin-in","digital-ocean","nimblr","chromecast","evernote","hacker-news","creative-commons-sampling","adversal","creative-commons","watchman-monitoring","fonticons","weixin","shirtsinbulk","codepen","git-alt","lyft","rev","windows","wizards-of-the-coast","square-viadeo","meetup","centos","adn","cloudsmith","opensuse","pied-piper-alt","square-dribbble","codiepie","node","mix","steam","cc-apple-pay","scribd","debian","openid","instalod","files-pinwheel","expeditedssl","sellcast","square-twitter","r-project","delicious","freebsd","vuejs","accusoft","ioxhost","fonticons-fi","app-store","cc-mastercard","itunes-note","golang","kickstarter","grav","weibo","uncharted","firstdraft","square-youtube","wikipedia-w","wpressr","angellist","galactic-republic","nfc-directional","skype","joget","fedora","stripe-s","meta","laravel","hotjar","bluetooth-b","square-letterboxd","sticker-mule","creative-commons-zero","hips","css","behance","reddit","discord","chrome","app-store-ios","cc-discover","wpbeginner","confluence","shoelace","mdb","dochub","accessible-icon","ebay","amazon","unsplash","yarn","square-steam","500px","square-vimeo","asymmetrik","font-awesome","gratipay","apple","hive","gitkraken","keybase","apple-pay","padlet","amazon-pay","square-github","stumbleupon","fedex","phoenix-framework","shopify","neos","square-threads","hackerrank","researchgate","swift","angular","speakap","angrycreative","y-combinator","empire","envira","google-scholar","square-gitlab","studiovinari","pied-piper","wordpress","product-hunt","firefox","linode","goodreads","square-odnoklassniki","jsfiddle","sith","themeisle","page4","hashnode","react","cc-paypal","squarespace","cc-stripe","creative-commons-share","bitcoin","keycdn","opera","itch-io","umbraco","galactic-senate","ubuntu","draft2digital","stripe","houzz","gg","dhl","square-pinterest","xing","blackberry","creative-commons-pd","playstation","quinscape","less","blogger-b","opencart","vine","signal-messenger","paypal","gitlab","typo3","reddit-alien","yahoo","dailymotion","affiliatetheme","pied-piper-pp","bootstrap","odnoklassniki","nfc-symbol","mintbit","ethereum","speaker-deck","creative-commons-nc-eu","patreon","avianex","ello","gofore","bimobject","brave-reverse","facebook-f","square-google-plus","web-awesome","mandalorian","first-order-alt","osi","google-wallet","d-and-d-beyond","periscope","fulcrum","cloudscale","forumbee","mizuni","schlix","square-xing","bandcamp","wpforms","cloudversify","usps","megaport","magento","spotify","optin-monster","fly","square-bluesky","aviato","itunes","cuttlefish","blogger","flickr","viber","soundcloud","digg","tencent-weibo","letterboxd","symfony","maxcdn","etsy","facebook-messenger","audible","think-peaks","bilibili","erlang","x-twitter","cotton-bureau","dashcube","42-group","stack-exchange","elementor","square-pied-piper","creative-commons-nd","palfed","superpowers","resolving","xbox","square-web-awesome-stroke","searchengin","tiktok","square-facebook","renren","linux","glide","linkedin","hubspot","deploydog","twitch","flutter","ravelry","mixer","square-lastfm","vimeo","mendeley","uniregistry","figma","creative-commons-remix","cc-amazon-pay","dropbox","instagram","cmplid","upwork","facebook","gripfire","jedi-order","uikit","fort-awesome-alt","phabricator","ussunnah","earlybirds","trade-federation","autoprefixer","whatsapp","square-upwork","slideshare","google-play","viadeo","line","google-drive","servicestack","simplybuilt","bitbucket","imdb","deezer","raspberry-pi","jira","docker","screenpal","bluetooth","gitter","d-and-d","microblog","cc-diners-club","gg-circle","pied-piper-hat","kickstarter-k","yandex","readme","html5","sellsy","square-web-awesome","sass","wirsindhandwerk","buromobelexperte","salesforce","octopus-deploy","medapps","ns8","pinterest-p","apper","fort-awesome","waze","bluesky","cc-jcb","snapchat","fantasy-flight-games","rust","wix","square-behance","supple","webflow","rebel","css3","staylinked","kaggle","space-awesome","deviantart","cpanel","goodreads-g","square-git","square-tumblr","trello","creative-commons-nc-jp","get-pocket","perbyte","grunt","weebly","connectdevelop","leanpub","black-tie","themeco","python","android","bots","free-code-camp","hornbill","js","ideal","git","dev","sketch","yandex-international","cc-amex","uber","github","php","alipay","youtube","skyatlas","firefox-browser","replyd","suse","jenkins","twitter","rockrms","pinterest","buffer","npm","yammer","btc","dribbble","stumbleupon-circle","internet-explorer","stubber","telegram","old-republic","odysee","square-whatsapp","node-js","edge-legacy","slack","medrt","usb","tumblr","vaadin","quora","square-x-twitter","reacteurope","medium","amilia","mixcloud","flipboard","viacoin","critical-role","sitrox","discourse","joomla","mastodon","airbnb","wolf-pack-battalion","buy-n-large","gulp","creative-commons-sampling-plus","strava","ember","canadian-maple-leaf","teamspeak","pushed","wordpress-simple","nutritionix","wodu","google-pay","intercom","zhihu","korvue","pix","steam-symbol"],ku=["10k","10mp","11mp","123","12mp","13mp","14mp","15mp","16mp","17mp","18_up_rating","18mp","19mp","1k","1k_plus","1x_mobiledata","1x_mobiledata_badge","20mp","21mp","22mp","23mp","24fps_select","24mp","2d","2k","2k_plus","2mp","30fps","30fps_select","360","3d_rotation","3g_mobiledata","3g_mobiledata_badge","3k","3k_plus","3mp","3p","4g_mobiledata","4g_mobiledata_badge","4g_plus_mobiledata","4k","4k_plus","4mp","50mp","5g","5g_mobiledata_badge","5k","5k_plus","5mp","60fps","60fps_select","6_ft_apart","6k","6k_plus","6mp","7k","7k_plus","7mp","8k","8k_plus","8mp","9k","9k_plus","9mp","abc","ac_unit","access_alarm","access_alarms","access_time","access_time_filled","accessibility","accessibility_new","accessible","accessible_forward","account_balance","account_balance_wallet","account_box","account_child","account_child_invert","account_circle","account_circle_off","account_tree","action_key","activity_zone","acute","ad","ad_group","ad_group_off","ad_off","ad_units","adaptive_audio_mic","adaptive_audio_mic_off","adb","add","add_2","add_a_photo","add_ad","add_alarm","add_alert","add_box","add_business","add_call","add_card","add_chart","add_circle","add_circle_outline","add_column_left","add_column_right","add_comment","add_diamond","add_home","add_home_work","add_ic_call","add_link","add_location","add_location_alt","add_moderator","add_notes","add_photo_alternate","add_reaction","add_road","add_row_above","add_row_below","add_shopping_cart","add_task","add_to_drive","add_to_home_screen","add_to_photos","add_to_queue","add_triangle","addchart","adf_scanner","adjust","admin_meds","admin_panel_settings","ads_click","agender","agriculture","air","air_freshener","air_purifier","air_purifier_gen","airline_seat_flat","airline_seat_flat_angled","airline_seat_individual_suite","airline_seat_legroom_extra","airline_seat_legroom_normal","airline_seat_legroom_reduced","airline_seat_recline_extra","airline_seat_recline_normal","airline_stops","airlines","airplane_ticket","airplanemode_active","airplanemode_inactive","airplay","airport_shuttle","airware","airwave","alarm","alarm_add","alarm_off","alarm_on","alarm_smart_wake","album","align_center","align_end","align_flex_center","align_flex_end","align_flex_start","align_horizontal_center","align_horizontal_left","align_horizontal_right","align_items_stretch","align_justify_center","align_justify_flex_end","align_justify_flex_start","align_justify_space_around","align_justify_space_between","align_justify_space_even","align_justify_stretch","align_self_stretch","align_space_around","align_space_between","align_space_even","align_start","align_stretch","align_vertical_bottom","align_vertical_center","align_vertical_top","all_inbox","all_inclusive","all_match","all_out","allergies","allergy","alt_route","alternate_email","altitude","ambulance","amend","amp_stories","analytics","anchor","android","animated_images","animation","announcement","aod","aod_tablet","aod_watch","apartment","api","apk_document","apk_install","app_badging","app_blocking","app_promo","app_registration","app_settings_alt","app_shortcut","apparel","approval","approval_delegation","apps","apps_outage","aq","aq_indoor","ar_on_you","ar_stickers","architecture","archive","area_chart","arming_countdown","arrow_and_edge","arrow_back","arrow_back_2","arrow_back_ios","arrow_back_ios_new","arrow_circle_down","arrow_circle_left","arrow_circle_right","arrow_circle_up","arrow_cool_down","arrow_downward","arrow_downward_alt","arrow_drop_down","arrow_drop_down_circle","arrow_drop_up","arrow_forward","arrow_forward_ios","arrow_insert","arrow_left","arrow_left_alt","arrow_menu_close","arrow_menu_open","arrow_or_edge","arrow_outward","arrow_range","arrow_right","arrow_right_alt","arrow_selector_tool","arrow_split","arrow_top_left","arrow_top_right","arrow_upload_progress","arrow_upload_ready","arrow_upward","arrow_upward_alt","arrow_warm_up","arrows_input","arrows_more_down","arrows_more_up","arrows_output","arrows_outward","art_track","article","article_shortcut","artist","aspect_ratio","assessment","assignment","assignment_add","assignment_ind","assignment_late","assignment_return","assignment_returned","assignment_turned_in","assist_walker","assistant","assistant_device","assistant_direction","assistant_navigation","assistant_on_hub","assistant_photo","assured_workload","asterisk","atm","atr","attach_email","attach_file","attach_file_add","attach_file_off","attach_money","attachment","attractions","attribution","audio_description","audio_file","audio_video_receiver","audiotrack","auto_awesome","auto_awesome_mosaic","auto_awesome_motion","auto_delete","auto_fix_high","auto_fix_normal","auto_fix_off","auto_graph","auto_mode","auto_read_pause","auto_read_play","auto_stories","auto_towing","auto_transmission","autofps_select","automation","autopause","autoplay","autorenew","autostop","av1","av_timer","avc","avg_pace","avg_time","award_star","azm","baby_changing_station","back_hand","back_to_tab","background_dot_large","background_dot_small","background_grid_small","background_replace","backlight_high","backlight_high_off","backlight_low","backpack","backspace","backup","backup_table","badge","badge_critical_battery","bakery_dining","balance","balcony","ballot","bar_chart","bar_chart_4_bars","bar_chart_off","barcode","barcode_reader","barcode_scanner","barefoot","batch_prediction","bath_outdoor","bath_private","bath_public_large","bathroom","bathtub","battery_0_bar","battery_1_bar","battery_20","battery_2_bar","battery_30","battery_3_bar","battery_4_bar","battery_50","battery_5_bar","battery_60","battery_6_bar","battery_80","battery_90","battery_alert","battery_change","battery_charging_20","battery_charging_30","battery_charging_50","battery_charging_60","battery_charging_80","battery_charging_90","battery_charging_full","battery_error","battery_full","battery_full_alt","battery_horiz_000","battery_horiz_050","battery_horiz_075","battery_low","battery_plus","battery_profile","battery_saver","battery_share","battery_status_good","battery_std","battery_unknown","battery_very_low","beach_access","bed","bedroom_baby","bedroom_child","bedroom_parent","bedtime","bedtime_off","beenhere","bento","bia","bid_landscape","bid_landscape_disabled","bigtop_updates","bike_dock","bike_lane","bike_scooter","biotech","blanket","blender","blind","blinds","blinds_closed","block","block_flipped","blood_pressure","bloodtype","bluetooth","bluetooth_audio","bluetooth_connected","bluetooth_disabled","bluetooth_drive","bluetooth_searching","blur_circular","blur_linear","blur_medium","blur_off","blur_on","blur_short","body_fat","body_system","bolt","bomb","book","book_2","book_3","book_4","book_4_spark","book_5","book_6","book_online","book_ribbon","bookmark","bookmark_add","bookmark_added","bookmark_bag","bookmark_border","bookmark_check","bookmark_flag","bookmark_heart","bookmark_manager","bookmark_remove","bookmark_star","bookmarks","books_movies_and_music","border_all","border_bottom","border_clear","border_color","border_horizontal","border_inner","border_left","border_outer","border_right","border_style","border_top","border_vertical","borg","bottom_app_bar","bottom_drawer","bottom_navigation","bottom_panel_close","bottom_panel_open","bottom_right_click","bottom_sheets","box","box_add","box_edit","boy","brand_awareness","brand_family","branding_watermark","breakfast_dining","breaking_news","breaking_news_alt_1","breastfeeding","brick","brightness_1","brightness_2","brightness_3","brightness_4","brightness_5","brightness_6","brightness_7","brightness_alert","brightness_auto","brightness_empty","brightness_high","brightness_low","brightness_medium","bring_your_own_ip","broadcast_on_home","broadcast_on_personal","broken_image","browse","browse_activity","browse_gallery","browser_not_supported","browser_updated","brunch_dining","brush","bubble","bubble_chart","bubbles","bug_report","build","build_circle","bungalow","burst_mode","bus_alert","business","business_center","business_chip","business_messages","buttons_alt","cabin","cable","cable_car","cached","cadence","cake","cake_add","calculate","calendar_add_on","calendar_apps_script","calendar_clock","calendar_month","calendar_today","calendar_view_day","calendar_view_month","calendar_view_week","call","call_end","call_log","call_made","call_merge","call_missed","call_missed_outgoing","call_quality","call_received","call_split","call_to_action","camera","camera_alt","camera_enhance","camera_front","camera_indoor","camera_outdoor","camera_rear","camera_roll","camera_video","cameraswitch","campaign","camping","cancel","cancel_presentation","cancel_schedule_send","candle","candlestick_chart","captive_portal","capture","car_crash","car_rental","car_repair","car_tag","card_giftcard","card_membership","card_travel","cardio_load","cardiology","cards","cards_star","carpenter","carry_on_bag","carry_on_bag_checked","carry_on_bag_inactive","carry_on_bag_question","cases","casino","cast","cast_connected","cast_for_education","cast_pause","cast_warning","castle","catching_pokemon","category","category_search","celebration","cell_merge","cell_tower","cell_wifi","center_focus_strong","center_focus_weak","chair","chair_alt","chalet","change_circle","change_history","charger","charging_station","chart_data","chat","chat_add_on","chat_apps_script","chat_bubble","chat_bubble_outline","chat_error","chat_info","chat_paste_go","chat_paste_go_2","check","check_box","check_box_outline_blank","check_circle","check_circle_outline","check_in_out","check_indeterminate_small","check_small","checkbook","checked_bag","checked_bag_question","checklist","checklist_rtl","checkroom","cheer","chess","chess_pawn","chevron_backward","chevron_forward","chevron_left","chevron_right","child_care","child_friendly","chip_extraction","chips","chrome_reader_mode","chromecast_2","chromecast_device","chronic","church","cinematic_blur","circle","circle_notifications","circles","circles_ext","clarify","class","clean_hands","cleaning","cleaning_bucket","cleaning_services","clear","clear_all","clear_day","climate_mini_split","clinical_notes","clock_arrow_down","clock_arrow_up","clock_loader_10","clock_loader_20","clock_loader_40","clock_loader_60","clock_loader_80","clock_loader_90","close","close_fullscreen","close_small","closed_caption","closed_caption_add","closed_caption_disabled","closed_caption_off","cloud","cloud_alert","cloud_circle","cloud_done","cloud_download","cloud_lock","cloud_off","cloud_queue","cloud_sync","cloud_upload","cloudy_snowing","co2","co_present","code","code_blocks","code_off","coffee","coffee_maker","cognition","cognition_2","collapse_all","collapse_content","collections","collections_bookmark","color_lens","colorize","colors","combine_columns","comedy_mask","comic_bubble","comment","comment_bank","comments_disabled","commit","communication","communities","commute","compare","compare_arrows","compass_calibration","component_exchange","compost","compress","computer","concierge","conditions","confirmation_number","congenital","connect_without_contact","connected_tv","connecting_airports","construction","contact_emergency","contact_mail","contact_page","contact_phone","contact_support","contactless","contactless_off","contacts","contacts_product","content_copy","content_cut","content_paste","content_paste_go","content_paste_off","content_paste_search","contextual_token","contextual_token_add","contract","contract_delete","contract_edit","contrast","contrast_circle","contrast_rtl_off","contrast_square","control_camera","control_point","control_point_duplicate","controller_gen","conversion_path","conversion_path_off","convert_to_text","conveyor_belt","cookie","cookie_off","cooking","cool_to_dry","copy_all","copyright","coronavirus","corporate_fare","cottage","counter_0","counter_1","counter_2","counter_3","counter_4","counter_5","counter_6","counter_7","counter_8","counter_9","countertops","create","create_new_folder","credit_card","credit_card_clock","credit_card_gear","credit_card_heart","credit_card_off","credit_score","crib","crisis_alert","crop","crop_16_9","crop_3_2","crop_5_4","crop_7_5","crop_9_16","crop_din","crop_free","crop_landscape","crop_original","crop_portrait","crop_rotate","crop_square","crossword","crowdsource","cruelty_free","css","csv","currency_bitcoin","currency_exchange","currency_franc","currency_lira","currency_pound","currency_ruble","currency_rupee","currency_rupee_circle","currency_yen","currency_yuan","curtains","curtains_closed","custom_typography","cycle","cyclone","dangerous","dark_mode","dashboard","dashboard_2","dashboard_customize","data_alert","data_array","data_check","data_exploration","data_info_alert","data_loss_prevention","data_object","data_saver_off","data_saver_on","data_table","data_thresholding","data_usage","database","database_off","database_search","database_upload","dataset","dataset_linked","date_range","deblur","deceased","decimal_decrease","decimal_increase","deck","dehaze","delete","delete_forever","delete_history","delete_outline","delete_sweep","delivery_dining","delivery_truck_bolt","delivery_truck_speed","demography","density_large","density_medium","density_small","dentistry","departure_board","deployed_code","deployed_code_account","deployed_code_alert","deployed_code_history","deployed_code_update","dermatology","description","deselect","design_services","desk","deskphone","desktop_access_disabled","desktop_cloud","desktop_cloud_stack","desktop_landscape","desktop_landscape_add","desktop_mac","desktop_portrait","desktop_windows","destruction","details","detection_and_zone","detector","detector_alarm","detector_battery","detector_co","detector_offline","detector_smoke","detector_status","developer_board","developer_board_off","developer_guide","developer_mode","developer_mode_tv","device_hub","device_thermostat","device_unknown","devices","devices_fold","devices_fold_2","devices_off","devices_other","devices_wearables","dew_point","diagnosis","diagonal_line","dialer_sip","dialogs","dialpad","diamond","dictionary","difference","digital_out_of_home","digital_wellbeing","dining","dinner_dining","directions","directions_alt","directions_alt_off","directions_bike","directions_boat","directions_boat_filled","directions_bus","directions_bus_filled","directions_car","directions_car_filled","directions_off","directions_railway","directions_railway_2","directions_railway_filled","directions_run","directions_subway","directions_subway_filled","directions_transit","directions_transit_filled","directions_walk","directory_sync","dirty_lens","disabled_by_default","disabled_visible","disc_full","discount","discover_tune","dishwasher","dishwasher_gen","display_external_input","display_settings","distance","diversity_1","diversity_2","diversity_3","diversity_4","dns","do_disturb","do_disturb_alt","do_disturb_off","do_disturb_on","do_not_disturb","do_not_disturb_alt","do_not_disturb_off","do_not_disturb_on","do_not_disturb_on_total_silence","do_not_step","do_not_touch","dock","dock_to_bottom","dock_to_left","dock_to_right","docs","docs_add_on","docs_apps_script","document_scanner","document_search","domain","domain_add","domain_disabled","domain_verification","domain_verification_off","domino_mask","done","done_all","done_outline","donut_large","donut_small","door_back","door_front","door_open","door_sensor","door_sliding","doorbell","doorbell_3p","doorbell_chime","double_arrow","downhill_skiing","download","download_2","download_done","download_for_offline","downloading","draft","draft_orders","drafts","drag_click","drag_handle","drag_indicator","drag_pan","draw","draw_abstract","draw_collage","dresser","drive_eta","drive_export","drive_file_move","drive_file_move_outline","drive_file_move_rtl","drive_file_rename_outline","drive_folder_upload","dropdown","dry","dry_cleaning","dual_screen","duo","dvr","dynamic_feed","dynamic_form","e911_avatar","e911_emergency","e_mobiledata","e_mobiledata_badge","earbuds","earbuds_battery","early_on","earthquake","east","ecg","ecg_heart","eco","eda","edgesensor_high","edgesensor_low","edit","edit_arrow_down","edit_arrow_up","edit_attributes","edit_audio","edit_calendar","edit_document","edit_location","edit_location_alt","edit_note","edit_notifications","edit_off","edit_road","edit_square","editor_choice","egg","egg_alt","eject","elderly","elderly_woman","electric_bike","electric_bolt","electric_car","electric_meter","electric_moped","electric_rickshaw","electric_scooter","electrical_services","elevation","elevator","email","emergency","emergency_heat","emergency_heat_2","emergency_home","emergency_recording","emergency_share","emergency_share_off","emoji_emotions","emoji_events","emoji_food_beverage","emoji_language","emoji_nature","emoji_objects","emoji_people","emoji_symbols","emoji_transportation","emoticon","empty_dashboard","enable","encrypted","encrypted_add","encrypted_add_circle","encrypted_minus_circle","encrypted_off","endocrinology","energy","energy_program_saving","energy_program_time_used","energy_savings_leaf","engineering","enhanced_encryption","ent","enterprise","enterprise_off","equal","equalizer","eraser_size_1","eraser_size_2","eraser_size_3","eraser_size_4","eraser_size_5","error","error_med","error_outline","escalator","escalator_warning","euro","euro_symbol","ev_mobiledata_badge","ev_shadow","ev_shadow_add","ev_shadow_minus","ev_station","event","event_available","event_busy","event_list","event_note","event_repeat","event_seat","event_upcoming","exclamation","exercise","exit_to_app","expand","expand_all","expand_circle_down","expand_circle_right","expand_circle_up","expand_content","expand_less","expand_more","expansion_panels","experiment","explicit","explore","explore_nearby","explore_off","explosion","export_notes","exposure","exposure_neg_1","exposure_neg_2","exposure_plus_1","exposure_plus_2","exposure_zero","extension","extension_off","eye_tracking","eyeglasses","face","face_2","face_3","face_4","face_5","face_6","face_down","face_left","face_nod","face_retouching_natural","face_retouching_off","face_right","face_shake","face_unlock","face_up","fact_check","factory","falling","familiar_face_and_zone","family_history","family_home","family_link","family_restroom","family_star","farsight_digital","fast_forward","fast_rewind","fastfood","faucet","favorite","favorite_border","fax","feature_search","featured_play_list","featured_seasonal_and_gifts","featured_video","feed","feedback","female","femur","femur_alt","fence","fertile","festival","fiber_dvr","fiber_manual_record","fiber_new","fiber_pin","fiber_smart_record","file_copy","file_copy_off","file_download","file_download_done","file_download_off","file_export","file_json","file_map","file_map_stack","file_open","file_png","file_present","file_save","file_save_off","file_upload","file_upload_off","files","filter","filter_1","filter_2","filter_3","filter_4","filter_5","filter_6","filter_7","filter_8","filter_9","filter_9_plus","filter_alt","filter_alt_off","filter_arrow_right","filter_b_and_w","filter_center_focus","filter_drama","filter_frames","filter_hdr","filter_list","filter_list_alt","filter_list_off","filter_none","filter_retrolux","filter_tilt_shift","filter_vintage","finance","finance_chip","finance_mode","find_in_page","find_replace","fingerprint","fingerprint_off","fire_extinguisher","fire_hydrant","fire_hydrant_alt","fire_truck","fireplace","first_page","fit_page","fit_page_height","fit_page_width","fit_screen","fit_width","fitbit","fitness_center","fitness_tracker","flag","flag_2","flag_check","flag_circle","flaky","flare","flash_auto","flash_off","flash_on","flashlight_off","flashlight_on","flatware","flex_direction","flex_no_wrap","flex_wrap","flight","flight_class","flight_land","flight_takeoff","flights_and_hotels","flip","flip_camera_android","flip_camera_ios","flip_to_back","flip_to_front","float_landscape_2","float_portrait_2","flood","floor","floor_lamp","flowchart","flowsheet","fluid","fluid_balance","fluid_med","fluorescent","flutter","flutter_dash","flyover","fmd_bad","fmd_good","foggy","folded_hands","folder","folder_check","folder_check_2","folder_code","folder_copy","folder_data","folder_delete","folder_eye","folder_info","folder_limited","folder_managed","folder_match","folder_off","folder_open","folder_shared","folder_special","folder_supervised","folder_zip","follow_the_signs","font_download","font_download_off","food_bank","foot_bones","footprint","for_you","forest","fork_left","fork_right","fork_spoon","forklift","format_align_center","format_align_justify","format_align_left","format_align_right","format_bold","format_clear","format_color_fill","format_color_reset","format_color_text","format_h1","format_h2","format_h3","format_h4","format_h5","format_h6","format_image_left","format_image_right","format_indent_decrease","format_indent_increase","format_ink_highlighter","format_italic","format_letter_spacing","format_letter_spacing_2","format_letter_spacing_standard","format_letter_spacing_wide","format_letter_spacing_wider","format_line_spacing","format_list_bulleted","format_list_bulleted_add","format_list_numbered","format_list_numbered_rtl","format_overline","format_paint","format_paragraph","format_quote","format_quote_off","format_shapes","format_size","format_strikethrough","format_text_clip","format_text_overflow","format_text_wrap","format_textdirection_l_to_r","format_textdirection_r_to_l","format_textdirection_vertical","format_underlined","format_underlined_squiggle","forms_add_on","forms_apps_script","fort","forum","forward","forward_10","forward_30","forward_5","forward_circle","forward_media","forward_to_inbox","foundation","frame_inspect","frame_person","frame_person_mic","frame_person_off","frame_reload","frame_source","free_breakfast","free_cancellation","front_hand","front_loader","full_coverage","full_hd","full_stacked_bar_chart","fullscreen","fullscreen_exit","fullscreen_portrait","function","functions","funicular","g_mobiledata","g_mobiledata_badge","g_translate","gallery_thumbnail","gamepad","games","garage","garage_door","garage_home","garden_cart","gas_meter","gastroenterology","gate","gavel","general_device","generating_tokens","genetics","genres","gesture","gesture_select","get_app","gif","gif_2","gif_box","girl","gite","glass_cup","globe","globe_asia","globe_book","globe_uk","glucose","glyphs","go_to_line","golf_course","gondola_lift","google_home_devices","google_tv_remote","google_wifi","gpp_bad","gpp_good","gpp_maybe","gps_fixed","gps_not_fixed","gps_off","grade","gradient","grading","grain","graph_1","graph_2","graph_3","graph_4","graph_5","graph_6","graphic_eq","grass","grid_3x3","grid_3x3_off","grid_4x4","grid_goldenratio","grid_guides","grid_off","grid_on","grid_view","grocery","group","group_add","group_off","group_remove","group_search","group_work","grouped_bar_chart","groups","groups_2","groups_3","guardian","gynecology","h_mobiledata","h_mobiledata_badge","h_plus_mobiledata","h_plus_mobiledata_badge","hail","hallway","hand_bones","hand_gesture","hand_gesture_off","handheld_controller","handshake","handyman","hangout_video","hangout_video_off","hard_disk","hard_drive","hard_drive_2","hardware","hd","hdr_auto","hdr_auto_select","hdr_enhanced_select","hdr_off","hdr_off_select","hdr_on","hdr_on_select","hdr_plus","hdr_plus_off","hdr_strong","hdr_weak","head_mounted_device","headphones","headphones_battery","headset","headset_mic","headset_off","healing","health_and_beauty","health_and_safety","health_metrics","heap_snapshot_large","heap_snapshot_multiple","heap_snapshot_thumbnail","hearing","hearing_aid","hearing_aid_disabled","hearing_disabled","heart_broken","heart_check","heart_minus","heart_plus","heat","heat_pump","heat_pump_balance","height","helicopter","help","help_center","help_clinic","help_outline","hematology","hevc","hexagon","hide","hide_image","hide_source","high_density","high_quality","high_res","highlight","highlight_alt","highlight_keyboard_focus","highlight_mouse_cursor","highlight_off","highlight_text_cursor","highlighter_size_1","highlighter_size_2","highlighter_size_3","highlighter_size_4","highlighter_size_5","hiking","history","history_2","history_edu","history_off","history_toggle_off","hive","hls","hls_off","holiday_village","home","home_and_garden","home_app_logo","home_filled","home_health","home_improvement_and_tools","home_iot_device","home_max","home_max_dots","home_mini","home_pin","home_repair_service","home_speaker","home_storage","home_work","horizontal_distribute","horizontal_rule","horizontal_split","host","hot_tub","hotel","hotel_class","hourglass","hourglass_arrow_down","hourglass_arrow_up","hourglass_bottom","hourglass_disabled","hourglass_empty","hourglass_full","hourglass_pause","hourglass_top","house","house_siding","house_with_shield","houseboat","household_supplies","hov","how_to_reg","how_to_vote","hr_resting","html","http","https","hub","humerus","humerus_alt","humidity_high","humidity_indoor","humidity_low","humidity_mid","humidity_percentage","hvac","ice_skating","icecream","id_card","identity_aware_proxy","identity_platform","ifl","iframe","iframe_off","image","image_aspect_ratio","image_not_supported","image_search","imagesearch_roller","imagesmode","immunology","import_contacts","import_export","important_devices","in_home_mode","inactive_order","inbox","inbox_customize","inbox_text","incomplete_circle","indeterminate_check_box","indeterminate_question_box","info","info_i","info_outline","infrared","ink_eraser","ink_eraser_off","ink_highlighter","ink_highlighter_move","ink_marker","ink_pen","ink_selection","inpatient","input","input_circle","insert_chart","insert_chart_outlined","insert_comment","insert_drive_file","insert_emoticon","insert_invitation","insert_link","insert_page_break","insert_photo","insert_text","insights","install_desktop","install_mobile","instant_mix","integration_instructions","interactive_space","interests","interpreter_mode","inventory","inventory_2","invert_colors","invert_colors_off","ios","ios_share","iron","iso","jamboard_kiosk","javascript","join","join_full","join_inner","join_left","join_right","joystick","jump_to_element","kayaking","kebab_dining","keep","keep_off","keep_public","kettle","key","key_off","key_vertical","key_visualizer","keyboard","keyboard_alt","keyboard_arrow_down","keyboard_arrow_left","keyboard_arrow_right","keyboard_arrow_up","keyboard_backspace","keyboard_capslock","keyboard_capslock_badge","keyboard_command_key","keyboard_control_key","keyboard_double_arrow_down","keyboard_double_arrow_left","keyboard_double_arrow_right","keyboard_double_arrow_up","keyboard_external_input","keyboard_full","keyboard_hide","keyboard_keys","keyboard_lock","keyboard_lock_off","keyboard_off","keyboard_onscreen","keyboard_option_key","keyboard_previous_language","keyboard_return","keyboard_tab","keyboard_tab_rtl","keyboard_voice","kid_star","king_bed","kitchen","kitesurfing","lab_panel","lab_profile","lab_research","label","label_important","label_important_outline","label_off","labs","lan","landscape","landscape_2","landscape_2_off","landslide","language","language_chinese_array","language_chinese_cangjie","language_chinese_dayi","language_chinese_pinyin","language_chinese_quick","language_chinese_wubi","language_french","language_gb_english","language_international","language_japanese_kana","language_korean_latin","language_pinyin","language_spanish","language_us","language_us_colemak","language_us_dvorak","laps","laptop","laptop_car","laptop_chromebook","laptop_mac","laptop_windows","lasso_select","last_page","launch","laundry","layers","layers_clear","lda","leaderboard","leak_add","leak_remove","left_click","left_panel_close","left_panel_open","legend_toggle","lens","lens_blur","letter_switch","library_add","library_add_check","library_books","library_music","license","lift_to_talk","light","light_group","light_mode","light_off","lightbulb","lightbulb_2","lightbulb_circle","lightbulb_outline","lightning_stand","line_axis","line_curve","line_end","line_end_arrow","line_end_arrow_notch","line_end_circle","line_end_diamond","line_end_square","line_start","line_start_arrow","line_start_arrow_notch","line_start_circle","line_start_diamond","line_start_square","line_style","line_weight","linear_scale","link","link_off","linked_camera","linked_services","liquor","list","list_alt","list_alt_add","list_alt_check","lists","live_help","live_tv","living","local_activity","local_airport","local_atm","local_bar","local_cafe","local_car_wash","local_convenience_store","local_dining","local_drink","local_fire_department","local_florist","local_gas_station","local_grocery_store","local_hospital","local_hotel","local_laundry_service","local_library","local_mall","local_movies","local_offer","local_parking","local_pharmacy","local_phone","local_pizza","local_play","local_police","local_post_office","local_printshop","local_see","local_shipping","local_taxi","location_away","location_chip","location_city","location_disabled","location_home","location_off","location_on","location_pin","location_searching","lock","lock_clock","lock_open","lock_open_right","lock_outline","lock_person","lock_reset","login","logo_dev","logout","looks","looks_3","looks_4","looks_5","looks_6","looks_one","looks_two","loop","loupe","low_density","low_priority","lowercase","loyalty","lte_mobiledata","lte_mobiledata_badge","lte_plus_mobiledata","lte_plus_mobiledata_badge","luggage","lunch_dining","lyrics","macro_auto","macro_off","magnification_large","magnification_small","magnify_docked","magnify_fullscreen","mail","mail_lock","mail_off","mail_outline","male","man","man_2","man_3","man_4","manage_accounts","manage_history","manage_search","manga","manufacturing","map","map_search","maps_home_work","maps_ugc","margin","mark_as_unread","mark_chat_read","mark_chat_unread","mark_email_read","mark_email_unread","mark_unread_chat_alt","markdown","markdown_copy","markdown_paste","markunread","markunread_mailbox","masked_transitions","masked_transitions_add","masks","match_case","match_case_off","match_word","matter","maximize","measuring_tape","media_bluetooth_off","media_bluetooth_on","media_link","media_output","media_output_off","mediation","medical_information","medical_mask","medical_services","medication","medication_liquid","meeting_room","memory","memory_alt","menstrual_health","menu","menu_book","menu_open","merge","merge_type","message","metabolism","metro","mfg_nest_yale_lock","mic","mic_alert","mic_double","mic_external_off","mic_external_on","mic_none","mic_off","microbiology","microwave","microwave_gen","military_tech","mimo","mimo_disconnect","mindfulness","minimize","minor_crash","mintmark","miscellaneous_services","missed_video_call","missing_controller","mist","mitre","mixture_med","mms","mobile_friendly","mobile_off","mobile_screen_share","mobiledata_off","mode","mode_comment","mode_cool","mode_cool_off","mode_dual","mode_edit","mode_edit_outline","mode_fan","mode_fan_off","mode_heat","mode_heat_cool","mode_heat_off","mode_night","mode_of_travel","mode_off_on","mode_standby","model_training","modeling","monetization_on","money","money_bag","money_off","money_off_csred","monitor","monitor_heart","monitor_weight","monitor_weight_gain","monitor_weight_loss","monitoring","monochrome_photos","monorail","mood","mood_bad","mop","moped","more","more_down","more_horiz","more_time","more_up","more_vert","mosque","motion_blur","motion_mode","motion_photos_auto","motion_photos_off","motion_photos_on","motion_photos_pause","motion_photos_paused","motion_play","motion_sensor_active","motion_sensor_alert","motion_sensor_idle","motion_sensor_urgent","motorcycle","mountain_flag","mouse","mouse_lock","mouse_lock_off","move","move_down","move_group","move_item","move_location","move_selection_down","move_selection_left","move_selection_right","move_selection_up","move_to_inbox","move_up","moved_location","movie","movie_creation","movie_edit","movie_filter","movie_info","movie_off","moving","moving_beds","moving_ministry","mp","multicooker","multiline_chart","multimodal_hand_eye","multiple_airports","multiple_stop","museum","music_cast","music_note","music_note_add","music_off","music_video","my_location","mystery","nat","nature","nature_people","navigate_before","navigate_next","navigation","near_me","near_me_disabled","nearby","nearby_error","nearby_off","nephrology","nest_audio","nest_cam_floodlight","nest_cam_indoor","nest_cam_iq","nest_cam_iq_outdoor","nest_cam_magnet_mount","nest_cam_outdoor","nest_cam_stand","nest_cam_wall_mount","nest_cam_wired_stand","nest_clock_farsight_analog","nest_clock_farsight_digital","nest_connect","nest_detect","nest_display","nest_display_max","nest_doorbell_visitor","nest_eco_leaf","nest_farsight_weather","nest_found_savings","nest_gale_wifi","nest_heat_link_e","nest_heat_link_gen_3","nest_hello_doorbell","nest_mini","nest_multi_room","nest_protect","nest_remote","nest_remote_comfort_sensor","nest_secure_alarm","nest_sunblock","nest_tag","nest_thermostat","nest_thermostat_e_eu","nest_thermostat_gen_3","nest_thermostat_sensor","nest_thermostat_sensor_eu","nest_thermostat_zirconium_eu","nest_true_radiant","nest_wake_on_approach","nest_wake_on_press","nest_wifi_point","nest_wifi_pro","nest_wifi_pro_2","nest_wifi_router","network_cell","network_check","network_intel_node","network_intelligence","network_intelligence_history","network_intelligence_update","network_locked","network_manage","network_node","network_ping","network_wifi","network_wifi_1_bar","network_wifi_1_bar_locked","network_wifi_2_bar","network_wifi_2_bar_locked","network_wifi_3_bar","network_wifi_3_bar_locked","network_wifi_locked","neurology","new_label","new_releases","new_window","news","newsmode","newspaper","newsstand","next_plan","next_week","nfc","night_shelter","night_sight_auto","night_sight_auto_off","night_sight_max","nightlife","nightlight","nightlight_round","nights_stay","no_accounts","no_adult_content","no_backpack","no_cell","no_crash","no_drinks","no_encryption","no_encryption_gmailerrorred","no_flash","no_food","no_luggage","no_meals","no_meals_ouline","no_meeting_room","no_photography","no_sim","no_sound","no_stroller","no_transfer","noise_aware","noise_control_off","noise_control_on","nordic_walking","north","north_east","north_west","not_accessible","not_accessible_forward","not_interested","not_listed_location","not_started","note","note_add","note_alt","note_stack","note_stack_add","notes","notification_add","notification_important","notification_multiple","notifications","notifications_active","notifications_none","notifications_off","notifications_paused","notifications_unread","numbers","nutrition","ods","odt","offline_bolt","offline_pin","offline_pin_off","offline_share","oil_barrel","on_device_training","on_hub_device","oncology","ondemand_video","online_prediction","onsen","opacity","open_in_browser","open_in_full","open_in_new","open_in_new_down","open_in_new_off","open_in_phone","open_jam","open_run","open_with","ophthalmology","oral_disease","orbit","order_approve","order_play","orders","orthopedics","other_admission","other_houses","outbound","outbox","outbox_alt","outdoor_garden","outdoor_grill","outgoing_mail","outlet","outlined_flag","outpatient","outpatient_med","output","output_circle","oven","oven_gen","overview","overview_key","owl","oxygen_saturation","p2p","pace","pacemaker","package","package_2","padding","page_control","page_footer","page_header","page_info","pageless","pages","pageview","paid","palette","pallet","pan_tool","pan_tool_alt","pan_zoom","panorama","panorama_fish_eye","panorama_horizontal","panorama_horizontal_select","panorama_photosphere","panorama_photosphere_select","panorama_vertical","panorama_vertical_select","panorama_wide_angle","panorama_wide_angle_select","paragliding","park","partly_cloudy_day","partly_cloudy_night","partner_exchange","partner_reports","party_mode","passkey","password","password_2","password_2_off","patient_list","pattern","pause","pause_circle","pause_circle_filled","pause_circle_outline","pause_presentation","payment","payments","pedal_bike","pediatrics","pen_size_1","pen_size_2","pen_size_3","pen_size_4","pen_size_5","pending","pending_actions","pentagon","people","people_alt","people_outline","percent","pergola","perm_camera_mic","perm_contact_calendar","perm_data_setting","perm_device_information","perm_identity","perm_media","perm_phone_msg","perm_scan_wifi","person","person_2","person_3","person_4","person_add","person_add_alt","person_add_alt_1","person_add_disabled","person_alert","person_apron","person_book","person_cancel","person_celebrate","person_check","person_edit","person_off","person_outline","person_pin","person_pin_circle","person_play","person_raised_hand","person_remove","person_remove_alt_1","person_search","personal_bag","personal_bag_off","personal_bag_question","personal_injury","personal_places","personal_video","pest_control","pest_control_rodent","pet_supplies","pets","phishing","phone","phone_android","phone_bluetooth_speaker","phone_callback","phone_disabled","phone_enabled","phone_forwarded","phone_in_talk","phone_iphone","phone_locked","phone_missed","phone_paused","phonelink","phonelink_erase","phonelink_lock","phonelink_off","phonelink_ring","phonelink_ring_off","phonelink_setup","photo","photo_album","photo_auto_merge","photo_camera","photo_camera_back","photo_camera_front","photo_filter","photo_frame","photo_library","photo_prints","photo_size_select_actual","photo_size_select_large","photo_size_select_small","php","physical_therapy","piano","piano_off","picture_as_pdf","picture_in_picture","picture_in_picture_alt","picture_in_picture_center","picture_in_picture_large","picture_in_picture_medium","picture_in_picture_mobile","picture_in_picture_off","picture_in_picture_small","pie_chart","pie_chart_outline","pie_chart_outlined","pill","pill_off","pin","pin_drop","pin_end","pin_invoke","pinboard","pinboard_unread","pinch","pinch_zoom_in","pinch_zoom_out","pip","pip_exit","pivot_table_chart","pix","place","place_item","plagiarism","planet","planner_banner_ad_pt","planner_review","play_arrow","play_circle","play_circle_filled","play_circle_outline","play_disabled","play_for_work","play_lesson","play_pause","playing_cards","playlist_add","playlist_add_check","playlist_add_check_circle","playlist_add_circle","playlist_play","playlist_remove","plumbing","plus_one","podcasts","podiatry","podium","point_of_sale","point_scan","poker_chip","policy","policy_alert","poll","polyline","polymer","pool","portable_wifi_off","portrait","position_bottom_left","position_bottom_right","position_top_right","post","post_add","potted_plant","power","power_input","power_off","power_settings_circle","power_settings_new","prayer_times","precision_manufacturing","pregnancy","pregnant_woman","preliminary","prescriptions","present_to_all","preview","preview_off","price_change","price_check","print","print_add","print_connect","print_disabled","print_error","print_lock","priority","priority_high","privacy","privacy_tip","private_connectivity","problem","procedure","process_chart","production_quantity_limits","productivity","progress_activity","prompt_suggestion","propane","propane_tank","psychiatry","psychology","psychology_alt","public","public_off","publish","published_with_changes","pulmonology","pulse_alert","punch_clock","push_pin","qr_code","qr_code_2","qr_code_2_add","qr_code_scanner","query_builder","query_stats","question_answer","question_exchange","question_mark","queue","queue_music","queue_play_next","quick_phrases","quick_reference","quick_reference_all","quick_reorder","quickreply","quiz","r_mobiledata","radar","radio","radio_button_checked","radio_button_partial","radio_button_unchecked","radiology","railway_alert","railway_alert_2","rainy","rainy_heavy","rainy_light","rainy_snow","ramen_dining","ramp_left","ramp_right","range_hood","rate_review","raven","raw_off","raw_on","read_more","readiness_score","real_estate_agent","rear_camera","rebase","rebase_edit","receipt","receipt_long","receipt_long_off","recent_actors","recent_patient","recenter","recommend","record_voice_over","rectangle","recycling","redeem","redo","reduce_capacity","refresh","regular_expression","relax","release_alert","remember_me","reminder","remote_gen","remove","remove_circle","remove_circle_outline","remove_done","remove_from_queue","remove_moderator","remove_red_eye","remove_road","remove_selection","remove_shopping_cart","reopen_window","reorder","repartition","repeat","repeat_on","repeat_one","repeat_one_on","replace_audio","replace_image","replace_video","replay","replay_10","replay_30","replay_5","replay_circle_filled","reply","reply_all","report","report_gmailerrorred","report_off","report_problem","request_page","request_quote","reset_brightness","reset_focus","reset_image","reset_iso","reset_settings","reset_shadow","reset_shutter_speed","reset_tv","reset_white_balance","reset_wrench","resize","respiratory_rate","responsive_layout","restart_alt","restaurant","restaurant_menu","restore","restore_from_trash","restore_page","resume","reviews","rewarded_ads","rheumatology","rib_cage","rice_bowl","right_click","right_panel_close","right_panel_open","ring_volume","ripples","road","robot","robot_2","rocket","rocket_launch","roller_shades","roller_shades_closed","roller_skating","roofing","room","room_preferences","room_service","rotate_90_degrees_ccw","rotate_90_degrees_cw","rotate_auto","rotate_left","rotate_right","roundabout_left","roundabout_right","rounded_corner","route","router","routine","rowing","rss_feed","rsvp","rtt","rubric","rule","rule_folder","rule_settings","run_circle","running_with_errors","rv_hookup","safety_check","safety_check_off","safety_divider","sailing","salinity","sanitizer","satellite","satellite_alt","sauna","save","save_alt","save_as","save_clock","saved_search","savings","scale","scan","scan_delete","scanner","scatter_plot","scene","schedule","schedule_send","schema","school","science","science_off","scooter","score","scoreboard","screen_lock_landscape","screen_lock_portrait","screen_lock_rotation","screen_record","screen_rotation","screen_rotation_alt","screen_rotation_up","screen_search_desktop","screen_share","screenshot","screenshot_frame","screenshot_frame_2","screenshot_keyboard","screenshot_monitor","screenshot_region","screenshot_tablet","script","scrollable_header","scuba_diving","sd","sd_card","sd_card_alert","sd_storage","sdk","search","search_activity","search_check","search_check_2","search_hands_free","search_insights","search_off","security","security_key","security_update","security_update_good","security_update_warning","segment","select","select_all","select_check_box","select_to_speak","select_window","select_window_2","select_window_off","self_care","self_improvement","sell","send","send_and_archive","send_money","send_time_extension","send_to_mobile","sensor_door","sensor_occupied","sensor_window","sensors","sensors_krx","sensors_krx_off","sensors_off","sentiment_calm","sentiment_content","sentiment_dissatisfied","sentiment_excited","sentiment_extremely_dissatisfied","sentiment_frustrated","sentiment_neutral","sentiment_sad","sentiment_satisfied","sentiment_satisfied_alt","sentiment_stressed","sentiment_very_dissatisfied","sentiment_very_satisfied","sentiment_worried","serif","server_person","service_toolbox","set_meal","settings","settings_accessibility","settings_account_box","settings_alert","settings_applications","settings_b_roll","settings_backup_restore","settings_bluetooth","settings_brightness","settings_cell","settings_cinematic_blur","settings_ethernet","settings_heart","settings_input_antenna","settings_input_component","settings_input_composite","settings_input_hdmi","settings_input_svideo","settings_motion_mode","settings_night_sight","settings_overscan","settings_panorama","settings_phone","settings_photo_camera","settings_power","settings_remote","settings_slow_motion","settings_suggest","settings_system_daydream","settings_timelapse","settings_video_camera","settings_voice","settop_component","severe_cold","shadow","shadow_add","shadow_minus","shape_line","shapes","share","share_eta","share_location","share_off","share_reviews","share_windows","sheets_rtl","shelf_auto_hide","shelf_position","shelves","shield","shield_lock","shield_locked","shield_moon","shield_person","shield_question","shield_with_heart","shield_with_house","shift","shift_lock","shift_lock_off","shop","shop_2","shop_two","shopping_bag","shopping_bag_speed","shopping_basket","shopping_cart","shopping_cart_checkout","shopping_cart_off","shoppingmode","short_stay","short_text","shortcut","show_chart","shower","shuffle","shuffle_on","shutter_speed","shutter_speed_add","shutter_speed_minus","sick","side_navigation","sign_language","signal_cellular_0_bar","signal_cellular_1_bar","signal_cellular_2_bar","signal_cellular_3_bar","signal_cellular_4_bar","signal_cellular_add","signal_cellular_alt","signal_cellular_alt_1_bar","signal_cellular_alt_2_bar","signal_cellular_connected_no_internet_0_bar","signal_cellular_connected_no_internet_1_bar","signal_cellular_connected_no_internet_2_bar","signal_cellular_connected_no_internet_3_bar","signal_cellular_connected_no_internet_4_bar","signal_cellular_no_sim","signal_cellular_nodata","signal_cellular_null","signal_cellular_off","signal_cellular_pause","signal_disconnected","signal_wifi_0_bar","signal_wifi_1_bar","signal_wifi_1_bar_lock","signal_wifi_2_bar","signal_wifi_2_bar_lock","signal_wifi_3_bar","signal_wifi_3_bar_lock","signal_wifi_4_bar","signal_wifi_4_bar_lock","signal_wifi_bad","signal_wifi_connected_no_internet_0","signal_wifi_connected_no_internet_1","signal_wifi_connected_no_internet_2","signal_wifi_connected_no_internet_3","signal_wifi_connected_no_internet_4","signal_wifi_off","signal_wifi_statusbar_1_bar","signal_wifi_statusbar_2_bar","signal_wifi_statusbar_3_bar","signal_wifi_statusbar_4_bar","signal_wifi_statusbar_connected_no_internet","signal_wifi_statusbar_connected_no_internet_1","signal_wifi_statusbar_connected_no_internet_2","signal_wifi_statusbar_connected_no_internet_3","signal_wifi_statusbar_connected_no_internet_4","signal_wifi_statusbar_not_connected","signal_wifi_statusbar_null","signature","signpost","sim_card","sim_card_alert","sim_card_download","simulation","single_bed","sip","siren","siren_check","siren_open","siren_question","skateboarding","skeleton","skillet","skillet_cooktop","skip_next","skip_previous","skull","skull_list","slab_serif","sledding","sleep_score","slide_library","sliders","slideshow","slow_motion_video","smart_button","smart_card_reader","smart_card_reader_off","smart_display","smart_outlet","smart_screen","smart_toy","smartphone","smartphone_camera","smb_share","smoke_free","smoking_rooms","sms","sms_failed","snippet_folder","snooze","snowboarding","snowing","snowing_heavy","snowmobile","snowshoeing","soap","social_distance","social_leaderboard","solar_power","sort","sort_by_alpha","sos","sound_detection_dog_barking","sound_detection_glass_break","sound_detection_loud_sound","sound_sampler","soup_kitchen","source","source_environment","source_notes","south","south_america","south_east","south_west","spa","space_bar","space_dashboard","spatial_audio","spatial_audio_off","spatial_speaker","spatial_tracking","speaker","speaker_group","speaker_notes","speaker_notes_off","speaker_phone","special_character","specific_gravity","speech_to_text","speed","speed_0_25","speed_0_2x","speed_0_5","speed_0_5x","speed_0_75","speed_0_7x","speed_1_2","speed_1_25","speed_1_2x","speed_1_5","speed_1_5x","speed_1_75","speed_1_7x","speed_2x","speed_camera","spellcheck","split_scene","splitscreen","splitscreen_add","splitscreen_bottom","splitscreen_landscape","splitscreen_left","splitscreen_portrait","splitscreen_right","splitscreen_top","splitscreen_vertical_add","spo2","spoke","sports","sports_and_outdoors","sports_bar","sports_baseball","sports_basketball","sports_cricket","sports_esports","sports_football","sports_golf","sports_gymnastics","sports_handball","sports_hockey","sports_kabaddi","sports_martial_arts","sports_mma","sports_motorsports","sports_rugby","sports_score","sports_soccer","sports_tennis","sports_volleyball","sprinkler","sprint","square","square_dot","square_foot","ssid_chart","stack","stack_hexagon","stack_off","stack_star","stacked_bar_chart","stacked_email","stacked_inbox","stacked_line_chart","stacks","stadia_controller","stadium","stairs","stairs_2","star","star_border","star_border_purple500","star_half","star_outline","star_purple500","star_rate","star_rate_half","stars","start","stat_0","stat_1","stat_2","stat_3","stat_minus_1","stat_minus_2","stat_minus_3","stay_current_landscape","stay_current_portrait","stay_primary_landscape","stay_primary_portrait","step","step_into","step_out","step_over","steppers","steps","stethoscope","stethoscope_arrow","stethoscope_check","sticky_note","sticky_note_2","stock_media","stockpot","stop","stop_circle","stop_screen_share","storage","store","store_mall_directory","storefront","storm","straight","straighten","strategy","stream","stream_apps","streetview","stress_management","strikethrough_s","stroke_full","stroke_partial","stroller","style","styler","stylus","stylus_laser_pointer","stylus_note","subdirectory_arrow_left","subdirectory_arrow_right","subheader","subject","subscript","subscriptions","subtitles","subtitles_off","subway","summarize","sunny","sunny_snowing","superscript","supervised_user_circle","supervised_user_circle_off","supervisor_account","support","support_agent","surfing","surgical","surround_sound","swap_calls","swap_driving_apps","swap_driving_apps_wheel","swap_horiz","swap_horizontal_circle","swap_vert","swap_vertical_circle","sweep","swipe","swipe_down","swipe_down_alt","swipe_left","swipe_left_alt","swipe_right","swipe_right_alt","swipe_up","swipe_up_alt","swipe_vertical","switch","switch_access","switch_access_2","switch_access_shortcut","switch_access_shortcut_add","switch_account","switch_camera","switch_left","switch_right","switch_video","switches","sword_rose","swords","symptoms","synagogue","sync","sync_alt","sync_arrow_down","sync_arrow_up","sync_desktop","sync_disabled","sync_lock","sync_problem","sync_saved_locally","syringe","system_security_update","system_security_update_good","system_security_update_warning","system_update","system_update_alt","tab","tab_close","tab_close_inactive","tab_close_right","tab_duplicate","tab_group","tab_inactive","tab_move","tab_new_right","tab_recent","tab_unselected","table","table_bar","table_chart","table_chart_view","table_convert","table_edit","table_eye","table_lamp","table_restaurant","table_rows","table_rows_narrow","table_view","tablet","tablet_android","tablet_camera","tablet_mac","tabs","tactic","tag","tag_faces","takeout_dining","tamper_detection_off","tamper_detection_on","tap_and_play","tapas","target","task","task_alt","taunt","taxi_alert","team_dashboard","temp_preferences_eco","temple_buddhist","temple_hindu","tenancy","terminal","terrain","text_ad","text_compare","text_decrease","text_fields","text_fields_alt","text_format","text_increase","text_rotate_up","text_rotate_vertical","text_rotation_angledown","text_rotation_angleup","text_rotation_down","text_rotation_none","text_select_end","text_select_jump_to_beginning","text_select_jump_to_end","text_select_move_back_character","text_select_move_back_word","text_select_move_down","text_select_move_forward_character","text_select_move_forward_word","text_select_move_up","text_select_start","text_snippet","text_to_speech","text_up","textsms","texture","texture_add","texture_minus","theater_comedy","theaters","thermometer","thermometer_add","thermometer_gain","thermometer_loss","thermometer_minus","thermostat","thermostat_arrow_down","thermostat_arrow_up","thermostat_auto","thermostat_carbon","things_to_do","thread_unread","threat_intelligence","thumb_down","thumb_down_alt","thumb_down_off_alt","thumb_up","thumb_up_alt","thumb_up_off_alt","thumbnail_bar","thumbs_up_down","thunderstorm","tibia","tibia_alt","tile_large","tile_medium","tile_small","time_auto","time_to_leave","timelapse","timeline","timer","timer_10","timer_10_alt_1","timer_10_select","timer_3","timer_3_alt_1","timer_3_select","timer_5","timer_5_shutter","timer_arrow_down","timer_arrow_up","timer_off","timer_pause","timer_play","tips_and_updates","tire_repair","title","titlecase","toast","toc","today","toggle_off","toggle_on","token","toll","tonality","toolbar","tools_flat_head","tools_installation_kit","tools_ladder","tools_level","tools_phillips","tools_pliers_wire_stripper","tools_power_drill","tooltip","tooltip_2","top_panel_close","top_panel_open","topic","tornado","total_dissolved_solids","touch_app","touch_double","touch_long","touch_triple","touchpad_mouse","touchpad_mouse_off","tour","toys","toys_and_games","toys_fan","track_changes","trackpad_input","trackpad_input_2","trackpad_input_3","traffic","traffic_jam","trail_length","trail_length_medium","trail_length_short","train","tram","transcribe","transfer_within_a_station","transform","transgender","transit_enterexit","transit_ticket","transition_chop","transition_dissolve","transition_fade","transition_push","transition_slide","translate","transportation","travel","travel_explore","travel_luggage_and_bags","trending_down","trending_flat","trending_up","trip","trip_origin","trolley","trolley_cable_car","trophy","troubleshoot","try","tsunami","tsv","tty","tune","tungsten","turn_left","turn_right","turn_sharp_left","turn_sharp_right","turn_slight_left","turn_slight_right","turned_in","turned_in_not","tv","tv_displays","tv_gen","tv_guide","tv_next","tv_off","tv_options_edit_channels","tv_options_input_settings","tv_remote","tv_signin","tv_with_assistant","two_pager","two_pager_store","two_wheeler","type_specimen","u_turn_left","u_turn_right","ulna_radius","ulna_radius_alt","umbrella","unarchive","undo","unfold_less","unfold_less_double","unfold_more","unfold_more_double","ungroup","universal_currency","universal_currency_alt","universal_local","unknown_2","unknown_5","unknown_7","unknown_document","unknown_med","unlicense","unpaved_road","unpublished","unsubscribe","upcoming","update","update_disabled","upgrade","upi_pay","upload","upload_2","upload_file","uppercase","urology","usb","usb_off","user_attributes","vaccines","vacuum","valve","vape_free","vaping_rooms","variable_add","variable_insert","variable_remove","variables","ventilator","verified","verified_user","vertical_align_bottom","vertical_align_center","vertical_align_top","vertical_distribute","vertical_shades","vertical_shades_closed","vertical_split","vibration","video_call","video_camera_back","video_camera_back_add","video_camera_front","video_camera_front_off","video_chat","video_file","video_label","video_library","video_search","video_settings","video_stable","videocam","videocam_alert","videocam_off","videogame_asset","videogame_asset_off","view_agenda","view_apps","view_array","view_carousel","view_column","view_column_2","view_comfy","view_comfy_alt","view_compact","view_compact_alt","view_cozy","view_day","view_headline","view_in_ar","view_in_ar_off","view_kanban","view_list","view_module","view_object_track","view_quilt","view_real_size","view_sidebar","view_stream","view_timeline","view_week","vignette","villa","visibility","visibility_lock","visibility_off","vital_signs","vo2_max","voice_chat","voice_over_off","voice_selection","voice_selection_off","voicemail","volcano","volume_down","volume_down_alt","volume_mute","volume_off","volume_up","volunteer_activism","voting_chip","vpn_key","vpn_key_alert","vpn_key_off","vpn_lock","vr180_create2d","vr180_create2d_off","vrpano","wall_art","wall_lamp","wallet","wallpaper","wallpaper_slideshow","ward","warehouse","warning","warning_amber","warning_off","wash","watch","watch_button_press","watch_check","watch_later","watch_off","watch_screentime","watch_vibration","watch_wake","water","water_bottle","water_bottle_large","water_damage","water_do","water_drop","water_ec","water_full","water_heater","water_lock","water_loss","water_lux","water_medium","water_orp","water_ph","water_pump","water_voc","waterfall_chart","waves","waving_hand","wb_auto","wb_cloudy","wb_incandescent","wb_iridescent","wb_shade","wb_sunny","wb_twighlight","wb_twilight","wc","weather_hail","weather_mix","weather_snowy","web","web_asset","web_asset_off","web_stories","web_traffic","webhook","weekend","weight","west","whatshot","wheelchair_pickup","where_to_vote","widget_medium","widget_small","widget_width","widgets","width_full","width_normal","width_wide","wifi","wifi_1_bar","wifi_2_bar","wifi_add","wifi_calling","wifi_calling_1","wifi_calling_2","wifi_calling_3","wifi_calling_bar_1","wifi_calling_bar_2","wifi_calling_bar_3","wifi_channel","wifi_find","wifi_home","wifi_lock","wifi_notification","wifi_off","wifi_password","wifi_protected_setup","wifi_proxy","wifi_tethering","wifi_tethering_error","wifi_tethering_off","wind_power","window","window_closed","window_open","window_sensor","wine_bar","woman","woman_2","work","work_alert","work_history","work_off","work_outline","work_update","workspace_premium","workspaces","workspaces_filled","workspaces_outline","wounds_injuries","wrap_text","wrist","wrong_location","wysiwyg","yard","your_trips","youtube_activity","youtube_searched_for","zone_person_alert","zone_person_idle","zone_person_urgent","zoom_in","zoom_in_map","zoom_out","zoom_out_map"];var Yy=(0,l.defineComponent)({inheritAttrs:!1,__name:"Icon",props:{icon:{},name:{},size:{default:1},mobileSize:{},color:{},round:{type:Boolean},soft:{type:Boolean},weight:{},fill:{type:Boolean},animate:{},animateSpeed:{},animateOnce:{type:Boolean},transition:{type:[Boolean,String],default:!0}},setup(e){const t=e,a=(0,l.computed)(()=>t.icon??t.name),{isMobile:n}=Kn(),i=(0,l.computed)(()=>n.value&&t.mobileSize!==void 0?t.mobileSize:t.size),c=(0,l.computed)(()=>vu.includes(a.value)?"font-awesome-brand":(ku.includes(a.value),"material")),d=(0,l.ref)(!0),o=(0,l.ref)(!0);function s(){return typeof document>"u"?null:document.fonts??null}function m(){const M=s();return M!==null&&typeof M.load=="function"}async function r(M){if(!m())return!0;try{const V=s();return!V||V.check(`1em "${M}"`)?!0:(await V.load(`1em "${M}"`),V.check(`1em "${M}"`))}catch{return!1}}async function u(){d.value=await r("Material Symbols Outlined")}async function Z(){o.value=await r("Font Awesome 6 Brands")}(0,l.onMounted)(()=>{if(m())if(c.value==="material"){const M=s();d.value=M?M.check('1em "Material Symbols Outlined"'):!0,u()}else{const M=s();o.value=M?M.check('1em "Font Awesome 6 Brands"'):!0,Z()}}),(0,l.watchEffect)(()=>{m()&&(c.value==="material"?u():Z())});const h=(0,l.computed)(()=>c.value==="material"?d.value:o.value),p=(0,l.computed)(()=>t.animate?`bgl_icon--${t.animate}`:null),b=(0,l.computed)(()=>{if(!t.animate)return;const M={};return t.animateSpeed!==void 0&&(M.animationDuration=`${t.animateSpeed}s`),t.animateOnce&&(M.animationIterationCount="1"),M}),y=(0,l.computed)(()=>t.transition===!1?"bgl-icon-x-none":`bgl-icon-x-${t.transition===!0?"slide-up":t.transition}`),W=(0,l.computed)(()=>{const M=t.color?.trim();return M?M.startsWith("#")||M.startsWith("var(")||/^(rgb|hsl|hwb|lab|lch|oklch|color)\(/i.test(M):!1}),G=(0,l.computed)(()=>t.round||t.soft),N=(0,l.computed)(()=>{if(!(!G.value||W.value))return t.color?`pair-${t.color}`:t.soft?"pair-black":void 0}),Y=(0,l.computed)(()=>G.value?"bgl_icon-round":void 0),L=(0,l.computed)(()=>t.soft?"soft":void 0),X=(0,l.computed)(()=>{const M={fontSize:`${i.value}rem`,visibility:h.value?"visible":"hidden",...b.value};return c.value==="material"?M["font-variation-settings"]=`'FILL' ${t.fill?1:0}, 'wght' ${t.weight||400}`:M["font-variation-settings"]=`'wght' ${t.weight||400}`,G.value?(M.width=`calc(${i.value}rem * 2)`,M.height=`calc(${i.value}rem * 2)`,W.value&&t.color&&(t.soft?(M.backgroundColor=`color-mix(in srgb, ${t.color} 18%, transparent)`,M.color=t.color,M.border=`1px solid ${t.color}`):M.backgroundColor=t.color)):t.color&&(M.color=t.color),M});return(M,V)=>((0,l.openBlock)(),(0,l.createBlock)(l.Transition,{name:y.value,mode:"out-in"},{default:(0,l.withCtx)(()=>[c.value==="material"?((0,l.openBlock)(),(0,l.createElementBlock)("span",(0,l.mergeProps)({key:0},M.$attrs,{key:`material-${a.value}`,class:["bgl_icon-font notranslate",[p.value,Y.value,N.value,L.value,{"color-white keep-white":e.round&&!e.soft&&W.value}]],style:X.value,"aria-hidden":"true",translate:"no"}),(0,l.toDisplayString)(a.value),17)):c.value==="font-awesome-brand"?((0,l.openBlock)(),(0,l.createElementBlock)("span",(0,l.mergeProps)({key:1},M.$attrs,{key:`font-awesome-brand-${a.value}`,class:["fa fa-brands bgl_icon-font notranslate",[`fa-${a.value}`,p.value,Y.value,N.value,L.value,{"color-white keep-white":e.round&&!e.soft&&W.value}]],style:X.value,"aria-hidden":"true",translate:"no"}),null,16)):(0,l.createCommentVNode)("",!0)]),_:1},8,["name"]))}}),Te=Yy,Ly=["aria-expanded","aria-controls"],Xy={class:"accordion-label"},My={key:0,class:"accordion-actions"},Vy=["id","aria-hidden"],Ty={class:"accordion-body-inner"},Iy=(0,l.defineComponent)({__name:"AccordionItem",props:{label:{},id:{},open:{type:Boolean},iconType:{},iconPosition:{},flat:{type:Boolean},iconClass:{},hoverable:{type:Boolean}},emits:["update:open"],setup(e,{emit:t}){const a=e,n=t,i=(0,l.useSlots)(),c=(0,l.ref)(!!a.open),d=(0,l.ref)(c.value),o=(0,l.computed)({get:()=>c.value,set:p=>{c.value=p,n("update:open",p)}}),s=(0,l.inject)("accordionState",void 0),m=a.id||Math.random().toString(36).slice(7),r=(0,l.computed)(()=>a.iconType==="plus_minus"?o.value?"remove":"add":"expand_more"),u=(0,l.computed)(()=>a.iconPosition||"end"),Z=(0,l.computed)(()=>o.value&&a.iconType!=="plus_minus");(0,l.watch)(()=>a.open,()=>o.value=a.open,{immediate:!0}),(0,l.watch)(o,p=>{p&&(d.value=!0)},{immediate:!0}),s&&(0,l.watch)(()=>s.openItem,p=>{p!==m&&(o.value=!1)},{immediate:!0});function h(){o.value=!o.value,s&&(o.value?s.openItem=m:s.openItem!==void 0&&s.openItem===m&&(s.openItem=void 0))}return(p,b)=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{class:(0,l.normalizeClass)(["accordion-item txt-start",[{flat:e.flat}]])},[(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)(["accordion-head-row",{hoverable:e.hoverable}])},[(0,l.createElementVNode)("button",{type:"button","aria-expanded":o.value?"true":"false",class:"accordion-head","aria-controls":`accordion-body-${(0,l.unref)(m)}`,onClick:b[0]||(b[0]=y=>h())},[u.value==="start"?((0,l.openBlock)(),(0,l.createElementBlock)("span",{key:0,class:(0,l.normalizeClass)(["accordion-icon",[e.iconClass,{open:Z.value}]])},[(0,l.createVNode)(Te,{icon:r.value,transition:"scale"},null,8,["icon"])],2)):(0,l.createCommentVNode)("",!0),(0,l.renderSlot)(p.$slots,"head",{},()=>[(0,l.createElementVNode)("span",Xy,(0,l.toDisplayString)(e.label),1)],!0),u.value==="end"&&!(0,l.unref)(i).actions?((0,l.openBlock)(),(0,l.createElementBlock)("span",{key:1,class:(0,l.normalizeClass)(["accordion-icon",[e.iconClass,{open:Z.value}]])},[(0,l.createVNode)(Te,{icon:r.value,transition:"scale"},null,8,["icon"])],2)):(0,l.createCommentVNode)("",!0)],8,Ly),(0,l.unref)(i).actions?((0,l.openBlock)(),(0,l.createElementBlock)("div",My,[(0,l.renderSlot)(p.$slots,"actions",{open:o.value,toggle:h},void 0,!0)])):(0,l.createCommentVNode)("",!0),(0,l.unref)(i).actions&&u.value==="end"?((0,l.openBlock)(),(0,l.createElementBlock)("button",{key:1,type:"button",tabindex:"-1","aria-hidden":"true",class:(0,l.normalizeClass)(["accordion-icon accordion-icon-btn",[e.iconClass,{open:Z.value}]]),onClick:b[1]||(b[1]=y=>h())},[(0,l.createVNode)(Te,{icon:r.value,transition:"scale"},null,8,["icon"])],2)):(0,l.createCommentVNode)("",!0)],2),(0,l.createElementVNode)("div",{id:`accordion-body-${(0,l.unref)(m)}`,class:(0,l.normalizeClass)(["accordion-body",{open:o.value}]),"aria-hidden":o.value?"false":"true"},[(0,l.createElementVNode)("div",Ty,[d.value?(0,l.renderSlot)(p.$slots,"default",{},void 0,!0,0):(0,l.createCommentVNode)("",!0)])],10,Vy)],2))}}),Ie=(e,t)=>{const a=e.__vccOpts||e;for(const[n,i]of t)a[n]=i;return a},xy=Ie(Iy,[["__scopeId","data-v-35a3dd0f"]]),gy={class:"relative"},zy=(0,l.defineComponent)({__name:"AddressSearch",emits:["addressSelected"],setup(e,{emit:t}){const a=t,{$t:n}=st(),i=(0,l.ref)(""),c=(0,l.ref)([]),d=(0,l.ref)();function o(m){a("addressSelected",m),c.value=[],i.value=""}async function s(){const m=i.value.replaceAll(/\s+/g,"+"),r=`https://nominatim.openstreetmap.org/search?format=json&q=${encodeURI(m)}`;c.value=await(await fetch(r)).json()??[],d.value?.show()}return(m,r)=>((0,l.openBlock)(),(0,l.createElementBlock)("div",gy,[(0,l.createVNode)((0,l.unref)(Vt),{ref_key:"suggestion",ref:d,noAutoFocus:!0,placement:"bottom-start"},{trigger:(0,l.withCtx)(()=>[(0,l.createVNode)((0,l.unref)(Pe),{modelValue:i.value,"onUpdate:modelValue":r[0]||(r[0]=u=>i.value=u),placeholder:(0,l.unref)(n)("addressSearch.placeholder"),onDebounce:s},null,8,["modelValue","placeholder"])]),default:(0,l.withCtx)(()=>[(0,l.createVNode)((0,l.unref)(ZG),{class:"-mt-2 hm-300px"},{default:(0,l.withCtx)(()=>[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(c.value,(u,Z)=>((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(Bl),{key:Z,icon:"location_on",title:u.display_name,onClick:h=>o(u)},null,8,["title","onClick"]))),128))]),_:1})]),_:1},512)]))}}),wy=zy,Ry=(0,l.defineComponent)({__name:"AddToCalendar",props:{event:{},google:{type:Boolean},apple:{type:Boolean},outlook:{type:Boolean},office365:{type:Boolean},yahoo:{type:Boolean},ics:{type:Boolean}},setup(e){const{t}=st(),a=e,n=(0,l.computed)(()=>a.google!==void 0||a.apple!==void 0||a.outlook!==void 0||a.office365!==void 0||a.yahoo!==void 0||a.ics!==void 0),i=[{key:"google",icon:"google",action:"google",color:"#EA4335",prop:"google"},{key:"apple",icon:"apple",action:"apple",color:"#000000",prop:"apple"},{key:"outlook",icon:"windows",action:"outlook",color:"#0072C6",prop:"outlook"},{key:"office365",icon:"microsoft",action:"office365",color:"#EA3E23",prop:"office365"},{key:"yahoo",icon:"yahoo",action:"yahoo",color:"#6001D2",prop:"yahoo"},{key:"ics",icon:"calendar_month",action:"ics",color:"#96A2B4",prop:"ics"}],c=(0,l.computed)(()=>{if(!n.value)return i;const W=i.filter(G=>a[G.prop]===!0);return W.length>0?W:i}),d=(0,l.computed)(()=>c.value.length===1),o=(0,l.computed)(()=>d.value?c.value[0]:null);function s(W){return`${(typeof W=="string"?new Date(W):W).toISOString().replace(/[-:]/g,"").split(".")[0]}Z`}function m(W){return(typeof W=="string"?new Date(W):W).toISOString().split(".")[0]}const r=(0,l.computed)(()=>{const W=new URLSearchParams({action:"TEMPLATE",text:a.event.title,dates:`${s(a.event.startTime)}/${s(a.event.endTime)}`,details:a.event.description||"",location:a.event.location||""});return a.event.url&&W.set("details",`${a.event.description||""}
|
|
2
2
|
|
|
3
3
|
${a.event.url}`),`https://calendar.google.com/calendar/render?${W.toString()}`}),u=(0,l.computed)(()=>`https://outlook.live.com/calendar/0/deeplink/compose?${new URLSearchParams({path:"/calendar/action/compose",rru:"addevent",subject:a.event.title,startdt:m(a.event.startTime),enddt:m(a.event.endTime),body:a.event.description||"",location:a.event.location||""}).toString()}`),Z=(0,l.computed)(()=>`https://outlook.office.com/calendar/0/deeplink/compose?${new URLSearchParams({path:"/calendar/action/compose",rru:"addevent",subject:a.event.title,startdt:m(a.event.startTime),enddt:m(a.event.endTime),body:a.event.description||"",location:a.event.location||""}).toString()}`),h=(0,l.computed)(()=>`https://calendar.yahoo.com/?${new URLSearchParams({v:"60",title:a.event.title,st:s(a.event.startTime),et:s(a.event.endTime),desc:a.event.description||"",in_loc:a.event.location||""}).toString()}`);function p(){return["BEGIN:VCALENDAR","VERSION:2.0","PRODID:-//Add to Calendar//EN","BEGIN:VEVENT",`UID:${Date.now()}@addtocalendar`,`DTSTAMP:${s(new Date)}`,`DTSTART:${s(a.event.startTime)}`,`DTEND:${s(a.event.endTime)}`,`SUMMARY:${a.event.title}`,a.event.description?`DESCRIPTION:${a.event.description.replace(/\n/g,"\\n")}`:"",a.event.location?`LOCATION:${a.event.location}`:"",a.event.url?`URL:${a.event.url}`:"","END:VEVENT","END:VCALENDAR"].filter(Boolean).join(`\r
|
|
4
|
-
`)}function b(){const W=p(),G=new Blob([W],{type:"text/calendar;charset=utf-8"}),N=document.createElement("a");N.href=URL.createObjectURL(G),N.download=`${a.event.title.replace(/[^a-z0-9]/gi,"_").toLowerCase()}.ics`,document.body.appendChild(N),N.click(),document.body.removeChild(N),URL.revokeObjectURL(N.href)}function y(W){switch(W){case"google":window.open(r.value,"_blank");break;case"outlook":window.open(u.value,"_blank");break;case"office365":window.open(Z.value,"_blank");break;case"yahoo":window.open(h.value,"_blank");break;case"apple":case"ics":b();break}}return(W,G)=>d.value&&o.value?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(ce),{key:0,icon:o.value.icon,color:"white",class:"inline-block calendar-btn",flat:!1,style:(0,l.normalizeStyle)({"--bgl-text-color":o.value.color}),onClick:G[0]||(G[0]=N=>y(o.value.action))},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)((0,l.unref)(t)("addToCalendar.addTo",{name:(0,l.unref)(t)(`addToCalendar.${o.value.key}`)})),1)]),_:1},8,["icon","style"])):c.value.length>1?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(Vt),{key:1,value:(0,l.unref)(t)("addToCalendar.addToCalendar"),icon:"calendar_month",color:"white",class:"inline-block",flat:!1},{default:(0,l.withCtx)(()=>[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(c.value,N=>((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(Bl),{key:N.action,icon:N.icon,thin:!0,class:"txt16",style:(0,l.normalizeStyle)({"--bgl-text-color":"#000000","--bgl-primary":N.color}),onClick:Y=>y(N.action)},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)((0,l.unref)(t)(`addToCalendar.${N.key}`)),1)]),_:2},1032,["icon","style","onClick"]))),128))]),_:1},8,["value"])):(0,l.createCommentVNode)("",!0)}}),Sy=Ry,fy=(0,l.defineComponent)({name:"BglBtn",__name:"Btn",props:{disabled:{type:Boolean,default:!1},icon:{},iconEnd:{},iconSize:{},iconMobileSize:{},color:{},variant:{},flat:{type:Boolean},outline:{type:Boolean,default:!1},soft:{type:Boolean},frost:{type:Boolean},gradient:{type:[Boolean,String]},gradientDir:{},frame:{type:Boolean},thin:{type:Boolean},thinMobile:{type:Boolean},size:{},xs:{type:Boolean},sm:{type:Boolean},md:{type:Boolean},lg:{type:Boolean},xl:{type:Boolean},type:{default:"button"},loading:{type:Boolean,default:!1},role:{default:"button"},value:{},to:{},href:{},round:{type:Boolean,default:!1},is:{default:"button"},ripple:{type:Boolean,default:!0},fullWidth:{type:Boolean,default:!1},fullWidthMobile:{type:Boolean,default:!1},alignTxt:{default:"center"},alignTxtMobile:{default:"center"},onClick:{type:Function,default:()=>""},confirm:{type:[Boolean,String]}},emits:["confirmed"],setup(e,{emit:t}){const a=e,n=t,{$t:i}=st(),c=X3(),{isGradient:d,gradientStyle:o}=Os({gradient:()=>a.gradient,gradientDir:()=>a.gradientDir,color:()=>a.color}),s=(0,l.computed)(()=>a.variant?a.variant:d.value?"gradient":a.frost?"frost":a.soft?"soft":a.outline?"outline":a.frame?"solid":a.flat?"flat":"solid"),m=(0,l.computed)(()=>{const N=a.color;return N?`pair-${N}`:s.value==="frost"?"pair-white":s.value==="gradient"?"pair-primary":s.value!=="solid"?"pair-black":"pair-default"}),r=(0,l.computed)(()=>{if(a.size)return a.size;if(a.xs)return"xs";if(a.sm)return"sm";if(a.md)return"md";if(a.lg)return"lg";if(a.xl)return"xl"}),u=(0,l.ref)(!1);function Z(){u.value=window.innerWidth<=910}(0,l.onMounted)(()=>{Z(),window.addEventListener("resize",Z)}),(0,l.onUnmounted)(()=>{window.removeEventListener("resize",Z)});async function h(N){if(a.confirm!==void 0&&a.confirm!==!1){const Y=typeof a.confirm=="string"?a.confirm:i("modalConfirm.message");if(!await c.confirm({title:i("modalConfirm.title"),message:Y}))return;a.onClick(N),n("confirmed",N)}else a.onClick(N)}const p=(0,l.computed)(()=>{if(a.iconSize!==void 0)return a.iconSize;const N={xs:.7,sm:.9,md:1,lg:1.3,xl:1.6},Y=r.value;return Y&&N[Y]?N[Y]:u.value?1:1.2}),b=(0,l.computed)(()=>a.disabled?a.is:a.to!==void 0&&a.to!==""?en.RouterLink:a.href!==void 0&&a.href!==""?"a":a.is),y=(0,l.computed)(()=>{const N={};return a.disabled||(a.to!==void 0&&a.to!==""?N.to=a.to:a.href!==void 0&&a.href!==""&&(N.href=a.href)),(a.to===void 0||a.to==="")&&(a.href===void 0||a.href==="")&&(N.role=a.role,N.type=a.type),N});function W(N){const Y=N.currentTarget;Y.tagName==="BUTTON"||Y.tagName==="A"&&N.key==="Enter"||a.disabled||N.repeat||(N.preventDefault(),Y.click())}const G=(0,l.useSlots)();return(N,Y)=>{const L=(0,l.resolveDirective)("ripple");return(0,l.withDirectives)(((0,l.openBlock)(),(0,l.createBlock)((0,l.resolveDynamicComponent)(b.value),(0,l.mergeProps)(y.value,{disabled:e.disabled,class:["bgl_btn",[{"bgl_btn-icon":e.icon&&!(0,l.unref)(G).default&&!e.value,thin:e.thin,bgl_btn_thinMobile:e.thinMobile,bgl_btn_xsSize:r.value==="xs",bgl_btn_sSize:r.value==="sm",bgl_btn_mSize:r.value==="md",bgl_btn_lSize:r.value==="lg",bgl_btn_xlSize:r.value==="xl",bgl_btn_fullWidth:e.fullWidth,bgl_btn_fullWidthMobile:e.fullWidthMobile,bgl_btn_alignStart:e.alignTxt==="start",bgl_btn_alignEnd:e.alignTxt==="end",bgl_btn_alignStartMobile:e.alignTxtMobile==="start",bgl_btn_alignEndMobile:e.alignTxtMobile==="end",round:e.round,bgl_flatPill:s.value==="flat","bgl_pill-border":s.value==="outline",soft:s.value==="soft",frost:s.value==="frost",gradient:s.value==="gradient","bgl_pill-frame":e.frame,relative:e.loading},m.value]],style:(0,l.unref)(o),tabindex:e.disabled?-1:0,onClick:(0,l.withModifiers)(h,["stop"]),onKeydown:[(0,l.withKeys)(W,["enter"]),(0,l.withKeys)(W,["space"])]}),{default:(0,l.withCtx)(()=>[e.loading?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(an),{key:0,class:"btn-loading absolute-fill flex-center pointer-events-none",size:"15",color:"currentColor"})):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)(["bgl_btn-flex",{"btn-loading-hide":e.loading}])},[e.icon?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(Te),{key:0,icon:e.icon,class:"transition-400",size:p.value,"mobile-size":e.iconMobileSize},null,8,["icon","size","mobile-size"])):(0,l.createCommentVNode)("",!0),(0,l.renderSlot)(N.$slots,"default",{},void 0,!0),!(0,l.unref)(G).default&&e.value?((0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,{key:1},[(0,l.createTextVNode)((0,l.toDisplayString)((0,l.unref)(Se)(e.value)),1)],64)):(0,l.createCommentVNode)("",!0),e.iconEnd?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(Te),{key:2,icon:e.iconEnd,class:"transition-400",size:p.value,"mobile-size":e.iconMobileSize},null,8,["icon","size","mobile-size"])):(0,l.createCommentVNode)("",!0)],2)]),_:3},16,["disabled","class","style","tabindex"])),[[L,e.ripple]])}}}),ce=Ie(fy,[["__scopeId","data-v-e8dcad47"]]),vy=["dismissable"],ky={class:"alert_content"},Fy={key:0,class:"alert_title m-0"},jy={class:"m-0 light"},Cy={key:1,class:"alert_actions"},Jy=(0,l.defineComponent)({name:"BglAlert",__name:"Alert",props:{message:{},title:{},thin:{type:Boolean},outline:{type:Boolean},frame:{type:Boolean},dismissable:{type:Boolean},type:{},info:{type:Boolean},success:{type:Boolean},warning:{type:Boolean},error:{type:Boolean},icon:{}},setup(e){const t=e,a=(0,l.useSlots)(),n=(0,l.computed)(()=>t.type?t.type:t.error?"error":t.warning?"warning":t.success?"success":"info"),i=(0,l.ref)(!1),c={info:"info",success:"check_circle",warning:"warning",error:"error"};return(d,o)=>i.value?(0,l.createCommentVNode)("",!0):((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:0,class:(0,l.normalizeClass)(["alert",[n.value,{thin:e.thin,outline:e.outline,frame:e.frame}]]),dismissable:e.dismissable},[e.icon!=="none"?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(Te),{key:0,class:"alert_icon",icon:e.icon||c[n.value],size:1.7},null,8,["icon"])):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("div",ky,[e.title?((0,l.openBlock)(),(0,l.createElementBlock)("p",Fy,(0,l.toDisplayString)(e.title),1)):(0,l.createCommentVNode)("",!0),(0,l.renderSlot)(d.$slots,"default",{},()=>[(0,l.createElementVNode)("p",jy,(0,l.toDisplayString)(e.message),1)],!0)]),(0,l.unref)(a).actions?((0,l.openBlock)(),(0,l.createElementBlock)("div",Cy,[(0,l.renderSlot)(d.$slots,"actions",{},void 0,!0)])):(0,l.createCommentVNode)("",!0),(0,l.createVNode)(ce,{flat:"",thin:"",class:"alert_close",icon:"close",onClick:o[0]||(o[0]=s=>i.value=!0)})],10,vy))}}),Dy=Ie(Jy,[["__scopeId","data-v-461a7857"]]);function S2(e,t){return e.map((a,n)=>{if(typeof a=="number")return{x:n,y:a,label:String(t?.[n]??n)};const i=a.label??t?.[n]??a.x??n;return{x:typeof a.x=="number"?a.x:n,y:a.y,label:String(i)}})}function Fu(e,t,a={}){if(t?.length){const n=t.length===1;return t.map((i,c)=>({name:i.name??`Series ${c+1}`,color:i.color??(n?a.defaultColor:void 0),points:S2(i.data??[],a.labels)}))}return e?.length?[{name:"Series 1",color:a.defaultColor,points:S2(e,a.labels)}]:[]}function pr(e){return e.flatMap(t=>t.points.map(a=>a.y))}function fh(e){let t=[];for(const a of e)a.points.length>t.length&&(t=a.points);return t.map(a=>a.label)}var Uy=["blue","green","red","yellow","purple","brown","orange","turquoise","gray","black","pink","primary","white"];const f2=["primary","purple","turquoise","orange","pink","green","blue","yellow","red"];function Oy(e){const t=e.replace(/-(light|tint|dark|\d+)$/,"");return Uy.includes(t)}function Dt(e,t=0){return e?typeof e=="string"&&Oy(e)?`var(--bgl-${e})`:e:`var(--bgl-${f2[t%f2.length]})`}function hs(e,t){return`color-mix(in srgb, ${e} ${t}%, transparent)`}function ju(e,t,a=0){const n=Dt(e??"primary");return t<=1?n:`color-mix(in srgb, ${n} ${100-a/(t-1)*58}%, var(--bgl-box-bg))`}function vh(e,t=4){if(e<=0)return t;const a=e/t,n=10**Math.floor(Math.log10(a)),i=a/n,c=(i>=5?10:i>=2?5:i>=1?2:1)*n;return Math.ceil(e/c)*c}function kh(e,t,a=4){const n=[],i=(t-e)/a;for(let c=0;c<=a;c++)n.push(e+i*c);return n}function Tc(e,t,a,n){const i=t-e||1;return c=>a+(c-e)/i*(n-a)}function Ey(e,t,a=.2){const n=t/Math.max(1,e),i=n*(1-a);return{bandWidth:i,center:c=>n*c+n/2,start:c=>n*c+(n-i)/2}}function By(e){return 1-(1-e)**3}function Ky(){return typeof window<"u"&&window.matchMedia?.("(prefers-reduced-motion: reduce)").matches}function dn(e){const t=(0,l.ref)(e.enabled===!1||Ky()?1:0);let a=null,n=0,i=!1;function c(){if(i)return;i=!0;const d=e.duration??700,o=performance.now()+(e.delay??0),s=m=>{const r=m-o;if(r<0){n=requestAnimationFrame(s);return}const u=Math.min(r/d,1);t.value=By(u),u<1&&(n=requestAnimationFrame(s))};n=requestAnimationFrame(s)}return(0,l.onMounted)(()=>{if(t.value!==1){if(typeof IntersectionObserver>"u"){c();return}a=new IntersectionObserver(d=>{for(const o of d)o.isIntersecting&&(c(),a?.disconnect())},{threshold:.25}),e.el.value?a.observe(e.el.value):c()}}),(0,l.onUnmounted)(()=>{a?.disconnect(),cancelAnimationFrame(n)}),{progress:t}}var v2=0;function ps(e="bglc"){return v2+=1,`${e}-${v2}`}var Hy=["width","height","viewBox"],Py={key:0},Qy=["stop-color"],Ay=["stop-color"],_y=["d","fill","opacity"],$y=["d","stroke","stroke-width","stroke-dasharray","stroke-dashoffset"],qy=["cx","cy","r","fill","opacity"],eY=(0,l.defineComponent)({name:"BglSparkline",__name:"Sparkline",props:{data:{},color:{},area:{type:Boolean},gradient:{type:Boolean},width:{default:100},height:{default:28},strokeWidth:{default:2},marker:{type:Boolean},animated:{type:Boolean,default:!0}},setup(e){const t=e,a=(0,l.ref)(),{progress:n}=dn({el:a,enabled:t.animated,duration:700}),i=(0,l.computed)(()=>Dt(t.color)),c=(0,l.computed)(()=>Fu(t.data,void 0)[0]?.points??[]),d=(0,l.computed)(()=>t.area&&t.gradient!==!1),o=ps("spark")+"-grad",s=(0,l.computed)(()=>t.strokeWidth+(t.marker?2:0)),m=(0,l.computed)(()=>{const Z=c.value;if(Z.length<2)return{line:"",area:"",last:null};const h=Z.map(Y=>Y.y),p=Math.min(...h),b=Math.max(...h),y=Tc(0,Z.length-1,s.value,t.width-s.value),W=Tc(p,b,t.height-s.value,s.value),G=Z.map((Y,L)=>({x:y(L),y:W(Y.y)})),N=G.map((Y,L)=>`${L===0?"M":"L"} ${Y.x.toFixed(1)} ${Y.y.toFixed(1)}`).join(" ");return{line:N,area:`${N} L ${G[G.length-1].x.toFixed(1)} ${t.height-s.value} L ${G[0].x.toFixed(1)} ${t.height-s.value} Z`,last:G[G.length-1]}}),r=(0,l.computed)(()=>t.width*2),u=(0,l.computed)(()=>r.value*(1-n.value));return(Z,h)=>((0,l.openBlock)(),(0,l.createElementBlock)("span",{ref_key:"el",ref:a,class:"bgl-sparkline inline-block line-height-0 vertical-align-middle",style:(0,l.normalizeStyle)({width:`${e.width}px`,height:`${e.height}px`})},[((0,l.openBlock)(),(0,l.createElementBlock)("svg",{width:e.width,height:e.height,viewBox:`0 0 ${e.width} ${e.height}`,preserveAspectRatio:"none",class:"bgl-sparkline__svg display-block"},[d.value?((0,l.openBlock)(),(0,l.createElementBlock)("defs",Py,[(0,l.createElementVNode)("linearGradient",{id:o,x1:"0",y1:"0",x2:"0",y2:"1"},[(0,l.createElementVNode)("stop",{offset:"0%","stop-color":i.value,"stop-opacity":"0.35"},null,8,Qy),(0,l.createElementVNode)("stop",{offset:"100%","stop-color":i.value,"stop-opacity":"0.02"},null,8,Ay)])])):(0,l.createCommentVNode)("",!0),e.area&&m.value.area?((0,l.openBlock)(),(0,l.createElementBlock)("path",{key:1,d:m.value.area,fill:d.value?`url(#${o})`:(0,l.unref)(hs)(i.value,14),stroke:"none",opacity:(0,l.unref)(n)},null,8,_y)):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("path",{d:m.value.line,stroke:i.value,"stroke-width":e.strokeWidth,fill:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-dasharray":r.value,"stroke-dashoffset":u.value},null,8,$y),e.marker&&m.value.last?((0,l.openBlock)(),(0,l.createElementBlock)("circle",{key:2,cx:m.value.last.x,cy:m.value.last.y,r:e.strokeWidth+.5,fill:i.value,opacity:(0,l.unref)(n)},null,8,qy)):(0,l.createCommentVNode)("",!0)],8,Hy))],4))}}),Fh=Ie(eY,[["__scopeId","data-v-75d6f757"]]),tY={key:0,class:"opacity-7 txt-075rem m-0 pb-025"},lY={key:1,class:"m-0 tabular-nums bold pb-025 txt-1-25rem"},aY={key:1,class:"bgl-tip__name"},nY={class:"ms-auto tabular-nums semibold"},iY={key:2,class:"gap-05 bgl-tip__total flex align-items-center m-0"},cY={class:"bgl-tip__name"},dY={class:"ms-auto tabular-nums semibold"},oY={key:3,class:"bgl-tip__stats flex column"},sY={class:"bgl-tip__name"},mY={class:"ms-auto tabular-nums semibold"},rY=(0,l.defineComponent)({name:"BglChartTooltip",__name:"ChartTooltip",props:{label:{},hero:{},rows:{default:()=>[]},total:{},stats:{default:()=>[]},prefer:{default:"below"},above:{type:Boolean},below:{type:Boolean}},setup(e){const{$t:t}=st(),a=e;function n(){return a.above?"above":a.below?"below":a.prefer}const i=(0,l.ref)(),c=(0,l.ref)(n()),d=(0,l.ref)(0),o=(0,l.computed)(()=>({"--bgl-tip-shift-x":`${d.value}px`}));function s(){const u=i.value,Z=u?.parentElement;if(!u||!Z)return;const h=u.getBoundingClientRect(),p=Z.getBoundingClientRect(),b=8,y=h.left-d.value,W=h.right-d.value;let G=0;y<p.left+b?G=p.left+b-y:W>p.right-b&&(G=p.right-b-W),Math.abs(G-d.value)>.5&&(d.value=G)}function m(){(0,l.nextTick)(s)}(0,l.onMounted)(m),(0,l.onUpdated)(m);function r(){const u=i.value,Z=n();if(!u||Z==="top"){c.value=Z;return}c.value="below",(0,l.nextTick)(()=>{const h=i.value;h&&(c.value=h.getBoundingClientRect().top<window.innerHeight/2?"below":"above")})}return(0,l.watch)(()=>[a.label,a.hero,a.total,a.rows,a.stats,a.prefer,a.above,a.below],r,{immediate:!0,deep:!0}),(u,Z)=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{ref_key:"el",ref:i,class:(0,l.normalizeClass)(["bgl-tip absolute top-0 pointer-events-none nowrap z-5 color-white line-height-16",{"bgl-tip--above":c.value==="above","bgl-tip--below":c.value==="below"}]),style:(0,l.normalizeStyle)(o.value)},[e.label?((0,l.openBlock)(),(0,l.createElementBlock)("p",tY,(0,l.toDisplayString)(e.label),1)):(0,l.createCommentVNode)("",!0),e.hero?((0,l.openBlock)(),(0,l.createElementBlock)("p",lY,(0,l.toDisplayString)(e.hero),1)):(0,l.createCommentVNode)("",!0),((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e.rows,(h,p)=>((0,l.openBlock)(),(0,l.createElementBlock)("p",{key:p,class:"gap-05 flex align-items-center m-0"},[h.color?((0,l.openBlock)(),(0,l.createElementBlock)("span",{key:0,class:"bgl-tip__dot flex-shrink-0",style:(0,l.normalizeStyle)({background:h.color})},null,4)):(0,l.createCommentVNode)("",!0),e.rows.length>1?((0,l.openBlock)(),(0,l.createElementBlock)("span",aY,(0,l.toDisplayString)(h.name),1)):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("span",nY,(0,l.toDisplayString)(h.value),1)]))),128)),e.total?((0,l.openBlock)(),(0,l.createElementBlock)("p",iY,[(0,l.createElementVNode)("span",cY,(0,l.toDisplayString)((0,l.unref)(t)("charts.total")),1),(0,l.createElementVNode)("span",dY,(0,l.toDisplayString)(e.total),1)])):(0,l.createCommentVNode)("",!0),e.stats.length?((0,l.openBlock)(),(0,l.createElementBlock)("div",oY,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e.stats,(h,p)=>((0,l.openBlock)(),(0,l.createElementBlock)("p",{key:p,class:"gap-05 flex align-items-center m-0 space-between"},[(0,l.createElementVNode)("span",sY,(0,l.toDisplayString)(h.label),1),(0,l.createElementVNode)("span",mY,(0,l.toDisplayString)(h.value),1)]))),128))])):(0,l.createCommentVNode)("",!0)],6))}}),od=Ie(rY,[["__scopeId","data-v-55c32f6b"]]),Al=typeof window<"u",Nl,fn;if(process.env.NODE_ENV!=="production"){const e=Al&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Nl=t=>{e.mark(t)},fn=(t,a,n)=>{e.measure(t,a,n),e.clearMarks(a),e.clearMarks(n)})}var uY=/\{([0-9a-zA-Z]+)\}/g;function Ws(e,...t){return t.length===1&&Qe(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(uY,(a,n)=>t.hasOwnProperty(n)?t[n]:"")}var _l=(e,t=!1)=>t?Symbol.for(e):Symbol(e),ZY=(e,t,a)=>bY({l:e,k:t,s:a}),bY=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Yt=e=>typeof e=="number"&&isFinite(e);function tn(e,t){return ze(t)||Yt(t)?`${e}:${t}`:e}var jh=e=>Ju(e)==="[object Date]",Ti=e=>Ju(e)==="[object RegExp]",Cu=e=>nt(e)&&Object.keys(e).length===0,Tt=Object.assign,hY=Object.create,dt=(e=null)=>hY(e),k2,Ha=()=>k2||(k2=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:dt()),pY=Object.prototype.hasOwnProperty;function Rl(e,t){return pY.call(e,t)}var rt=Array.isArray,mt=e=>typeof e=="function",ze=e=>typeof e=="string",tt=e=>typeof e=="boolean",Qe=e=>e!==null&&typeof e=="object",WY=e=>Qe(e)&&mt(e.then)&&mt(e.catch),Ch=Object.prototype.toString,Ju=e=>Ch.call(e),nt=e=>Ju(e)==="[object Object]",GY=e=>e==null?"":rt(e)||nt(e)&&e.toString===Ch?JSON.stringify(e,null,2):String(e);function Du(e,t=""){return e.reduce((a,n,i)=>i===0?a+n:a+t+n,"")}var F2=2;function NY(e,t=0,a=e.length){const n=e.split(/\r?\n/);let i=0;const c=[];for(let d=0;d<n.length;d++)if(i+=n[d].length+1,i>=t){for(let o=d-F2;o<=d+F2||a>i;o++){if(o<0||o>=n.length)continue;const s=o+1;c.push(`${s}${" ".repeat(3-String(s).length)}| ${n[o]}`);const m=n[o].length;if(o===d){const r=t-(i-m)+1,u=Math.max(1,a>i?m-r:a-t);c.push(" | "+" ".repeat(r)+"^".repeat(u))}else if(o>d){if(a>i){const r=Math.max(Math.min(a-i,m),1);c.push(" | "+"^".repeat(r))}i+=m+1}}break}return c.join(`
|
|
4
|
+
`)}function b(){const W=p(),G=new Blob([W],{type:"text/calendar;charset=utf-8"}),N=document.createElement("a");N.href=URL.createObjectURL(G),N.download=`${a.event.title.replace(/[^a-z0-9]/gi,"_").toLowerCase()}.ics`,document.body.appendChild(N),N.click(),document.body.removeChild(N),URL.revokeObjectURL(N.href)}function y(W){switch(W){case"google":window.open(r.value,"_blank");break;case"outlook":window.open(u.value,"_blank");break;case"office365":window.open(Z.value,"_blank");break;case"yahoo":window.open(h.value,"_blank");break;case"apple":case"ics":b();break}}return(W,G)=>d.value&&o.value?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(ce),{key:0,icon:o.value.icon,color:"white",class:"inline-block calendar-btn",flat:!1,style:(0,l.normalizeStyle)({"--bgl-text-color":o.value.color}),onClick:G[0]||(G[0]=N=>y(o.value.action))},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)((0,l.unref)(t)("addToCalendar.addTo",{name:(0,l.unref)(t)(`addToCalendar.${o.value.key}`)})),1)]),_:1},8,["icon","style"])):c.value.length>1?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(Vt),{key:1,value:(0,l.unref)(t)("addToCalendar.addToCalendar"),icon:"calendar_month",color:"white",class:"inline-block",flat:!1},{default:(0,l.withCtx)(()=>[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(c.value,N=>((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(Bl),{key:N.action,icon:N.icon,thin:!0,class:"txt16",style:(0,l.normalizeStyle)({"--bgl-text-color":"#000000","--bgl-primary":N.color}),onClick:Y=>y(N.action)},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)((0,l.unref)(t)(`addToCalendar.${N.key}`)),1)]),_:2},1032,["icon","style","onClick"]))),128))]),_:1},8,["value"])):(0,l.createCommentVNode)("",!0)}}),Sy=Ry,fy=(0,l.defineComponent)({name:"BglBtn",__name:"Btn",props:{disabled:{type:Boolean,default:!1},icon:{},iconEnd:{},iconSize:{},iconMobileSize:{},color:{},variant:{},flat:{type:Boolean},outline:{type:Boolean,default:!1},soft:{type:Boolean},frost:{type:Boolean},gloss:{type:Boolean},bevel:{type:Boolean},gradient:{type:[Boolean,String]},gradientDir:{},frame:{type:Boolean},thin:{type:Boolean},thinMobile:{type:Boolean},size:{},xs:{type:Boolean},sm:{type:Boolean},md:{type:Boolean},lg:{type:Boolean},xl:{type:Boolean},type:{default:"button"},loading:{type:Boolean,default:!1},role:{default:"button"},value:{},to:{},href:{},round:{type:Boolean,default:!1},is:{default:"button"},ripple:{type:Boolean,default:!0},fullWidth:{type:Boolean,default:!1},fullWidthMobile:{type:Boolean,default:!1},alignTxt:{default:"center"},alignTxtMobile:{default:"center"},onClick:{type:Function,default:()=>""},confirm:{type:[Boolean,String]}},emits:["confirmed"],setup(e,{emit:t}){const a=e,n=t,{$t:i}=st(),c=X3(),{isGradient:d,gradientStyle:o}=Os({gradient:()=>a.gradient,gradientDir:()=>a.gradientDir,color:()=>a.color}),s=(0,l.computed)(()=>a.variant?a.variant:d.value?"gradient":a.gloss?"gloss":a.bevel?"bevel":a.frost?"frost":a.soft?"soft":a.outline?"outline":a.frame?"solid":a.flat?"flat":"solid"),m=(0,l.computed)(()=>{const N=a.color;return N?`pair-${N}`:s.value==="frost"?"pair-white":s.value==="gradient"||s.value==="gloss"||s.value==="bevel"?"pair-primary":s.value!=="solid"?"pair-black":"pair-default"}),r=(0,l.computed)(()=>{if(a.size)return a.size;if(a.xs)return"xs";if(a.sm)return"sm";if(a.md)return"md";if(a.lg)return"lg";if(a.xl)return"xl"}),u=(0,l.ref)(!1);function Z(){u.value=window.innerWidth<=910}(0,l.onMounted)(()=>{Z(),window.addEventListener("resize",Z)}),(0,l.onUnmounted)(()=>{window.removeEventListener("resize",Z)});async function h(N){if(a.confirm!==void 0&&a.confirm!==!1){const Y=typeof a.confirm=="string"?a.confirm:i("modalConfirm.message");if(!await c.confirm({title:i("modalConfirm.title"),message:Y}))return;a.onClick(N),n("confirmed",N)}else a.onClick(N)}const p=(0,l.computed)(()=>{if(a.iconSize!==void 0)return a.iconSize;const N={xs:.7,sm:.9,md:1,lg:1.3,xl:1.6},Y=r.value;return Y&&N[Y]?N[Y]:u.value?1:1.2}),b=(0,l.computed)(()=>a.disabled?a.is:a.to!==void 0&&a.to!==""?en.RouterLink:a.href!==void 0&&a.href!==""?"a":a.is),y=(0,l.computed)(()=>{const N={};return a.disabled||(a.to!==void 0&&a.to!==""?N.to=a.to:a.href!==void 0&&a.href!==""&&(N.href=a.href)),(a.to===void 0||a.to==="")&&(a.href===void 0||a.href==="")&&(N.role=a.role,N.type=a.type),N});function W(N){const Y=N.currentTarget;Y.tagName==="BUTTON"||Y.tagName==="A"&&N.key==="Enter"||a.disabled||N.repeat||(N.preventDefault(),Y.click())}const G=(0,l.useSlots)();return(N,Y)=>{const L=(0,l.resolveDirective)("ripple");return(0,l.withDirectives)(((0,l.openBlock)(),(0,l.createBlock)((0,l.resolveDynamicComponent)(b.value),(0,l.mergeProps)(y.value,{disabled:e.disabled,class:["bgl_btn",[{"bgl_btn-icon":e.icon&&!(0,l.unref)(G).default&&!e.value,thin:e.thin,bgl_btn_thinMobile:e.thinMobile,bgl_btn_xsSize:r.value==="xs",bgl_btn_sSize:r.value==="sm",bgl_btn_mSize:r.value==="md",bgl_btn_lSize:r.value==="lg",bgl_btn_xlSize:r.value==="xl",bgl_btn_fullWidth:e.fullWidth,bgl_btn_fullWidthMobile:e.fullWidthMobile,bgl_btn_alignStart:e.alignTxt==="start",bgl_btn_alignEnd:e.alignTxt==="end",bgl_btn_alignStartMobile:e.alignTxtMobile==="start",bgl_btn_alignEndMobile:e.alignTxtMobile==="end",round:e.round,bgl_flatPill:s.value==="flat","bgl_pill-border":s.value==="outline",soft:s.value==="soft",frost:s.value==="frost",gloss:s.value==="gloss",bevel:s.value==="bevel",gradient:s.value==="gradient","bgl_pill-frame":e.frame,relative:e.loading},m.value]],style:(0,l.unref)(o),tabindex:e.disabled?-1:0,onClick:(0,l.withModifiers)(h,["stop"]),onKeydown:[(0,l.withKeys)(W,["enter"]),(0,l.withKeys)(W,["space"])]}),{default:(0,l.withCtx)(()=>[e.loading?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(an),{key:0,class:"btn-loading absolute-fill flex-center pointer-events-none",size:"15",color:"currentColor"})):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)(["bgl_btn-flex",{"btn-loading-hide":e.loading}])},[e.icon?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(Te),{key:0,icon:e.icon,class:"transition-400",size:p.value,"mobile-size":e.iconMobileSize},null,8,["icon","size","mobile-size"])):(0,l.createCommentVNode)("",!0),(0,l.renderSlot)(N.$slots,"default",{},void 0,!0),!(0,l.unref)(G).default&&e.value?((0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,{key:1},[(0,l.createTextVNode)((0,l.toDisplayString)((0,l.unref)(Se)(e.value)),1)],64)):(0,l.createCommentVNode)("",!0),e.iconEnd?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(Te),{key:2,icon:e.iconEnd,class:"transition-400",size:p.value,"mobile-size":e.iconMobileSize},null,8,["icon","size","mobile-size"])):(0,l.createCommentVNode)("",!0)],2)]),_:3},16,["disabled","class","style","tabindex"])),[[L,e.ripple]])}}}),ce=Ie(fy,[["__scopeId","data-v-b9533f19"]]),vy=["dismissable"],ky={class:"alert_content"},Fy={key:0,class:"alert_title m-0"},jy={class:"m-0 light"},Cy={key:1,class:"alert_actions"},Jy=(0,l.defineComponent)({name:"BglAlert",__name:"Alert",props:{message:{},title:{},thin:{type:Boolean},outline:{type:Boolean},frame:{type:Boolean},dismissable:{type:Boolean},type:{},info:{type:Boolean},success:{type:Boolean},warning:{type:Boolean},error:{type:Boolean},icon:{}},setup(e){const t=e,a=(0,l.useSlots)(),n=(0,l.computed)(()=>t.type?t.type:t.error?"error":t.warning?"warning":t.success?"success":"info"),i=(0,l.ref)(!1),c={info:"info",success:"check_circle",warning:"warning",error:"error"};return(d,o)=>i.value?(0,l.createCommentVNode)("",!0):((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:0,class:(0,l.normalizeClass)(["alert",[n.value,{thin:e.thin,outline:e.outline,frame:e.frame}]]),dismissable:e.dismissable},[e.icon!=="none"?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(Te),{key:0,class:"alert_icon",icon:e.icon||c[n.value],size:1.7},null,8,["icon"])):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("div",ky,[e.title?((0,l.openBlock)(),(0,l.createElementBlock)("p",Fy,(0,l.toDisplayString)(e.title),1)):(0,l.createCommentVNode)("",!0),(0,l.renderSlot)(d.$slots,"default",{},()=>[(0,l.createElementVNode)("p",jy,(0,l.toDisplayString)(e.message),1)],!0)]),(0,l.unref)(a).actions?((0,l.openBlock)(),(0,l.createElementBlock)("div",Cy,[(0,l.renderSlot)(d.$slots,"actions",{},void 0,!0)])):(0,l.createCommentVNode)("",!0),(0,l.createVNode)(ce,{flat:"",thin:"",class:"alert_close",icon:"close",onClick:o[0]||(o[0]=s=>i.value=!0)})],10,vy))}}),Dy=Ie(Jy,[["__scopeId","data-v-461a7857"]]);function S2(e,t){return e.map((a,n)=>{if(typeof a=="number")return{x:n,y:a,label:String(t?.[n]??n)};const i=a.label??t?.[n]??a.x??n;return{x:typeof a.x=="number"?a.x:n,y:a.y,label:String(i)}})}function Fu(e,t,a={}){if(t?.length){const n=t.length===1;return t.map((i,c)=>({name:i.name??`Series ${c+1}`,color:i.color??(n?a.defaultColor:void 0),points:S2(i.data??[],a.labels)}))}return e?.length?[{name:"Series 1",color:a.defaultColor,points:S2(e,a.labels)}]:[]}function pr(e){return e.flatMap(t=>t.points.map(a=>a.y))}function fh(e){let t=[];for(const a of e)a.points.length>t.length&&(t=a.points);return t.map(a=>a.label)}var Uy=["blue","green","red","yellow","purple","brown","orange","turquoise","gray","black","pink","primary","white"];const f2=["primary","purple","turquoise","orange","pink","green","blue","yellow","red"];function Oy(e){const t=e.replace(/-(light|tint|dark|\d+)$/,"");return Uy.includes(t)}function Dt(e,t=0){return e?typeof e=="string"&&Oy(e)?`var(--bgl-${e})`:e:`var(--bgl-${f2[t%f2.length]})`}function hs(e,t){return`color-mix(in srgb, ${e} ${t}%, transparent)`}function ju(e,t,a=0){const n=Dt(e??"primary");return t<=1?n:`color-mix(in srgb, ${n} ${100-a/(t-1)*58}%, var(--bgl-box-bg))`}function vh(e,t=4){if(e<=0)return t;const a=e/t,n=10**Math.floor(Math.log10(a)),i=a/n,c=(i>=5?10:i>=2?5:i>=1?2:1)*n;return Math.ceil(e/c)*c}function kh(e,t,a=4){const n=[],i=(t-e)/a;for(let c=0;c<=a;c++)n.push(e+i*c);return n}function Tc(e,t,a,n){const i=t-e||1;return c=>a+(c-e)/i*(n-a)}function Ey(e,t,a=.2){const n=t/Math.max(1,e),i=n*(1-a);return{bandWidth:i,center:c=>n*c+n/2,start:c=>n*c+(n-i)/2}}function By(e){return 1-(1-e)**3}function Ky(){return typeof window<"u"&&window.matchMedia?.("(prefers-reduced-motion: reduce)").matches}function dn(e){const t=(0,l.ref)(e.enabled===!1||Ky()?1:0);let a=null,n=0,i=!1;function c(){if(i)return;i=!0;const d=e.duration??700,o=performance.now()+(e.delay??0),s=m=>{const r=m-o;if(r<0){n=requestAnimationFrame(s);return}const u=Math.min(r/d,1);t.value=By(u),u<1&&(n=requestAnimationFrame(s))};n=requestAnimationFrame(s)}return(0,l.onMounted)(()=>{if(t.value!==1){if(typeof IntersectionObserver>"u"){c();return}a=new IntersectionObserver(d=>{for(const o of d)o.isIntersecting&&(c(),a?.disconnect())},{threshold:.25}),e.el.value?a.observe(e.el.value):c()}}),(0,l.onUnmounted)(()=>{a?.disconnect(),cancelAnimationFrame(n)}),{progress:t}}var v2=0;function ps(e="bglc"){return v2+=1,`${e}-${v2}`}var Hy=["width","height","viewBox"],Py={key:0},Qy=["stop-color"],Ay=["stop-color"],_y=["d","fill","opacity"],$y=["d","stroke","stroke-width","stroke-dasharray","stroke-dashoffset"],qy=["cx","cy","r","fill","opacity"],eY=(0,l.defineComponent)({name:"BglSparkline",__name:"Sparkline",props:{data:{},color:{},area:{type:Boolean},gradient:{type:Boolean},width:{default:100},height:{default:28},strokeWidth:{default:2},marker:{type:Boolean},animated:{type:Boolean,default:!0}},setup(e){const t=e,a=(0,l.ref)(),{progress:n}=dn({el:a,enabled:t.animated,duration:700}),i=(0,l.computed)(()=>Dt(t.color)),c=(0,l.computed)(()=>Fu(t.data,void 0)[0]?.points??[]),d=(0,l.computed)(()=>t.area&&t.gradient!==!1),o=ps("spark")+"-grad",s=(0,l.computed)(()=>t.strokeWidth+(t.marker?2:0)),m=(0,l.computed)(()=>{const Z=c.value;if(Z.length<2)return{line:"",area:"",last:null};const h=Z.map(Y=>Y.y),p=Math.min(...h),b=Math.max(...h),y=Tc(0,Z.length-1,s.value,t.width-s.value),W=Tc(p,b,t.height-s.value,s.value),G=Z.map((Y,L)=>({x:y(L),y:W(Y.y)})),N=G.map((Y,L)=>`${L===0?"M":"L"} ${Y.x.toFixed(1)} ${Y.y.toFixed(1)}`).join(" ");return{line:N,area:`${N} L ${G[G.length-1].x.toFixed(1)} ${t.height-s.value} L ${G[0].x.toFixed(1)} ${t.height-s.value} Z`,last:G[G.length-1]}}),r=(0,l.computed)(()=>t.width*2),u=(0,l.computed)(()=>r.value*(1-n.value));return(Z,h)=>((0,l.openBlock)(),(0,l.createElementBlock)("span",{ref_key:"el",ref:a,class:"bgl-sparkline inline-block line-height-0 vertical-align-middle",style:(0,l.normalizeStyle)({width:`${e.width}px`,height:`${e.height}px`})},[((0,l.openBlock)(),(0,l.createElementBlock)("svg",{width:e.width,height:e.height,viewBox:`0 0 ${e.width} ${e.height}`,preserveAspectRatio:"none",class:"bgl-sparkline__svg display-block"},[d.value?((0,l.openBlock)(),(0,l.createElementBlock)("defs",Py,[(0,l.createElementVNode)("linearGradient",{id:o,x1:"0",y1:"0",x2:"0",y2:"1"},[(0,l.createElementVNode)("stop",{offset:"0%","stop-color":i.value,"stop-opacity":"0.35"},null,8,Qy),(0,l.createElementVNode)("stop",{offset:"100%","stop-color":i.value,"stop-opacity":"0.02"},null,8,Ay)])])):(0,l.createCommentVNode)("",!0),e.area&&m.value.area?((0,l.openBlock)(),(0,l.createElementBlock)("path",{key:1,d:m.value.area,fill:d.value?`url(#${o})`:(0,l.unref)(hs)(i.value,14),stroke:"none",opacity:(0,l.unref)(n)},null,8,_y)):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("path",{d:m.value.line,stroke:i.value,"stroke-width":e.strokeWidth,fill:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-dasharray":r.value,"stroke-dashoffset":u.value},null,8,$y),e.marker&&m.value.last?((0,l.openBlock)(),(0,l.createElementBlock)("circle",{key:2,cx:m.value.last.x,cy:m.value.last.y,r:e.strokeWidth+.5,fill:i.value,opacity:(0,l.unref)(n)},null,8,qy)):(0,l.createCommentVNode)("",!0)],8,Hy))],4))}}),Fh=Ie(eY,[["__scopeId","data-v-75d6f757"]]),tY={key:0,class:"opacity-7 txt-075rem m-0 pb-025"},lY={key:1,class:"m-0 tabular-nums bold pb-025 txt-1-25rem"},aY={key:1,class:"bgl-tip__name"},nY={class:"ms-auto tabular-nums semibold"},iY={key:2,class:"gap-05 bgl-tip__total flex align-items-center m-0"},cY={class:"bgl-tip__name"},dY={class:"ms-auto tabular-nums semibold"},oY={key:3,class:"bgl-tip__stats flex column"},sY={class:"bgl-tip__name"},mY={class:"ms-auto tabular-nums semibold"},rY=(0,l.defineComponent)({name:"BglChartTooltip",__name:"ChartTooltip",props:{label:{},hero:{},rows:{default:()=>[]},total:{},stats:{default:()=>[]},prefer:{default:"below"},above:{type:Boolean},below:{type:Boolean}},setup(e){const{$t:t}=st(),a=e;function n(){return a.above?"above":a.below?"below":a.prefer}const i=(0,l.ref)(),c=(0,l.ref)(n()),d=(0,l.ref)(0),o=(0,l.computed)(()=>({"--bgl-tip-shift-x":`${d.value}px`}));function s(){const u=i.value,Z=u?.parentElement;if(!u||!Z)return;const h=u.getBoundingClientRect(),p=Z.getBoundingClientRect(),b=8,y=h.left-d.value,W=h.right-d.value;let G=0;y<p.left+b?G=p.left+b-y:W>p.right-b&&(G=p.right-b-W),Math.abs(G-d.value)>.5&&(d.value=G)}function m(){(0,l.nextTick)(s)}(0,l.onMounted)(m),(0,l.onUpdated)(m);function r(){const u=i.value,Z=n();if(!u||Z==="top"){c.value=Z;return}c.value="below",(0,l.nextTick)(()=>{const h=i.value;h&&(c.value=h.getBoundingClientRect().top<window.innerHeight/2?"below":"above")})}return(0,l.watch)(()=>[a.label,a.hero,a.total,a.rows,a.stats,a.prefer,a.above,a.below],r,{immediate:!0,deep:!0}),(u,Z)=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{ref_key:"el",ref:i,class:(0,l.normalizeClass)(["bgl-tip absolute top-0 pointer-events-none nowrap z-5 color-white line-height-16",{"bgl-tip--above":c.value==="above","bgl-tip--below":c.value==="below"}]),style:(0,l.normalizeStyle)(o.value)},[e.label?((0,l.openBlock)(),(0,l.createElementBlock)("p",tY,(0,l.toDisplayString)(e.label),1)):(0,l.createCommentVNode)("",!0),e.hero?((0,l.openBlock)(),(0,l.createElementBlock)("p",lY,(0,l.toDisplayString)(e.hero),1)):(0,l.createCommentVNode)("",!0),((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e.rows,(h,p)=>((0,l.openBlock)(),(0,l.createElementBlock)("p",{key:p,class:"gap-05 flex align-items-center m-0"},[h.color?((0,l.openBlock)(),(0,l.createElementBlock)("span",{key:0,class:"bgl-tip__dot flex-shrink-0",style:(0,l.normalizeStyle)({background:h.color})},null,4)):(0,l.createCommentVNode)("",!0),e.rows.length>1?((0,l.openBlock)(),(0,l.createElementBlock)("span",aY,(0,l.toDisplayString)(h.name),1)):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("span",nY,(0,l.toDisplayString)(h.value),1)]))),128)),e.total?((0,l.openBlock)(),(0,l.createElementBlock)("p",iY,[(0,l.createElementVNode)("span",cY,(0,l.toDisplayString)((0,l.unref)(t)("charts.total")),1),(0,l.createElementVNode)("span",dY,(0,l.toDisplayString)(e.total),1)])):(0,l.createCommentVNode)("",!0),e.stats.length?((0,l.openBlock)(),(0,l.createElementBlock)("div",oY,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e.stats,(h,p)=>((0,l.openBlock)(),(0,l.createElementBlock)("p",{key:p,class:"gap-05 flex align-items-center m-0 space-between"},[(0,l.createElementVNode)("span",sY,(0,l.toDisplayString)(h.label),1),(0,l.createElementVNode)("span",mY,(0,l.toDisplayString)(h.value),1)]))),128))])):(0,l.createCommentVNode)("",!0)],6))}}),od=Ie(rY,[["__scopeId","data-v-55c32f6b"]]),Al=typeof window<"u",Nl,fn;if(process.env.NODE_ENV!=="production"){const e=Al&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Nl=t=>{e.mark(t)},fn=(t,a,n)=>{e.measure(t,a,n),e.clearMarks(a),e.clearMarks(n)})}var uY=/\{([0-9a-zA-Z]+)\}/g;function Ws(e,...t){return t.length===1&&Qe(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(uY,(a,n)=>t.hasOwnProperty(n)?t[n]:"")}var _l=(e,t=!1)=>t?Symbol.for(e):Symbol(e),ZY=(e,t,a)=>bY({l:e,k:t,s:a}),bY=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Yt=e=>typeof e=="number"&&isFinite(e);function tn(e,t){return ze(t)||Yt(t)?`${e}:${t}`:e}var jh=e=>Ju(e)==="[object Date]",Ti=e=>Ju(e)==="[object RegExp]",Cu=e=>nt(e)&&Object.keys(e).length===0,Tt=Object.assign,hY=Object.create,dt=(e=null)=>hY(e),k2,Ha=()=>k2||(k2=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:dt()),pY=Object.prototype.hasOwnProperty;function Rl(e,t){return pY.call(e,t)}var rt=Array.isArray,mt=e=>typeof e=="function",ze=e=>typeof e=="string",tt=e=>typeof e=="boolean",Qe=e=>e!==null&&typeof e=="object",WY=e=>Qe(e)&&mt(e.then)&&mt(e.catch),Ch=Object.prototype.toString,Ju=e=>Ch.call(e),nt=e=>Ju(e)==="[object Object]",GY=e=>e==null?"":rt(e)||nt(e)&&e.toString===Ch?JSON.stringify(e,null,2):String(e);function Du(e,t=""){return e.reduce((a,n,i)=>i===0?a+n:a+t+n,"")}var F2=2;function NY(e,t=0,a=e.length){const n=e.split(/\r?\n/);let i=0;const c=[];for(let d=0;d<n.length;d++)if(i+=n[d].length+1,i>=t){for(let o=d-F2;o<=d+F2||a>i;o++){if(o<0||o>=n.length)continue;const s=o+1;c.push(`${s}${" ".repeat(3-String(s).length)}| ${n[o]}`);const m=n[o].length;if(o===d){const r=t-(i-m)+1,u=Math.max(1,a>i?m-r:a-t);c.push(" | "+" ".repeat(r)+"^".repeat(u))}else if(o>d){if(a>i){const r=Math.max(Math.min(a-i,m),1);c.push(" | "+"^".repeat(r))}i+=m+1}}break}return c.join(`
|
|
5
5
|
`)}function yY(e,t){}var j2={};function Uu(e){j2[e]||(j2[e]=!0,void 0)}function C2(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function YY(e){return e.replace(/&(?![a-z0-9#]{2,6};)/gi,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}var LY=/^javascript:/i,XY=/^(?:href|src|action|formaction)$/i,MY=/&#(?:x([0-9a-f]+)|(\d+));?/gi,VY=/&(?:Tab|NewLine);/g,TY=/:?/gi,IY=/[\u0000-\u0020\u007f-\u009f]/g,xY=/(?:^|[\s"'<>/])on\w+\s*=\s*["']?[^"'>]+["']?/i,gY=/(^|[\s"'<>/])on(\w+\s*=)/gi,zY=/(^|[\s"'<>/])((?:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi;function wY(e,t,a){const n=t||a;if(!n)return e;const i=Number.parseInt(n,t?16:10);return i<=127?String.fromCharCode(i):e}function Ou(e){const t=e.replace(MY,wY).replace(VY,"").replace(TY,":").replace(IY,"");return LY.test(t)}function RY(e){const t=/url\s*\(/gi;let a="",n=0,i;for(;(i=t.exec(e))!==null;){const c=i.index,d=t.lastIndex-1;let o=d+1,s=1,m=null;for(;o<e.length;o++){const Z=e[o];if(m){Z===m&&(m=null);continue}if(Z==='"'||Z==="'")m=Z;else if(Z==="(")s++;else if(Z===")"&&(s--,s===0))break}if(s!==0)break;const r=e.slice(d+1,o).trim(),u=r.startsWith('"')&&r.endsWith('"')||r.startsWith("'")&&r.endsWith("'")?r.slice(1,-1).trim():r;a+=e.slice(n,c),a+=Ou(u)?"url(about:blank)":e.slice(c,o+1),n=o+1}return a+e.slice(n)}function J2(e,t){return XY.test(e)&&Ou(t)?"about:blank":YY(e.toLowerCase()==="style"?RY(t):t)}function SY(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(t,a,n)=>`${a}="${J2(a,n)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(t,a,n)=>`${a}='${J2(a,n)}'`),xY.test(e)&&(process.env.NODE_ENV!=="production"&&void 0,e=e.replace(gY,"$1on$2")),e=e.replace(zY,(t,a,n,i)=>Ou(i)?`${a}${n}about:blank`:t),e}function Gs(){const e=new Map;return{events:e,on(t,a){const n=e.get(t);n&&n.push(a)||e.set(t,[a])},off(t,a){const n=e.get(t);n&&n.splice(n.indexOf(a)>>>0,1)},emit(t,a){(e.get(t)||[]).slice().map(n=>n(a)),(e.get("*")||[]).slice().map(n=>n(t,a))}}}var D2=e=>!Qe(e)||rt(e);function co(e,t){if(D2(e)||D2(t))throw new Error("Invalid value");const a=[{src:e,des:t}];for(;a.length;){const{src:n,des:i}=a.pop();Object.keys(n).forEach(c=>{if(c==="__proto__")return;const d=n[c];if(rt(d)){const o=[];o.length=d.length,i[c]=o,a.push({src:d,des:o})}else Qe(d)?((!Qe(i[c])||rt(i[c]))&&(i[c]=dt()),a.push({src:d,des:i[c]})):i[c]=d})}}function fY(e,t,a){return{line:e,column:t,offset:a}}function Wr(e,t,a){const n={start:e,end:t};return a!=null&&(n.source=a),n}var Oe={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16};var vY={[Oe.EXPECTED_TOKEN]:"Expected token: '{0}'",[Oe.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Oe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Oe.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Oe.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Oe.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Oe.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Oe.EMPTY_PLACEHOLDER]:"Empty placeholder",[Oe.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Oe.INVALID_LINKED_FORMAT]:"Invalid linked format",[Oe.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Oe.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Oe.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Oe.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Oe.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Oe.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function ji(e,t,a={}){const{domain:n,messages:i,args:c}=a,d=process.env.NODE_ENV!=="production"?Ws((i||vY)[e]||"",...c||[]):e,o=new SyntaxError(String(d));return o.code=e,t&&(o.location=t),o.domain=n,o}function kY(e){throw e}var FY=/<\/?[\w\s="/.':;#-\/]+>/,jY=e=>FY.test(e),ta=" ",CY="\r",Kt=`
|
|
6
6
|
`,JY="\u2028",DY="\u2029";function UY(e){const t=e;let a=0,n=1,i=1,c=0;const d=M=>t[M]===CY&&t[M+1]===Kt,o=M=>t[M]===Kt,s=M=>t[M]===DY,m=M=>t[M]===JY,r=M=>d(M)||o(M)||s(M)||m(M),u=()=>a,Z=()=>n,h=()=>i,p=()=>c,b=M=>d(M)||s(M)||m(M)?Kt:t[M],y=()=>b(a),W=()=>b(a+c);function G(){return c=0,r(a)&&(n++,i=0),d(a)&&a++,a++,i++,t[a]}function N(){return d(a+c)&&c++,c++,t[a+c]}function Y(){a=0,n=1,i=1,c=0}function L(M=0){c=M}function X(){const M=a+c;for(;M!==a;)G();c=0}return{index:u,line:Z,column:h,peekOffset:p,charAt:b,currentChar:y,currentPeek:W,next:G,peek:N,reset:Y,resetPeek:L,skipToPeek:X}}var Wa=void 0,OY=".",U2="'",EY="tokenizer";function BY(e,t={}){const a=t.location!==!1,n=UY(e),i=()=>n.index(),c=()=>fY(n.line(),n.column(),n.index()),d=c(),o=i(),s={currentType:13,offset:o,startLoc:d,endLoc:d,lastType:13,lastOffset:o,lastStartLoc:d,lastEndLoc:d,braceNest:0,inLinked:!1,text:""},m=()=>s,{onError:r}=t;function u(R,C,se,...pe){const we=m();C.column+=se,C.offset+=se,r&&r(ji(R,a?Wr(we.startLoc,C):null,{domain:EY,args:pe}))}function Z(R,C,se){R.endLoc=c(),R.currentType=C;const pe={type:C};return a&&(pe.loc=Wr(R.startLoc,R.endLoc)),se!=null&&(pe.value=se),pe}const h=R=>Z(R,13);function p(R,C){return R.currentChar()===C?(R.next(),C):(u(Oe.EXPECTED_TOKEN,c(),0,C),"")}function b(R){let C="";for(;R.currentPeek()===ta||R.currentPeek()===Kt;)C+=R.currentPeek(),R.peek();return C}function y(R){const C=b(R);return R.skipToPeek(),C}function W(R){if(R===Wa)return!1;const C=R.charCodeAt(0);return C>=97&&C<=122||C>=65&&C<=90||C===95}function G(R){if(R===Wa)return!1;const C=R.charCodeAt(0);return C>=48&&C<=57}function N(R,C){const{currentType:se}=C;if(se!==2)return!1;b(R);const pe=W(R.currentPeek());return R.resetPeek(),pe}function Y(R,C){const{currentType:se}=C;if(se!==2)return!1;b(R);const pe=G(R.currentPeek()==="-"?R.peek():R.currentPeek());return R.resetPeek(),pe}function L(R,C){const{currentType:se}=C;if(se!==2)return!1;b(R);const pe=R.currentPeek()===U2;return R.resetPeek(),pe}function X(R,C){const{currentType:se}=C;if(se!==7)return!1;b(R);const pe=R.currentPeek()===".";return R.resetPeek(),pe}function M(R,C){const{currentType:se}=C;if(se!==8)return!1;b(R);const pe=W(R.currentPeek());return R.resetPeek(),pe}function V(R,C){const{currentType:se}=C;if(!(se===7||se===11))return!1;b(R);const pe=R.currentPeek()===":";return R.resetPeek(),pe}function z(R,C){const{currentType:se}=C;if(se!==9)return!1;const pe=()=>{const Fe=R.currentPeek();return Fe==="{"?W(R.peek()):Fe==="@"||Fe==="|"||Fe===":"||Fe==="."||Fe===ta||!Fe?!1:Fe===Kt?(R.peek(),pe()):x(R,!1)},we=pe();return R.resetPeek(),we}function I(R){b(R);const C=R.currentPeek()==="|";return R.resetPeek(),C}function x(R,C=!0){const se=(we=!1,Fe="")=>{const ge=R.currentPeek();return ge==="{"||ge==="@"||!ge?we:ge==="|"?!(Fe===ta||Fe===Kt):ge===ta?(R.peek(),se(!0,ta)):ge===Kt?(R.peek(),se(!0,Kt)):!0},pe=se();return C&&R.resetPeek(),pe}function w(R,C){const se=R.currentChar();return se===Wa?Wa:C(se)?(R.next(),se):null}function k(R){const C=R.charCodeAt(0);return C>=97&&C<=122||C>=65&&C<=90||C>=48&&C<=57||C===95||C===36}function F(R){return w(R,k)}function K(R){const C=R.charCodeAt(0);return C>=97&&C<=122||C>=65&&C<=90||C>=48&&C<=57||C===95||C===36||C===45}function J(R){return w(R,K)}function D(R){const C=R.charCodeAt(0);return C>=48&&C<=57}function le(R){return w(R,D)}function oe(R){const C=R.charCodeAt(0);return C>=48&&C<=57||C>=65&&C<=70||C>=97&&C<=102}function q(R){return w(R,oe)}function ae(R){let C="",se="";for(;C=le(R);)se+=C;return se}function _(R){let C="";for(;;){const se=R.currentChar();if(se==="\\"){const pe=R.peek();pe==="{"||pe==="}"||pe==="@"||pe==="|"||pe==="\\"?(C+=se+pe,R.next(),R.next()):(R.resetPeek(),C+=se,R.next())}else{if(se==="{"||se==="}"||se==="@"||se==="|"||!se)break;if(se===ta||se===Kt)if(x(R))C+=se,R.next();else{if(I(R))break;C+=se,R.next()}else C+=se,R.next()}}return C}function g(R){y(R);let C="",se="";for(;C=J(R);)se+=C;const pe=R.currentChar();if(pe&&pe!=="}"&&pe!==Wa&&pe!==ta&&pe!==Kt&&pe!==" "){const we=ne(R);return u(Oe.INVALID_TOKEN_IN_PLACEHOLDER,c(),0,se+we),se+we}return R.currentChar()===Wa&&u(Oe.UNTERMINATED_CLOSING_BRACE,c(),0),se}function T(R){y(R);let C="";return R.currentChar()==="-"?(R.next(),C+=`-${ae(R)}`):C+=ae(R),R.currentChar()===Wa&&u(Oe.UNTERMINATED_CLOSING_BRACE,c(),0),C}function v(R){return R!==U2&&R!==Kt}function f(R){y(R),p(R,"'");let C="",se="";for(;C=w(R,v);)C==="\\"?se+=E(R):se+=C;const pe=R.currentChar();return pe===Kt||pe===Wa?(u(Oe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,c(),0),pe===Kt&&(R.next(),p(R,"'")),se):(p(R,"'"),se)}function E(R){const C=R.currentChar();switch(C){case"\\":case"'":return R.next(),`\\${C}`;case"u":return P(R,C,4);case"U":return P(R,C,6);default:return u(Oe.UNKNOWN_ESCAPE_SEQUENCE,c(),0,C),""}}function P(R,C,se){p(R,C);let pe="";for(let we=0;we<se;we++){const Fe=q(R);if(!Fe){u(Oe.INVALID_UNICODE_ESCAPE_SEQUENCE,c(),0,`\\${C}${pe}${R.currentChar()}`);break}pe+=Fe}return`\\${C}${pe}`}function U(R){return R!=="{"&&R!=="}"&&R!==ta&&R!==Kt}function ne(R){y(R);let C="",se="";for(;C=w(R,U);)se+=C;return se}function te(R){let C="",se="";for(;C=F(R);)se+=C;return se}function de(R){const C=se=>{const pe=R.currentChar();return pe==="{"||pe==="@"||pe==="|"||pe==="("||pe===")"||!pe||pe===ta?se:(se+=pe,R.next(),C(se))};return C("")}function he(R){y(R);const C=p(R,"|");return y(R),C}function ue(R,C){let se=null;switch(R.currentChar()){case"{":return C.braceNest>=1&&u(Oe.NOT_ALLOW_NEST_PLACEHOLDER,c(),0),R.next(),se=Z(C,2,"{"),y(R),C.braceNest++,se;case"}":return C.braceNest>0&&C.currentType===2&&u(Oe.EMPTY_PLACEHOLDER,c(),0),R.next(),se=Z(C,3,"}"),C.braceNest--,C.braceNest>0&&y(R),C.inLinked&&C.braceNest===0&&(C.inLinked=!1),se;case"@":return C.braceNest>0&&u(Oe.UNTERMINATED_CLOSING_BRACE,c(),0),se=B(R,C)||h(C),C.braceNest=0,se;default:{let pe=!0,we=!0,Fe=!0;if(I(R))return C.braceNest>0&&u(Oe.UNTERMINATED_CLOSING_BRACE,c(),0),se=Z(C,1,he(R)),C.braceNest=0,C.inLinked=!1,se;if(C.braceNest>0&&(C.currentType===4||C.currentType===5||C.currentType===6))return u(Oe.UNTERMINATED_CLOSING_BRACE,c(),0),C.braceNest=0,Q(R,C);if(pe=N(R,C))return se=Z(C,4,g(R)),y(R),se;if(we=Y(R,C))return se=Z(C,5,T(R)),y(R),se;if(Fe=L(R,C))return se=Z(C,6,f(R)),y(R),se;if(!pe&&!we&&!Fe)return se=Z(C,12,ne(R)),u(Oe.INVALID_TOKEN_IN_PLACEHOLDER,c(),0,se.value),y(R),se;break}}return se}function B(R,C){const{currentType:se}=C;let pe=null;const we=R.currentChar();switch((se===7||se===8||se===11||se===9)&&(we===Kt||we===ta)&&u(Oe.INVALID_LINKED_FORMAT,c(),0),we){case"@":return R.next(),pe=Z(C,7,"@"),C.inLinked=!0,pe;case".":return y(R),R.next(),Z(C,8,".");case":":return y(R),R.next(),Z(C,9,":");default:return I(R)?(pe=Z(C,1,he(R)),C.braceNest=0,C.inLinked=!1,pe):X(R,C)||V(R,C)?(y(R),B(R,C)):M(R,C)?(y(R),Z(C,11,te(R))):z(R,C)?(y(R),we==="{"?ue(R,C)||pe:Z(C,10,de(R))):(se===7&&u(Oe.INVALID_LINKED_FORMAT,c(),0),C.braceNest=0,C.inLinked=!1,Q(R,C))}}function Q(R,C){let se={type:13};if(C.braceNest>0)return ue(R,C)||h(C);if(C.inLinked)return B(R,C)||h(C);switch(R.currentChar()){case"{":return ue(R,C)||h(C);case"}":return u(Oe.UNBALANCED_CLOSING_BRACE,c(),0),R.next(),Z(C,3,"}");case"@":return B(R,C)||h(C);default:if(I(R))return se=Z(C,1,he(R)),C.braceNest=0,C.inLinked=!1,se;if(x(R))return Z(C,0,_(R));break}return se}function $(){const{currentType:R,offset:C,startLoc:se,endLoc:pe}=s;return s.lastType=R,s.lastOffset=C,s.lastStartLoc=se,s.lastEndLoc=pe,s.offset=i(),s.startLoc=c(),n.currentChar()===Wa?Z(s,13):Q(n,s)}return{nextToken:$,currentOffset:i,currentPosition:c,context:m}}var KY="parser",HY=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,PY=/\\([\\@{}|])/g;function QY(e,t){return t}function AY(e,t,a){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(t||a,16);return n<=55295||n>=57344?String.fromCodePoint(n):"�"}}}function _Y(e={}){const t=e.location!==!1,{onError:a}=e;function n(W,G,N,Y,...L){const X=W.currentPosition();X.offset+=Y,X.column+=Y,a&&a(ji(G,t?Wr(N,X):null,{domain:KY,args:L}))}function i(W,G,N){const Y={type:W};return t&&(Y.start=G,Y.end=G,Y.loc={start:N,end:N}),Y}function c(W,G,N,Y){t&&(W.end=G,W.loc&&(W.loc.end=N))}function d(W,G){const N=W.context(),Y=i(3,N.offset,N.startLoc);return Y.value=G.replace(PY,QY),c(Y,W.currentOffset(),W.currentPosition()),Y}function o(W,G){const{lastOffset:N,lastStartLoc:Y}=W.context(),L=i(5,N,Y);return L.index=parseInt(G,10),W.nextToken(),c(L,W.currentOffset(),W.currentPosition()),L}function s(W,G){const{lastOffset:N,lastStartLoc:Y}=W.context(),L=i(4,N,Y);return L.key=G,W.nextToken(),c(L,W.currentOffset(),W.currentPosition()),L}function m(W,G){const{lastOffset:N,lastStartLoc:Y}=W.context(),L=i(9,N,Y);return L.value=G.replace(HY,AY),W.nextToken(),c(L,W.currentOffset(),W.currentPosition()),L}function r(W){const G=W.nextToken(),N=W.context(),{lastOffset:Y,lastStartLoc:L}=N,X=i(8,Y,L);return G.type!==11?(n(W,Oe.UNEXPECTED_EMPTY_LINKED_MODIFIER,N.lastStartLoc,0),X.value="",c(X,Y,L),{nextConsumeToken:G,node:X}):(G.value==null&&n(W,Oe.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,la(G)),X.value=G.value||"",c(X,W.currentOffset(),W.currentPosition()),{node:X})}function u(W,G){const N=W.context(),Y=i(7,N.offset,N.startLoc);return Y.value=G,c(Y,W.currentOffset(),W.currentPosition()),Y}function Z(W){const G=W.context(),N=i(6,G.offset,G.startLoc);let Y=W.nextToken();if(Y.type===8){const L=r(W);N.modifier=L.node,Y=L.nextConsumeToken||W.nextToken()}switch(Y.type!==9&&n(W,Oe.UNEXPECTED_LEXICAL_ANALYSIS,G.lastStartLoc,0,la(Y)),Y=W.nextToken(),Y.type===2&&(Y=W.nextToken()),Y.type){case 10:Y.value==null&&n(W,Oe.UNEXPECTED_LEXICAL_ANALYSIS,G.lastStartLoc,0,la(Y)),N.key=u(W,Y.value||"");break;case 4:Y.value==null&&n(W,Oe.UNEXPECTED_LEXICAL_ANALYSIS,G.lastStartLoc,0,la(Y)),N.key=s(W,Y.value||"");break;case 5:Y.value==null&&n(W,Oe.UNEXPECTED_LEXICAL_ANALYSIS,G.lastStartLoc,0,la(Y)),N.key=o(W,Y.value||"");break;case 6:Y.value==null&&n(W,Oe.UNEXPECTED_LEXICAL_ANALYSIS,G.lastStartLoc,0,la(Y)),N.key=m(W,Y.value||"");break;default:{n(W,Oe.UNEXPECTED_EMPTY_LINKED_KEY,G.lastStartLoc,0);const L=W.context(),X=i(7,L.offset,L.startLoc);return X.value="",c(X,L.offset,L.startLoc),N.key=X,c(N,L.offset,L.startLoc),{nextConsumeToken:Y,node:N}}}return c(N,W.currentOffset(),W.currentPosition()),{node:N}}function h(W){const G=W.context(),N=i(2,G.currentType===1?W.currentOffset():G.offset,G.currentType===1?G.endLoc:G.startLoc);N.items=[];let Y=null;do{const L=Y||W.nextToken();switch(Y=null,L.type){case 0:L.value==null&&n(W,Oe.UNEXPECTED_LEXICAL_ANALYSIS,G.lastStartLoc,0,la(L)),N.items.push(d(W,L.value||""));break;case 5:L.value==null&&n(W,Oe.UNEXPECTED_LEXICAL_ANALYSIS,G.lastStartLoc,0,la(L)),N.items.push(o(W,L.value||""));break;case 4:L.value==null&&n(W,Oe.UNEXPECTED_LEXICAL_ANALYSIS,G.lastStartLoc,0,la(L)),N.items.push(s(W,L.value||""));break;case 6:L.value==null&&n(W,Oe.UNEXPECTED_LEXICAL_ANALYSIS,G.lastStartLoc,0,la(L)),N.items.push(m(W,L.value||""));break;case 7:{const X=Z(W);N.items.push(X.node),Y=X.nextConsumeToken||null;break}}}while(G.currentType!==13&&G.currentType!==1);return c(N,G.currentType===1?G.lastOffset:W.currentOffset(),G.currentType===1?G.lastEndLoc:W.currentPosition()),N}function p(W,G,N,Y){const L=W.context();let X=Y.items.length===0;const M=i(1,G,N);M.cases=[],M.cases.push(Y);do{const V=h(W);X||(X=V.items.length===0),M.cases.push(V)}while(L.currentType!==13);return X&&n(W,Oe.MUST_HAVE_MESSAGES_IN_PLURAL,N,0),c(M,W.currentOffset(),W.currentPosition()),M}function b(W){const G=W.context(),{offset:N,startLoc:Y}=G,L=h(W);return G.currentType===13?L:p(W,N,Y,L)}function y(W){const G=BY(W,Tt({},e)),N=G.context(),Y=i(0,N.offset,N.startLoc);return t&&Y.loc&&(Y.loc.source=W),Y.body=b(G),e.onCacheKey&&(Y.cacheKey=e.onCacheKey(W)),N.currentType!==13&&n(G,Oe.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,W[N.offset]||""),c(Y,G.currentOffset(),G.currentPosition()),Y}return{parse:y}}function la(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function $Y(e,t={}){const a={ast:e,helpers:new Set};return{context:()=>a,helper:c=>(a.helpers.add(c),c)}}function O2(e,t){for(let a=0;a<e.length;a++)Eu(e[a],t)}function Eu(e,t){switch(e.type){case 1:O2(e.cases,t),t.helper("plural");break;case 2:O2(e.items,t);break;case 6:Eu(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function qY(e,t={}){const a=$Y(e);a.helper("normalize"),e.body&&Eu(e.body,a);const n=a.context();e.helpers=Array.from(n.helpers)}function eL(e){const t=e.body;return t.type===2?E2(t):t.cases.forEach(a=>E2(a)),e}function E2(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let a=0;a<e.items.length;a++){const n=e.items[a];if(!(n.type===3||n.type===9)||n.value==null)break;t.push(n.value)}if(t.length===e.items.length){e.static=Du(t);for(let a=0;a<e.items.length;a++){const n=e.items[a];(n.type===3||n.type===9)&&delete n.value}}}}var tL="minifier";function oi(e){switch(e.t=e.type,e.type){case 0:{const t=e;oi(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,a=t.cases;for(let n=0;n<a.length;n++)oi(a[n]);t.c=a,delete t.cases;break}case 2:{const t=e,a=t.items;for(let n=0;n<a.length;n++)oi(a[n]);t.i=a,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;oi(t.key),t.k=t.key,delete t.key,t.modifier&&(oi(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:if(process.env.NODE_ENV!=="production")throw ji(Oe.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:tL,args:[e.type]})}delete e.type}var lL="parser";function aL(e,t){const{filename:a,breakLineCode:n,needIndent:i}=t,c=t.location!==!1,d={filename:a,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:n,needIndent:i,indentLevel:0};c&&e.loc&&(d.source=e.loc.source);const o=()=>d;function s(b,y){d.code+=b}function m(b,y=!0){const W=y?n:"";s(i?W+" ".repeat(b):W)}function r(b=!0){const y=++d.indentLevel;b&&m(y)}function u(b=!0){const y=--d.indentLevel;b&&m(y)}function Z(){m(d.indentLevel)}return{context:o,push:s,indent:r,deindent:u,newline:Z,helper:b=>`_${b}`,needIndent:()=>d.needIndent}}function nL(e,t){const{helper:a}=e;e.push(`${a("linked")}(`),Ii(e,t.key),t.modifier?(e.push(", "),Ii(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function iL(e,t){const{helper:a,needIndent:n}=e;e.push(`${a("normalize")}([`),e.indent(n());const i=t.items.length;for(let c=0;c<i&&(Ii(e,t.items[c]),c!==i-1);c++)e.push(", ");e.deindent(n()),e.push("])")}function cL(e,t){const{helper:a,needIndent:n}=e;if(t.cases.length>1){e.push(`${a("plural")}([`),e.indent(n());const i=t.cases.length;for(let c=0;c<i&&(Ii(e,t.cases[c]),c!==i-1);c++)e.push(", ");e.deindent(n()),e.push("])")}}function dL(e,t){t.body?Ii(e,t.body):e.push("null")}function Ii(e,t){const{helper:a}=e;switch(t.type){case 0:dL(e,t);break;case 1:cL(e,t);break;case 2:iL(e,t);break;case 6:nL(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${a("interpolate")}(${a("list")}(${t.index}))`,t);break;case 4:e.push(`${a("interpolate")}(${a("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:if(process.env.NODE_ENV!=="production")throw ji(Oe.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:lL,args:[t.type]})}}var oL=(e,t={})=>{const a=ze(t.mode)?t.mode:"normal",n=ze(t.filename)?t.filename:"message.intl";t.sourceMap;const i=t.breakLineCode!=null?t.breakLineCode:a==="arrow"?";":`
|
|
7
7
|
`,c=t.needIndent?t.needIndent:a!=="arrow",d=e.helpers||[],o=aL(e,{filename:n,breakLineCode:i,needIndent:c});o.push(a==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),o.indent(c),d.length>0&&(o.push(`const { ${Du(d.map(r=>`${r}: _${r}`),", ")} } = ctx`),o.newline()),o.push("return "),Ii(o,e),o.deindent(c),o.push("}"),delete e.helpers;const{code:s,map:m}=o.context();return{ast:e,code:s,map:m?m.toJSON():void 0}};function sL(e,t={}){const a=Tt({},t),n=!!a.jit,i=!!a.minify,c=a.optimize==null?!0:a.optimize,d=_Y(a).parse(e);return n?(c&&eL(d),i&&oi(d),{ast:d,code:""}):(qY(d,a),oL(d,a))}function mL(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ha().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ha().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function fl(e){return Qe(e)&&Bu(e)===0&&(Rl(e,"b")||Rl(e,"body"))}var Jh=["b","body"];function rL(e){return on(e,Jh)}var Dh=["c","cases"];function uL(e){return on(e,Dh,[])}var Uh=["s","static"];function ZL(e){return on(e,Uh)}var Oh=["i","items"];function bL(e){return on(e,Oh,[])}var Eh=["t","type"];function Bu(e){return on(e,Eh)}var Bh=["v","value"];function zd(e,t){const a=on(e,Bh);if(a!=null)return a;throw Ic(t)}var Kh=["m","modifier"];function hL(e){return on(e,Kh)}var Hh=["k","key"];function pL(e){const t=on(e,Hh);if(t)return t;throw Ic(6)}function on(e,t,a){for(let n=0;n<t.length;n++){const i=t[n];if(Rl(e,i)&&e[i]!=null)return e[i]}return a}var Ph=[...Jh,...Dh,...Uh,...Oh,...Hh,...Kh,...Bh,...Eh];function Ic(e){return new Error(`unhandled node type: ${e}`)}function om(e){return a=>WL(a,e)}function WL(e,t){const a=rL(t);if(a==null)throw Ic(0);if(Bu(a)===1){const n=uL(a);return e.plural(n.reduce((i,c)=>[...i,B2(e,c)],[]))}else return B2(e,a)}function B2(e,t){const a=ZL(t);if(a!=null)return e.type==="text"?a:e.normalize([a]);{const n=bL(t).reduce((i,c)=>[...i,Gr(e,c)],[]);return e.normalize(n)}}function Gr(e,t){const a=Bu(t);switch(a){case 3:return zd(t,a);case 9:return zd(t,a);case 4:{const n=t;if(Rl(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(Rl(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw Ic(a)}case 5:{const n=t;if(Rl(n,"i")&&Yt(n.i))return e.interpolate(e.list(n.i));if(Rl(n,"index")&&Yt(n.index))return e.interpolate(e.list(n.index));throw Ic(a)}case 6:{const n=t,i=hL(n),c=pL(n);return e.linked(Gr(e,c),i?Gr(e,i):void 0,e.type)}case 7:return zd(t,a);case 8:return zd(t,a);default:throw new Error(`unhandled node on format message part: ${a}`)}}var GL="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function NL(e,t){t&&jY(e)&&(Ws(GL,{source:e}),void 0)}var yL=e=>e,wd=dt();function YL(e,t={}){let a=!1;const n=t.onError||kY;return t.onError=i=>{a=!0,n(i)},{...sL(e,t),detectError:a}}function LL(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&ze(e)){const a=tt(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&NL(e,a);const n=(t.onCacheKey||yL)(e),i=wd[n];if(i)return i;const{ast:c,detectError:d}=YL(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),o=om(c);return d?o:wd[n]=o}else{if(process.env.NODE_ENV!=="production"&&!fl(e))return`${t.key}`,(()=>e);const a=e.cacheKey;if(a){const n=wd[a];return n||(wd[a]=om(e))}else return om(e)}}var xc=null;function XL(e){xc=e}function ML(e,t,a){xc&&xc.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:a})}var VL=TL("function:translate");function TL(e){return t=>xc&&xc.emit(e,t)}var Pt={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23};function Ya(e){return ji(e,null,process.env.NODE_ENV!=="production"?{messages:IL}:void 0)}var IL={[Pt.INVALID_ARGUMENT]:"Invalid arguments",[Pt.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[Pt.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[Pt.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[Pt.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[Pt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[Pt.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Ku(e,t){return t.locale!=null?K2(t.locale):K2(e.locale)}var sm;function K2(e){if(ze(e))return e;if(mt(e)){if(e.resolvedOnce&&sm!=null)return sm;if(e.constructor.name==="Function"){const t=e();if(WY(t))throw Ya(Pt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return sm=t}else throw Ya(Pt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ya(Pt.NOT_SUPPORT_LOCALE_TYPE)}function xL(e,t,a){return[...new Set([a,...rt(t)?t:Qe(t)?Object.keys(t).filter(n=>n!=="default"):ze(t)?[t]:[a]])]}function Nr(e,t,a){const n=ze(a)?a:gc,i=e;let c;Qe(t)?(i.__localeChainObjectCache||(i.__localeChainObjectCache=new WeakMap),c=i.__localeChainObjectCache.get(t),c||(c=new Map,i.__localeChainObjectCache.set(t,c))):(i.__localeChainCache||(i.__localeChainCache=new Map),c=i.__localeChainCache.get(t),c||(c=new Map,i.__localeChainCache.set(t,c)));const d=c.get(n);if(d)return d;const o=[];let s=[a];for(;rt(s);)s=H2(o,s,t);const m=rt(t)||!nt(t)?t:t.default?t.default:null;return s=ze(m)?[m]:m,rt(s)&&H2(o,s,!1),c.set(n,o),o}function H2(e,t,a){let n=!0;for(let i=0;i<t.length&&tt(n);i++){const c=t[i];ze(c)&&(n=gL(e,t[i],a))}return n}function gL(e,t,a){let n;const i=t.split("-");do n=zL(e,i.join("-"),a),i.splice(-1,1);while(i.length&&n===!0);return n}function zL(e,t,a){let n=!1;if(!e.includes(t)&&(n=!0,t)){n=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(rt(a)||nt(a))&&a[i]&&(n=a[i])}return n}var sn=[];sn[0]={w:[0],i:[3,0],"[":[4],o:[7]};sn[1]={w:[1],".":[2],"[":[4],o:[7]};sn[2]={w:[2],i:[3,0],0:[3,0]};sn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};sn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};sn[5]={"'":[4,0],o:8,l:[5,0]};sn[6]={'"':[4,0],o:8,l:[6,0]};var wL=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function RL(e){return wL.test(e)}function SL(e){const t=e.charCodeAt(0);return t===e.charCodeAt(e.length-1)&&(t===34||t===39)?e.slice(1,-1):e}function fL(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function vL(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:RL(t)?SL(t):"*"+t}function kL(e){const t=[];let a=-1,n=0,i=0,c,d,o,s,m,r,u;const Z=[];Z[0]=()=>{d===void 0?d=o:d+=o},Z[1]=()=>{d!==void 0&&(t.push(d),d=void 0)},Z[2]=()=>{Z[0](),i++},Z[3]=()=>{if(i>0)i--,n=4,Z[0]();else{if(i=0,d===void 0||(d=vL(d),d===!1))return!1;Z[1]()}};function h(){const p=e[a+1];if(n===5&&p==="'"||n===6&&p==='"')return a++,o="\\"+p,Z[0](),!0}for(;n!==null;)if(a++,c=e[a],!(c==="\\"&&h())){if(s=fL(c),u=sn[n],m=u[s]||u.l||8,m===8||(n=m[0],m[1]!==void 0&&(r=Z[m[1]],r&&(o=c,r()===!1))))return;if(n===7)return t}}var P2=new Map;function FL(e,t){return Qe(e)?e[t]:null}function jL(e,t){if(!Qe(e))return null;let a=P2.get(t);if(a||(a=kL(t),a&&P2.set(t,a)),!a)return null;const n=a.length;let i=e,c=0;for(;c<n;){const d=a[c];if(Ph.includes(d)&&fl(i)||!Qe(i)||!Rl(i,d))return null;const o=i[d];if(o===void 0||mt(i))return null;i=o,c++}return i}var St={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,INVALID_NUMBER_ARGUMENT:8,INVALID_DATE_ARGUMENT:9};var CL={[St.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[St.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[St.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[St.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[St.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[St.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[St.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.",[St.INVALID_NUMBER_ARGUMENT]:"Invalid argument for number formatting: expected a number but received '{value}'.",[St.INVALID_DATE_ARGUMENT]:"Invalid argument for datetime formatting: expected a Date, number, or ISO string but received '{value}'."};function ln(e,...t){return Ws(CL[e],...t)}var JL="11.4.12";var gc="en-US";var Q2=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function DL(){return{upper:(e,t)=>t==="text"&&ze(e)?e.toUpperCase():t==="vnode"&&Qe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ze(e)?e.toLowerCase():t==="vnode"&&Qe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ze(e)?Q2(e):t==="vnode"&&Qe(e)&&"__v_isVNode"in e?Q2(e.children):e}}var Qh;function UL(e){Qh=e}var Ah;function OL(e){Ah=e}var _h;function EL(e){_h=e}var $h=null,A2=e=>{$h=e},BL=()=>$h,qh=null,_2=e=>{qh=e},$2=()=>qh,q2=0;function KL(e={}){const t=mt(e.onWarn)?e.onWarn:yY,a=ze(e.version)?e.version:JL,n=ze(e.locale)||mt(e.locale)?e.locale:gc,i=mt(n)?gc:n,c=rt(e.fallbackLocale)||nt(e.fallbackLocale)||ze(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,d=nt(e.messages)?e.messages:mm(i),o=nt(e.datetimeFormats)?e.datetimeFormats:mm(i),s=nt(e.numberFormats)?e.numberFormats:mm(i),m=Tt(dt(),e.modifiers,DL()),r=e.pluralRules||dt(),u=mt(e.missing)?e.missing:null,Z=tt(e.missingWarn)||Ti(e.missingWarn)?e.missingWarn:!0,h=tt(e.fallbackWarn)||Ti(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,b=!!e.unresolving,y=mt(e.postTranslation)?e.postTranslation:null,W=nt(e.processor)?e.processor:null,G=tt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,N=!!e.escapeParameter,Y=mt(e.messageCompiler)?e.messageCompiler:Qh;process.env.NODE_ENV!=="production"&&mt(e.messageCompiler)&&Uu(ln(St.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const L=mt(e.messageResolver)?e.messageResolver:Ah||FL,X=mt(e.localeFallbacker)?e.localeFallbacker:_h||xL,M=Qe(e.fallbackContext)?e.fallbackContext:void 0,V=e,z=Qe(V.__datetimeFormatters)?V.__datetimeFormatters:new Map,I=Qe(V.__numberFormatters)?V.__numberFormatters:new Map,x=Qe(V.__meta)?V.__meta:{};q2++;const w={version:a,cid:q2,locale:n,fallbackLocale:c,messages:d,modifiers:m,pluralRules:r,missing:u,missingWarn:Z,fallbackWarn:h,fallbackFormat:p,unresolving:b,postTranslation:y,processor:W,warnHtmlMessage:G,escapeParameter:N,messageCompiler:Y,messageResolver:L,localeFallbacker:X,fallbackContext:M,onWarn:t,__meta:x};return w.datetimeFormats=o,w.numberFormats=s,w.__datetimeFormatters=z,w.__numberFormatters=I,process.env.NODE_ENV!=="production"&&(w.__v_emitter=V.__v_emitter!=null?V.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&ML(w,a,x),w}var mm=e=>({[e]:dt()});function Hu(e,t){return e instanceof RegExp?e.test(t):e}function ep(e,t){return e instanceof RegExp?e.test(t):e}function tp(e,t,a,n,i){const{missing:c,onWarn:d}=e;if(process.env.NODE_ENV!=="production"){const o=e.__v_emitter;o&&o.emit("missing",{locale:a,key:t,type:i,groupId:tn(i,t)})}if(c!==null){const o=c(e,a,t,i);return ze(o)?o:t}else return process.env.NODE_ENV!=="production"&&ep(n,t)&&d(ln(St.NOT_FOUND_KEY,{key:t,locale:a})),t}function eZ(e,t){const a=e;Qe(t)?a.__localeChainObjectCache?.delete(t):a.__localeChainCache?.delete(t)}function Rd(e,t,a){eZ(e,a),e.fallbackContext&&eZ(e.fallbackContext,a),e.localeFallbacker(e,a,t)}function lp(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function HL(e,t){const a=t.indexOf(e);if(a===-1)return!1;for(let n=a+1;n<t.length;n++)if(lp(e,t[n]))return!0;return!1}function ap(e,t,a,n,i,c,d){const{fallbackLocale:o,localeFallbacker:s,onWarn:m}=e,r=s(e,o,a);let u=a;for(let Z=0;Z<r.length;Z++){const h=r[Z];if(process.env.NODE_ENV!=="production"&&a!==h&&Hu(c,t)&&m(ln(d==="datetime format"?St.FALLBACK_TO_DATE_FORMAT:St.FALLBACK_TO_NUMBER_FORMAT,{key:t,target:h})),process.env.NODE_ENV!=="production"&&a!==h){const b=e.__v_emitter;b&&b.emit("fallback",{type:d,key:t,from:u,to:h,groupId:tn(d,t)})}const p=(n[h]||{})[t];if(nt(p)&&ze(h))return h;tp(e,t,h,i,d),u=h}return null}function np(e,t,a){let n=`${e}__${t}`;return nt(a)&&!Cu(a)&&(n=`${n}__${JSON.stringify(a)}`),n}function ip(e,t,a){for(const n in a){const i=`${t}__${n}`;for(const c of e.keys())(c===i||c.startsWith(`${i}__`))&&e.delete(c)}}function cp(e,t,a,n){const[,i,c,d]=e;let o=a;return ze(i)?t.key=i:nt(i)&&Object.keys(i).forEach(s=>{n.includes(s)?o[s]=i[s]:t[s]=i[s]}),ze(c)?t.locale=c:nt(c)&&(o=c),nt(d)&&(o=d),o}var tZ=typeof Intl<"u",dp={dateTimeFormat:tZ&&typeof Intl.DateTimeFormat<"u",numberFormat:tZ&&typeof Intl.NumberFormat<"u"};function lZ(e,...t){const{datetimeFormats:a,unresolving:n,onWarn:i}=e,{__datetimeFormatters:c}=e;if(process.env.NODE_ENV!=="production"&&!dp.dateTimeFormat)return i(ln(St.CANNOT_FORMAT_DATE)),"";if(!ze(t[0])&&!jh(t[0])&&!Yt(t[0]))return process.env.NODE_ENV!=="production"&&i(ln(St.INVALID_DATE_ARGUMENT,{value:String(t[0])})),"";const[d,o,s,m]=yr(...t),r=tt(s.missingWarn)?s.missingWarn:e.missingWarn,u=tt(s.fallbackWarn)?s.fallbackWarn:e.fallbackWarn,Z=!!s.part,h=Ku(e,s);if(!ze(d)||d===""){const G=new Intl.DateTimeFormat(h.replace(/!/g,""),m);return Z?G.formatToParts(o):G.format(o)}const p=ap(e,d,h,a,r,u,"datetime format");if(!ze(p))return n?-1:d;const b=a[p][d],y=np(p,d,m);let W=c.get(y);return W||(W=new Intl.DateTimeFormat(p,Tt({},b,m)),c.set(y,W)),Z?W.formatToParts(o):W.format(o)}var op=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function yr(...e){const[t]=e,a=dt(),n=dt();let i;if(ze(t)){const d=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!d)throw Ya(Pt.INVALID_ISO_DATE_ARGUMENT);const o=d[3]?d[3].trim().startsWith("T")?`${d[1].trim()}${d[3].trim()}`:`${d[1].trim()}T${d[3].trim()}`:d[1].trim();i=new Date(o);try{i.toISOString()}catch{throw Ya(Pt.INVALID_ISO_DATE_ARGUMENT)}}else if(jh(t)){if(isNaN(t.getTime()))throw Ya(Pt.INVALID_DATE_ARGUMENT);i=t}else if(Yt(t))i=t;else throw Ya(Pt.INVALID_ARGUMENT);const c=cp(e,a,n,op);return[a.key||"",i,a,c]}function aZ(e,t,a){ip(e.__datetimeFormatters,t,a)}function nZ(e,...t){const{numberFormats:a,unresolving:n,onWarn:i}=e,{__numberFormatters:c}=e;if(process.env.NODE_ENV!=="production"&&!dp.numberFormat)return i(ln(St.CANNOT_FORMAT_NUMBER)),"";if(!Yt(t[0]))return process.env.NODE_ENV!=="production"&&i(ln(St.INVALID_NUMBER_ARGUMENT,{value:String(t[0])})),"";const[d,o,s,m]=Yr(...t),r=tt(s.missingWarn)?s.missingWarn:e.missingWarn,u=tt(s.fallbackWarn)?s.fallbackWarn:e.fallbackWarn,Z=!!s.part,h=Ku(e,s);if(!ze(d)||d===""){const G=new Intl.NumberFormat(h.replace(/!/g,""),m);return Z?G.formatToParts(o):G.format(o)}const p=ap(e,d,h,a,r,u,"number format");if(!ze(p))return n?-1:d;const b=a[p][d],y=np(p,d,m);let W=c.get(y);return W||(W=new Intl.NumberFormat(p,Tt({},b,m)),c.set(y,W)),Z?W.formatToParts(o):W.format(o)}var sp=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Yr(...e){const[t]=e,a=dt(),n=dt();if(!Yt(t))throw Ya(Pt.INVALID_ARGUMENT);const i=t,c=cp(e,a,n,sp);return[a.key||"",i,a,c]}function iZ(e,t,a){ip(e.__numberFormatters,t,a)}var PL=e=>e,QL=e=>"",AL="text",_L=e=>e.length===0?"":Du(e),$L=GY;function rm(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function qL(e){const t=Yt(e.pluralIndex)?e.pluralIndex:-1;return Yt(e.named?.count)?e.named.count:Yt(e.named?.n)?e.named.n:t}function e9(e={}){const t=e.locale,a=qL(e),n=ze(t)&&mt(e.pluralRules?.[t])?e.pluralRules[t]:rm,i=n===rm?void 0:rm,c=W=>W[n(a,W.length,i)],d=e.list||[],o=W=>d[W],s=e.named||dt();Yt(e.pluralIndex)&&(s.count||=e.pluralIndex,s.n||=e.pluralIndex);const m=W=>s[W];function r(W,G){const N=mt(e.messages)?e.messages(W,!!G):Qe(e.messages)?e.messages[W]:!1;return N||(e.parent?e.parent.message(W):QL)}const u=W=>e.modifiers?e.modifiers[W]:PL,Z=mt(e.processor?.normalize)?e.processor.normalize:_L,h=mt(e.processor?.interpolate)?e.processor.interpolate:$L,p=ze(e.processor?.type)?e.processor.type:AL,y={list:o,named:m,plural:c,linked:(W,...G)=>{const[N,Y]=G;let L="text",X="";G.length===1?Qe(N)?(X=N.modifier||X,L=N.type||L):ze(N)&&(X=N||X):G.length===2&&(ze(N)&&(X=N||X),ze(Y)&&(L=Y||L));const M=r(W,!0)(y),V=M===""||M===void 0?W:M,z=L==="vnode"&&rt(V)&&X?V[0]:V;return X?u(X)(z,L):z},message:r,type:p,interpolate:h,normalize:Z,values:Tt(dt(),d,s)};return y}var cZ=()=>"",Il=e=>mt(e);function dZ(e,...t){const{fallbackFormat:a,postTranslation:n,unresolving:i,messageCompiler:c,fallbackLocale:d,messages:o}=e,[s,m]=Lr(...t),r=tt(m.missingWarn)?m.missingWarn:e.missingWarn,u=tt(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn,Z=tt(m.escapeParameter)?m.escapeParameter:e.escapeParameter,h=!!m.resolvedMessage,p=ze(m.default)||tt(m.default)?tt(m.default)?c?s:()=>s:m.default:a?c?s:()=>s:null,b=a||p!=null&&(ze(p)||mt(p)),y=Ku(e,m);Z&&t9(m);let[W,G,N]=h?[s,y,o[y]||dt()]:mp(e,s,y,d,u,r),Y=W,L=s;if(!h&&!(ze(Y)||fl(Y)||Il(Y))&&b&&(Y=p,L=Y),!h&&(!(ze(Y)||fl(Y)||Il(Y))||!ze(G)))return i?-1:s;if(process.env.NODE_ENV!=="production"&&ze(Y)&&e.messageCompiler==null)return`${s}`,s;let X=!1;const M=()=>{X=!0},V=Il(Y)?Y:rp(e,s,G,Y,L,M);if(X)return Y;const z=l9(e,V,e9(i9(e,G,N,m)));let I=n?n(z,s):z;if(Z&&ze(I)&&(I=SY(I)),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const x={timestamp:Date.now(),key:ze(s)?s:Il(Y)?Y.key:"",locale:G||(Il(Y)?Y.locale:""),format:ze(Y)?Y:Il(Y)?Y.source:"",message:I};x.meta=Tt({},e.__meta,BL()||{}),VL(x)}return I}function t9(e){rt(e.list)?e.list=e.list.map(t=>ze(t)?C2(t):t):Qe(e.named)&&Object.keys(e.named).forEach(t=>{ze(e.named[t])&&(e.named[t]=C2(e.named[t]))})}function mp(e,t,a,n,i,c){const{messages:d,onWarn:o,messageResolver:s,localeFallbacker:m}=e,r=m(e,n,a);let u=dt(),Z,h=null,p=a,b=null;const y="translate";for(let W=0;W<r.length;W++){Z=b=r[W],process.env.NODE_ENV!=="production"&&a!==Z&&!lp(a,Z)&&Hu(i,t)&&o(ln(St.FALLBACK_TO_TRANSLATE,{key:t,target:Z}));const G=process.env.NODE_ENV!=="production"?e.__v_emitter:void 0;process.env.NODE_ENV!=="production"&&a!==Z&&G&&G.emit("fallback",{type:y,key:t,from:p,to:b,groupId:tn(y,t)}),u=d[Z]||dt();let N=null,Y,L;if(process.env.NODE_ENV!=="production"&&Al&&G&&(N=window.performance.now(),Y="intlify-message-resolve-start",L="intlify-message-resolve-end",Nl&&Nl(Y)),(h=s(u,t))===null&&(h=u[t]),process.env.NODE_ENV!=="production"&&Al&&G){const X=window.performance.now();G&&N&&h&&G.emit("message-resolve",{type:"message-resolve",key:t,message:h,time:X-N,groupId:tn(y,t)}),Y&&L&&Nl&&fn&&(Nl(L),fn("intlify message resolve",Y,L))}if(ze(h)||fl(h)||Il(h))break;if(!HL(Z,r)){const X=tp(e,t,Z,c,y);X!==t&&(h=X)}p=b}return[h,Z,u]}function rp(e,t,a,n,i,c){const{messageCompiler:d,warnHtmlMessage:o}=e;if(Il(n)){const h=n;return h.locale=h.locale||a,h.key=h.key||t,h}if(d==null){const h=(()=>n);return h.locale=a,h.key=t,h}const s=process.env.NODE_ENV!=="production"?e.__v_emitter:void 0;let m=null,r,u;process.env.NODE_ENV!=="production"&&Al&&s&&(m=window.performance.now(),r="intlify-message-compilation-start",u="intlify-message-compilation-end",Nl&&Nl(r));const Z=d(n,a9(e,a,i,n,o,c));if(process.env.NODE_ENV!=="production"&&Al&&s){const h=window.performance.now();s&&m&&s.emit("message-compilation",{type:"message-compilation",message:n,time:h-m,groupId:tn("translate",t)}),r&&u&&Nl&&fn&&(Nl(u),fn("intlify message compilation",r,u))}return Z.locale=a,Z.key=t,Z.source=n,Z}function l9(e,t,a){const n=process.env.NODE_ENV!=="production"?e.__v_emitter:void 0;let i=null,c,d;process.env.NODE_ENV!=="production"&&Al&&n&&(i=window.performance.now(),c="intlify-message-evaluation-start",d="intlify-message-evaluation-end",Nl&&Nl(c));const o=t(a);if(process.env.NODE_ENV!=="production"&&Al&&n){const s=window.performance.now();n&&i&&n.emit("message-evaluation",{type:"message-evaluation",value:o,time:s-i,groupId:tn("translate",t.key)}),c&&d&&Nl&&fn&&(Nl(d),fn("intlify message evaluation",c,d))}return o}function Lr(...e){const[t,a,n]=e,i=dt();if(!ze(t)&&!Yt(t)&&!Il(t)&&!fl(t))throw Ya(Pt.INVALID_ARGUMENT);const c=Yt(t)?String(t):(Il(t),t);return Yt(a)?i.plural=a:ze(a)?i.default=a:nt(a)&&!Cu(a)?i.named=a:rt(a)&&(i.list=a),Yt(n)?i.plural=n:ze(n)?i.default=n:nt(n)&&Tt(i,n),[c,i]}function a9(e,t,a,n,i,c){return{locale:t,key:a,warnHtmlMessage:i,onError:d=>{if(c&&c(d),process.env.NODE_ENV!=="production"){const o=n9(n),s=d.location&&o&&NY(o,d.location.start.offset,d.location.end.offset),m=e.__v_emitter;m&&o&&m.emit("compile-error",{message:o,error:d.message,start:d.location&&d.location.start.offset,end:d.location&&d.location.end.offset,groupId:tn("translate",a)});const r=`Message compilation error: ${d.message}`;throw new SyntaxError(s?`${r}
|
|
@@ -75,10 +75,6 @@ ${a.repeat(d)}`),c+=m.raw,m.type==="tag"&&m.kind==="open"&&Dr(m)&&!u0.has(m.name
|
|
|
75
75
|
margin: 0;
|
|
76
76
|
padding: 14px 8px 8px 8px;
|
|
77
77
|
min-height: 200px;
|
|
78
|
-
/* Floated figures do not contribute height, so without a block
|
|
79
|
-
formatting context the editable body collapses and content below
|
|
80
|
-
overlaps the floats. */
|
|
81
|
-
display: flow-root;
|
|
82
78
|
font-family: ${_.value};
|
|
83
79
|
line-height: 1.5;
|
|
84
80
|
color: ${ae.value};
|
|
@@ -421,32 +417,22 @@ ${a.repeat(d)}`),c+=m.raw,m.type==="tag"&&m.kind==="open"&&Dr(m)&&!u0.has(m.name
|
|
|
421
417
|
/* Default: full width block. */
|
|
422
418
|
figure.align-full {
|
|
423
419
|
float: none;
|
|
424
|
-
/* A block box following a float starts at the float's top, which paints
|
|
425
|
-
this figure's edit badge over the floated media above it. Clearing
|
|
426
|
-
forces the new row that "full width" implies. */
|
|
427
|
-
clear: both;
|
|
428
420
|
width: 100%;
|
|
429
421
|
margin-inline: 0;
|
|
430
422
|
}
|
|
431
423
|
|
|
432
|
-
/* Gap reserved inside the 50% so two opposing floats share a line:
|
|
433
|
-
2 × (50% - gap) + 2 × gap = 100%. */
|
|
434
|
-
figure.align-start,
|
|
435
|
-
figure.align-end {
|
|
436
|
-
--rich-figure-gap: 1.25em;
|
|
437
|
-
width: 50%;
|
|
438
|
-
max-width: calc(50% - var(--rich-figure-gap) - 1px);
|
|
439
|
-
margin-block: 0.25em 0.75em;
|
|
440
|
-
}
|
|
441
|
-
|
|
442
424
|
figure.align-start {
|
|
443
425
|
float: inline-start;
|
|
444
|
-
|
|
426
|
+
max-width: 50%;
|
|
427
|
+
margin-block: 0.25em 0.75em;
|
|
428
|
+
margin-inline: 0 1.25em;
|
|
445
429
|
}
|
|
446
430
|
|
|
447
431
|
figure.align-end {
|
|
448
432
|
float: inline-end;
|
|
449
|
-
|
|
433
|
+
max-width: 50%;
|
|
434
|
+
margin-block: 0.25em 0.75em;
|
|
435
|
+
margin-inline: 1.25em 0;
|
|
450
436
|
}
|
|
451
437
|
|
|
452
438
|
figure.align-start img,
|
|
@@ -456,20 +442,7 @@ ${a.repeat(d)}`),c+=m.raw,m.type==="tag"&&m.kind==="open"&&Dr(m)&&!u0.has(m.name
|
|
|
456
442
|
|
|
457
443
|
figure.video-figure.align-start,
|
|
458
444
|
figure.video-figure.align-end {
|
|
459
|
-
max-width:
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
/* Floats remove themselves from flow, so a paragraph whose only children
|
|
463
|
-
are floated figures collapses to zero height and the next block is
|
|
464
|
-
painted over them. flow-root gives the wrapper back its height
|
|
465
|
-
without clipping the edit badges or captions. */
|
|
466
|
-
p:has(> figure.align-start),
|
|
467
|
-
p:has(> figure.align-end),
|
|
468
|
-
li:has(> figure.align-start),
|
|
469
|
-
li:has(> figure.align-end),
|
|
470
|
-
div:has(> figure.align-start),
|
|
471
|
-
div:has(> figure.align-end) {
|
|
472
|
-
display: flow-root;
|
|
445
|
+
max-width: 50%;
|
|
473
446
|
}
|
|
474
447
|
|
|
475
448
|
figure.video-figure .video-container {
|
|
@@ -540,7 +513,7 @@ ${a.repeat(d)}`),c+=m.raw,m.type==="tag"&&m.kind==="open"&&Dr(m)&&!u0.has(m.name
|
|
|
540
513
|
color: inherit;
|
|
541
514
|
}
|
|
542
515
|
${h.value}
|
|
543
|
-
`;j.textContent=O}(0,l.watch)([oe,ae,_,h],()=>{L.value&&dm()},{flush:"post"}),(0,l.watch)(s,S=>{const j=N.state.doc;if(!j?.body){N.state.content=S;return}if(S!==im(j)){if(Co(N.state,N.state.content),S.trim())j.body.innerHTML=S,eb(j.body),qZ(j.body);else if(n.placeholder){const A=j.createElement("p");A.className="placeholder",A.textContent=n.placeholder,j.body.replaceChildren(A)}else{const A=Za();j.body.innerHTML=`<p dir="${A}"><br></p>`}Ki(),Pn(j),N.state.content=j.body.innerHTML}});const T2=(0,l.computed)(()=>n.splitViewFormat!==!1),I2=(0,l.computed)({get:()=>{N.state.content;const S=N.state.doc?im(N.state.doc):N.state.content;return T2.value?L4(S):S},set:S=>{const j=T2.value?f5(S):S,A=N.state.doc;if(!A?.body){N.state.content=j;return}Co(N.state,N.state.content),A.body.innerHTML=j,Pn(A),N.state.content=A.body.innerHTML}});(0,l.watch)(()=>N.state.content,()=>{i("update:modelValue",im(N.state.doc??null))}),(0,l.watch)(k,S=>{S&&i("limit-exceeded",{characters:z.value,words:I.value,maxLength:n.maxLength,maxWords:n.maxWords})}),(0,l.watch)(()=>H.value.alignment,S=>{Ye?.existingTable&&(am(Ye.existingTable,S),N.state.doc&&it(N.state.doc))});function x2(){re.value=!1}(0,l.onMounted)(()=>{typeof window<"u"&&window.addEventListener("click",x2)}),(0,l.onBeforeUnmount)(()=>{typeof window<"u"&&window.removeEventListener("click",x2)}),t({editor:N,commands:X});const g2=(0,l.computed)({get:()=>ue.value.src,set:S=>{!S||ue.value.src===S||(ue.value.src=bl(S)??S)}});return(S,j)=>{const A=(0,l.resolveDirective)("tooltip");return(0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,null,[(0,l.createElementVNode)("div",(0,l.mergeProps)({class:["bagel-input rich-text-light-theme",[(0,l.unref)(c),{"has-value":m.value,"rich-text-full-height":e.fullHeight}]],style:(0,l.unref)(d)},(0,l.unref)(W)),[e.label?((0,l.openBlock)(),(0,l.createElementBlock)("label",EJ,(0,l.toDisplayString)(e.label),1)):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)(["rounded",[{"rich-text-editor pt-05 px-05 pb-075":!e.basic,"rich-text-editor--basic":e.basic,"fullscreen-mode":(0,l.unref)(N).state.isFullscreen,"full-height":e.fullHeight&&!(0,l.unref)(N).state.isFullscreen}]])},[(0,l.unref)(N).state.hasInit&&T.value?((0,l.openBlock)(),(0,l.createBlock)(bJ,{key:0,config:f.value,selectedStyles:M.value,"hide-images":e.hideImages,"hide-videos":e.hideVideos,"hide-embeds":e.hideEmbed,"hide-tables":e.hideTables,"hide-alignment":e.hideAlignment,"hide-directions":e.hideDirections,"hide-h5-h6":e.hideH5H6,hide:E.value,"document-colors":b.value,onAction:(0,l.unref)(X).execute},{end:(0,l.withCtx)(()=>[(0,l.renderSlot)(S.$slots,"toolbar-end",{api:D},()=>[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(Z.value,O=>(0,l.withDirectives)(((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(ce),{key:O.name,icon:O.icon,value:O.value,"aria-label":O.label,class:(0,l.normalizeClass)([O.class,{active:M.value.has(O.name)}]),"aria-pressed":M.value.has(O.name),thin:"",flat:"",tabindex:"-1",onMousedown:j[0]||(j[0]=(0,l.withModifiers)(()=>{},["prevent"])),onClick:ye=>O.action(D)},null,8,["icon","value","aria-label","class","aria-pressed","onClick"])),[[A,O.label]])),128))],!0)]),_:3},8,["config","selectedStyles","hide-images","hide-videos","hide-embeds","hide-tables","hide-alignment","hide-directions","hide-h5-h6","hide","document-colors","onAction"])):(0,l.createCommentVNode)("",!0),F.value?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:1,class:(0,l.normalizeClass)(["flex space-between txt10 pb-025",k.value?"color-red":"color-gray"]),role:"status","aria-live":"polite"},[(0,l.createElementVNode)("span",null,[(0,l.createTextVNode)((0,l.toDisplayString)(z.value),1),e.maxLength?((0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,{key:0},[(0,l.createTextVNode)(" / "+(0,l.toDisplayString)(e.maxLength),1)],64)):(0,l.createCommentVNode)("",!0),j[66]||(j[66]=(0,l.createTextVNode)(" characters",-1))]),(0,l.createElementVNode)("span",null,[(0,l.createTextVNode)((0,l.toDisplayString)(I.value),1),e.maxWords?((0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,{key:0},[(0,l.createTextVNode)(" / "+(0,l.toDisplayString)(e.maxWords),1)],64)):(0,l.createCommentVNode)("",!0),j[67]||(j[67]=(0,l.createTextVNode)(" words",-1))]),(0,l.createElementVNode)("span",BJ,(0,l.toDisplayString)(K.value),1)],2)):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)(["editor-container",{"split-view":(0,l.unref)(N).state.isSplitView}])},[(0,l.createElementVNode)("div",{class:"content-area radius-05",style:(0,l.normalizeStyle)({height:(0,l.unref)(N).state.isFullscreen?"calc(100vh - 4rem)":V2.value})},[(0,l.createElementVNode)("iframe",{id:"rich-text-iframe",ref_key:"iframe",ref:G,class:(0,l.normalizeClass)(["editableContent",{"editor-ready":L.value}]),title:"Editor",srcdoc:"",sandbox:"allow-same-origin allow-forms allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-presentation",onLoad:Wy},null,34)],4),(0,l.unref)(N).state.isSplitView?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(s0),{key:0,modelValue:I2.value,"onUpdate:modelValue":j[1]||(j[1]=O=>I2.value=O),language:"html",autodetect:!1,wrap:"",height:(0,l.unref)(N).state.isFullscreen?"calc(100vh - 4rem)":V2.value},null,8,["modelValue","height"])):(0,l.createCommentVNode)("",!0)],2),e.debug?((0,l.openBlock)(),(0,l.createElementBlock)("div",KJ,[j[72]||(j[72]=(0,l.createElementVNode)("p",{class:"txt12 txt-gray mb-0 p-0"}," Debug ",-1)),(0,l.createVNode)((0,l.unref)(ce),{thin:"",color:"gray",icon:"visibility",onClick:b2},{default:(0,l.withCtx)(()=>[...j[68]||(j[68]=[(0,l.createTextVNode)(" Show Content ",-1)])]),_:1}),(0,l.createVNode)((0,l.unref)(ce),{thin:"",color:"gray",icon:"delete",onClick:cm.value?.clearSession},{default:(0,l.withCtx)(()=>[...j[69]||(j[69]=[(0,l.createTextVNode)(" Clear Session ",-1)])]),_:1},8,["onClick"]),(0,l.createVNode)((0,l.unref)(ce),{thin:"",color:"gray",icon:"download",onClick:cm.value?.downloadSession},{default:(0,l.withCtx)(()=>[...j[70]||(j[70]=[(0,l.createTextVNode)(" Download Log ",-1)])]),_:1},8,["onClick"]),(0,l.createVNode)((0,l.unref)(ce),{thin:"",color:"gray",icon:"content_copy",onClick:j[2]||(j[2]=O=>(0,l.unref)(OG)(cm.value?.exportDebugWithPrompt()||""))},{default:(0,l.withCtx)(()=>[...j[71]||(j[71]=[(0,l.createTextVNode)(" Copy Log ",-1)])]),_:1})])):(0,l.createCommentVNode)("",!0)],2),se.value?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:1,class:"inline-toolbar",style:(0,l.normalizeStyle)({position:"fixed",top:`${pe.value.top}px`,left:`${pe.value.left}px`,zIndex:99})},[(0,l.createElementVNode)("div",HJ,[(0,l.createVNode)((0,l.unref)(ce),{thin:"",flat:"",icon:"format_bold",class:(0,l.normalizeClass)({active:(0,l.unref)(N).state.selectedStyles.has("bold")}),onClick:j[3]||(j[3]=O=>Hi("bold"))},null,8,["class"]),(0,l.createVNode)((0,l.unref)(ce),{thin:"",flat:"",icon:"format_italic",class:(0,l.normalizeClass)({active:(0,l.unref)(N).state.selectedStyles.has("italic")}),onClick:j[4]||(j[4]=O=>Hi("italic"))},null,8,["class"]),(0,l.createVNode)((0,l.unref)(ce),{thin:"",flat:"",icon:"format_underlined",class:(0,l.normalizeClass)({active:M.value.has("underline")}),onClick:j[5]||(j[5]=O=>Hi("underline"))},null,8,["class"]),(0,l.createVNode)((0,l.unref)(vt),{vertical:"",size:"1.25rem",class:"mx-0125"}),(0,l.createVNode)((0,l.unref)(ce),{thin:"",flat:"",icon:"add_link",onClick:j[6]||(j[6]=O=>Hi("link"))}),M.value.has("link")?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(ce),{key:0,thin:"",flat:"",icon:"link_off","aria-label":"Remove link",title:"Remove link",onClick:j[7]||(j[7]=O=>Hi("unlink"))})):(0,l.createCommentVNode)("",!0)])],4)):(0,l.createCommentVNode)("",!0),(0,l.createVNode)((0,l.unref)(m5),{shown:re.value,"onUpdate:shown":j[8]||(j[8]=O=>re.value=O),"anchor-point":Xe.value,title:"Table Actions",items:Zy.value,"popup-class":"rich-text-light-theme"},null,8,["shown","anchor-point","items"])],16),(0,l.createVNode)((0,l.unref)(na),{open:P.value,title:em()?"Edit Link":"Add Link",width:"s","onUpdate:open":j[13]||(j[13]=O=>P.value=O)},{footer:(0,l.withCtx)(()=>[(0,l.createVNode)((0,l.unref)(ce),{value:"Cancel",flat:"",thin:"",onClick:j[12]||(j[12]=O=>P.value=!1)}),em()?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(ce),{key:0,value:"Remove Link",flat:"",thin:"",icon:"link_off",color:"red",onClick:BN})):(0,l.createCommentVNode)("",!0),(0,l.createVNode)((0,l.unref)(ce),{value:em()?"Update Link":"Add Link",disabled:!tm(U.value.url),onClick:p2},null,8,["value","disabled"])]),default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",PJ,[(0,l.createVNode)(Pe,{modelValue:U.value.url,"onUpdate:modelValue":j[9]||(j[9]=O=>U.value.url=O),label:"URL",type:"url",placeholder:"https://example.com",onKeydown:(0,l.withKeys)(p2,["enter"])},null,8,["modelValue"]),(0,l.createVNode)((0,l.unref)(ce),{icon:"open_in_new",class:"mb-05 radius-1",flat:"",disabled:!tm(U.value.url),onClick:KN},null,8,["disabled"])]),(0,l.createVNode)(Pe,{modelValue:U.value.title,"onUpdate:modelValue":j[10]||(j[10]=O=>U.value.title=O),label:"Title",placeholder:"Optional link title"},null,8,["modelValue"]),(0,l.createVNode)(Ht,{modelValue:U.value.openInNewTab,"onUpdate:modelValue":j[11]||(j[11]=O=>U.value.openInNewTab=O),label:"Open in new tab",type:"checkbox",class:"mb-2 mt-05"},null,8,["modelValue"])]),_:1},8,["open","title"]),ne.value?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:0,class:"editor-tooltip",style:(0,l.normalizeStyle)({left:`${te.value.x}px`,top:`${te.value.y}px`})},(0,l.toDisplayString)(te.value.message),5)):(0,l.createCommentVNode)("",!0),(0,l.createVNode)((0,l.unref)(na),{open:he.value,title:(0,l.unref)(Q)?.existingImage?"Edit Image":"Insert Image",width:"l","onUpdate:open":j[26]||(j[26]=O=>he.value=O)},{footer:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",qJ,[(0,l.createVNode)((0,l.unref)(ce),{value:"Cancel",flat:"",thin:"",onClick:j[25]||(j[25]=O=>he.value=!1)}),(0,l.unref)(Q)?.existingImage?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(ce),{key:0,value:"Delete Image",color:"red",flat:"",thin:"",icon:"delete",onClick:ly})):(0,l.createCommentVNode)("",!0),(0,l.createVNode)((0,l.unref)(ce),{class:"ms-auto",value:(0,l.unref)(Q)?.existingImage?"Save Changes":"Insert Image",disabled:!ue.value.src,onClick:lm},null,8,["value","disabled"])])]),default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",QJ,[(0,l.createElementVNode)("div",null,[(0,l.createVNode)(Fc,{modelValue:g2.value,"onUpdate:modelValue":j[14]||(j[14]=O=>g2.value=O),label:"Image",type:"image",accept:"image/*",upload:e.uploadImage,onAddFileStart:j[15]||(j[15]=O=>B.value=""),onUploadError:HN,onKeydown:(0,l.withKeys)(lm,["enter"])},null,8,["modelValue","upload"]),B.value?((0,l.openBlock)(),(0,l.createElementBlock)("p",AJ,(0,l.toDisplayString)(B.value),1)):(0,l.createCommentVNode)("",!0)]),(0,l.createElementVNode)("div",_J,[(0,l.createVNode)(Pe,{modelValue:ue.value.src,"onUpdate:modelValue":j[16]||(j[16]=O=>ue.value.src=O),label:"Image URL",type:"url",placeholder:"https://example.com/image.jpg",onKeydown:(0,l.withKeys)(lm,["enter"])},null,8,["modelValue"]),(0,l.createVNode)(Pe,{modelValue:ue.value.alt,"onUpdate:modelValue":j[17]||(j[17]=O=>ue.value.alt=O),label:"Alt Text",placeholder:"Describe the image"},null,8,["modelValue"]),(0,l.createElementVNode)("div",$J,[(0,l.createVNode)(Pe,{modelValue:ue.value.width,"onUpdate:modelValue":j[18]||(j[18]=O=>ue.value.width=O),label:"Width",placeholder:"100% or 500px or auto",help:"Examples: 100%, 500px, auto"},null,8,["modelValue"]),(0,l.createVNode)(Pe,{modelValue:ue.value.height,"onUpdate:modelValue":j[19]||(j[19]=O=>ue.value.height=O),label:"Height",placeholder:"auto or 300px",help:"Examples: auto, 300px"},null,8,["modelValue"])]),(0,l.createVNode)(bi,{modelValue:ue.value.align,"onUpdate:modelValue":j[20]||(j[20]=O=>ue.value.align=O),label:"Alignment",options:[{value:"full",label:"Full width (default)",icon:"width_full"},{value:"start",label:"Float to start (text wraps)",icon:"align_horizontal_left"},{value:"end",label:"Float to end (text wraps)",icon:"align_horizontal_right"}],"icon-only":""},null,8,["modelValue"]),(0,l.createVNode)(Pe,{modelValue:ue.value.credit,"onUpdate:modelValue":j[21]||(j[21]=O=>ue.value.credit=O),label:"Photo Credit",placeholder:"Photographer name (optional)"},null,8,["modelValue"]),(0,l.createVNode)(Pe,{modelValue:ue.value.link,"onUpdate:modelValue":j[22]||(j[22]=O=>ue.value.link=O),label:"Link URL",type:"url",placeholder:"https://example.com (optional)",help:"Make the image clickable by linking it to a URL"},null,8,["modelValue"]),ue.value.link?((0,l.openBlock)(),(0,l.createBlock)(Ht,{key:0,modelValue:ue.value.linkNewTab,"onUpdate:modelValue":j[23]||(j[23]=O=>ue.value.linkNewTab=O),label:"Open link in new tab"},null,8,["modelValue"])):(0,l.createCommentVNode)("",!0),(0,l.createVNode)(Ht,{modelValue:ue.value.figcaption,"onUpdate:modelValue":j[24]||(j[24]=O=>ue.value.figcaption=O),label:"Show alt text as caption",help:"Photo credit will always be shown if provided"},null,8,["modelValue"])])])]),_:1},8,["open","title"]),(0,l.createVNode)((0,l.unref)(na),{open:$.value,title:(0,l.unref)(C)?.existingEmbed?"Edit Embed":"Insert Embed",width:"m","onUpdate:open":j[32]||(j[32]=O=>$.value=O)},{footer:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",t7,[(0,l.createVNode)((0,l.unref)(ce),{value:"Cancel",flat:"",thin:"",onClick:j[31]||(j[31]=O=>$.value=!1)}),(0,l.unref)(C)?.existingEmbed?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(ce),{key:0,value:"Delete Embed",color:"red",flat:"",thin:"",icon:"delete",onClick:ay})):(0,l.createCommentVNode)("",!0),(0,l.createVNode)((0,l.unref)(ce),{value:(0,l.unref)(C)?.existingEmbed?"Save Changes":"Insert Embed",disabled:!R.value.src,class:"ms-auto",onClick:N2},null,8,["value","disabled"])])]),default:(0,l.withCtx)(()=>[(0,l.createVNode)(Pe,{modelValue:R.value.src,"onUpdate:modelValue":j[27]||(j[27]=O=>R.value.src=O),label:"Embed URL or Code",type:"url",placeholder:"YouTube URL, embed URL, or paste iframe code",onKeydown:(0,l.withKeys)(N2,["enter"])},null,8,["modelValue"]),(0,l.createElementVNode)("div",e7,[(0,l.createVNode)(Pe,{modelValue:R.value.width,"onUpdate:modelValue":j[28]||(j[28]=O=>R.value.width=O),label:"Width",placeholder:"560"},null,8,["modelValue"]),(0,l.createVNode)(Pe,{modelValue:R.value.height,"onUpdate:modelValue":j[29]||(j[29]=O=>R.value.height=O),label:"Height",placeholder:"315"},null,8,["modelValue"])]),(0,l.createVNode)(Pe,{modelValue:R.value.alt,"onUpdate:modelValue":j[30]||(j[30]=O=>R.value.alt=O),label:"Caption",placeholder:"Enter caption (optional)"},null,8,["modelValue"])]),_:1},8,["open","title"]),(0,l.createVNode)((0,l.unref)(na),{open:Fe.value,title:(0,l.unref)(Je)?.existingVideo?"Edit Video":"Insert Video",width:"m","onUpdate:open":j[46]||(j[46]=O=>Fe.value=O)},{footer:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",d7,[(0,l.createVNode)((0,l.unref)(ce),{value:"Cancel",flat:"",thin:"","full-width-mobile":"",onClick:j[45]||(j[45]=O=>Fe.value=!1)}),(0,l.unref)(Je)?.existingVideo?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(ce),{key:0,value:"Delete Video",color:"red",flat:"",thin:"",icon:"delete","full-width-mobile":"",onClick:QN})):(0,l.createCommentVNode)("",!0),(0,l.createVNode)((0,l.unref)(ce),{value:(0,l.unref)(Je)?.existingVideo?"Save Video":"Insert Video",class:"ms-auto m_ms-0","full-width-mobile":"",disabled:!ge.value.src||!Vd(ge.value.src),onClick:Y2},null,8,["value","disabled"])])]),default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",l7,[(0,l.createVNode)(Pe,{modelValue:ge.value.src,"onUpdate:modelValue":j[33]||(j[33]=O=>ge.value.src=O),label:"Video URL or Embed Code",type:"url",placeholder:"Paste YouTube URL, video file URL, or iframe embed code...",class:(0,l.normalizeClass)({error:ge.value.src&&!Vd(ge.value.src)}),onKeydown:(0,l.withKeys)(Y2,["enter"])},null,8,["modelValue","class"]),ge.value.src&&!Vd(ge.value.src)?((0,l.openBlock)(),(0,l.createElementBlock)("div",a7,[(0,l.createVNode)((0,l.unref)(Te),{name:"warning"}),j[73]||(j[73]=(0,l.createElementVNode)("p",{class:"txt12"}," Please enter a valid video URL or iframe embed code ",-1))])):(0,l.createCommentVNode)("",!0),(0,l.createVNode)(Pe,{modelValue:ge.value.width,"onUpdate:modelValue":j[34]||(j[34]=O=>ge.value.width=O),label:"Width",placeholder:"100% or 500px or 50vw",help:"Examples: 100%, 500px, 50vw, 300"},null,8,["modelValue"]),(0,l.createVNode)(bi,{modelValue:ge.value.align,"onUpdate:modelValue":j[35]||(j[35]=O=>ge.value.align=O),label:"Video alignment",options:[{value:"full",label:"Full width",icon:"fit_screen"},{value:"start",label:"Align start",icon:"align_horizontal_left"},{value:"end",label:"Align end",icon:"align_horizontal_right"}]},null,8,["modelValue"]),(0,l.createVNode)(cl,{modelValue:ge.value.aspectRatio,"onUpdate:modelValue":j[36]||(j[36]=O=>ge.value.aspectRatio=O),label:"Aspect Ratio",options:[{value:"16:9",label:"16:9 (Standard)"},{value:"4:3",label:"4:3 (Classic)"},{value:"9:16",label:"9:16 (Vertical/Shorts)"},{value:"21:9",label:"21:9 (Cinematic)"},{value:"1:1",label:"1:1 (Square)"},{value:"custom",label:"Custom"}]},null,8,["modelValue"]),ge.value.aspectRatio==="custom"?((0,l.openBlock)(),(0,l.createElementBlock)("div",n7,[(0,l.createVNode)(Pe,{modelValue:ge.value.customWidth,"onUpdate:modelValue":j[37]||(j[37]=O=>ge.value.customWidth=O),class:"m_grid-span-1",label:"Width ratio",placeholder:"16",type:"number"},null,8,["modelValue"]),(0,l.createVNode)(Pe,{modelValue:ge.value.customHeight,"onUpdate:modelValue":j[38]||(j[38]=O=>ge.value.customHeight=O),class:"m_grid-span-1",label:"Height ratio",placeholder:"9",type:"number"},null,8,["modelValue"])])):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("div",i7,[(0,l.createVNode)(Ht,{modelValue:ge.value.controls,"onUpdate:modelValue":j[39]||(j[39]=O=>ge.value.controls=O),label:"Show controls"},null,8,["modelValue"]),(0,l.createVNode)(Ht,{modelValue:ge.value.autoplay,"onUpdate:modelValue":j[40]||(j[40]=O=>ge.value.autoplay=O),label:"Autoplay"},null,8,["modelValue"]),(0,l.createVNode)(Ht,{modelValue:ge.value.mute,"onUpdate:modelValue":j[41]||(j[41]=O=>ge.value.mute=O),label:"Mute"},null,8,["modelValue"]),(0,l.createVNode)(Ht,{modelValue:ge.value.loop,"onUpdate:modelValue":j[42]||(j[42]=O=>ge.value.loop=O),label:"Loop"},null,8,["modelValue"]),(0,l.createVNode)(Ht,{modelValue:ge.value.showCaption,"onUpdate:modelValue":j[43]||(j[43]=O=>ge.value.showCaption=O),class:"grid-span-2",label:"Show caption below video"},null,8,["modelValue"]),ge.value.showCaption?((0,l.openBlock)(),(0,l.createBlock)(Pe,{key:0,modelValue:ge.value.caption,"onUpdate:modelValue":j[44]||(j[44]=O=>ge.value.caption=O),label:"Caption",class:"grid-span-2",placeholder:"Describe the video content"},null,8,["modelValue"])):(0,l.createCommentVNode)("",!0)]),ge.value.src&&Vd(ge.value.src)?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)($l),{key:2,frame:"",thin:"",class:"bg-gray-20"},{default:(0,l.withCtx)(()=>[j[74]||(j[74]=(0,l.createElementVNode)("p",{class:"label"}," Preview: ",-1)),(0,l.createElementVNode)("div",c7,[(0,l.createVNode)((0,l.unref)(l0),{src:ge.value.src,class:"","aspect-ratio":ge.value.aspectRatio==="custom"&&ge.value.customWidth&&ge.value.customHeight?`${ge.value.customWidth}:${ge.value.customHeight}`:ge.value.aspectRatio,autoplay:!1,mute:ge.value.mute,controls:ge.value.controls,loop:ge.value.loop},null,8,["src","aspect-ratio","mute","controls","loop"])])]),_:1})):(0,l.createCommentVNode)("",!0)])]),_:1},8,["open","title"]),((0,l.openBlock)(),(0,l.createBlock)(l.Teleport,{to:"body"},[(0,l.createVNode)((0,l.unref)(na),{open:Ze.value,title:(0,l.unref)(Ye)?.existingTable?"Edit Table":"Insert Table",width:"l","onUpdate:open":j[65]||(j[65]=O=>Ze.value=O)},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",o7,[(0,l.createVNode)((0,l.unref)(vt),{label:"Table Structure",class:"grid-span-4 m_grid-span-2 pt-05 pb-025"}),(0,l.createVNode)(pl,{modelValue:H.value.rows,"onUpdate:modelValue":j[47]||(j[47]=O=>H.value.rows=O),min:1,max:20,label:"Rows"},null,8,["modelValue"]),(0,l.createVNode)(pl,{modelValue:H.value.cols,"onUpdate:modelValue":j[48]||(j[48]=O=>H.value.cols=O),min:1,max:10,label:"Columns"},null,8,["modelValue"]),(0,l.createElementVNode)("div",s7,[j[75]||(j[75]=(0,l.createElementVNode)("label",{class:"label"},"Column Widths (%)",-1)),(0,l.createElementVNode)("div",m7,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(H.value.columnWidths.slice(0,H.value.cols),(O,ye)=>((0,l.openBlock)(),(0,l.createBlock)(pl,{key:ye,modelValue:H.value.columnWidths[ye],"onUpdate:modelValue":Le=>H.value.columnWidths[ye]=Le,min:1,max:100,label:`Column ${ye+1}`},null,8,["modelValue","onUpdate:modelValue","label"]))),128))]),(0,l.createElementVNode)("p",{class:(0,l.normalizeClass)(["txt12 mt-025 mb-0",{"color-red":Math.abs(ke.value-100)>.01}])}," Total: "+(0,l.toDisplayString)(Number(ke.value.toFixed(2)))+"% ",3)]),(0,l.createVNode)(bi,{modelValue:H.value.alignment,"onUpdate:modelValue":j[49]||(j[49]=O=>H.value.alignment=O),label:"Cell Text Alignment",class:"grid-span-1","icon-only":"",options:[{value:"left",label:"Align Left",icon:"format_align_left"},{value:"center",label:"Align Center",icon:"format_align_center"},{value:"right",label:"Align Right",icon:"format_align_right"}]},null,8,["modelValue"]),(0,l.createVNode)(bi,{modelValue:H.value.direction,"onUpdate:modelValue":j[50]||(j[50]=O=>H.value.direction=O),label:"Text Direction",class:"grid-span-1",options:[{value:"ltr",label:"LTR"},{value:"rtl",label:"RTL"}]},null,8,["modelValue"]),(0,l.createVNode)((0,l.unref)(vt),{label:"Table Style",class:"grid-span-4 m_grid-span-2 pt-05 pb-025"}),(0,l.createVNode)(pl,{modelValue:H.value.width,"onUpdate:modelValue":j[51]||(j[51]=O=>H.value.width=O),label:"Width (%)",min:25,max:100},null,8,["modelValue"]),(0,l.createVNode)(pl,{modelValue:H.value.cellPadding,"onUpdate:modelValue":j[52]||(j[52]=O=>H.value.cellPadding=O),label:"Cell Padding (px)",min:2,max:20},null,8,["modelValue"]),(0,l.createVNode)(pl,{modelValue:H.value.borderWidth,"onUpdate:modelValue":j[53]||(j[53]=O=>H.value.borderWidth=O),label:"Border Width (px)",min:0,max:5},null,8,["modelValue"]),(0,l.createVNode)((0,l.unref)(Tl),{modelValue:H.value.borderColor,"onUpdate:modelValue":j[54]||(j[54]=O=>H.value.borderColor=O),label:"Border Color"},null,8,["modelValue"]),(0,l.createVNode)(Ht,{modelValue:H.value.fixedLayout,"onUpdate:modelValue":j[55]||(j[55]=O=>H.value.fixedLayout=O),label:"Fixed cell width (doesn't change by content)",class:"grid-span-4 m_grid-span-2"},null,8,["modelValue"]),(0,l.createVNode)((0,l.unref)(vt),{label:"Cell Colors",class:"grid-span-4 m_grid-span-2 pt-05 pb-025"}),(0,l.createVNode)((0,l.unref)(Tl),{modelValue:H.value.cellBgColor,"onUpdate:modelValue":j[56]||(j[56]=O=>H.value.cellBgColor=O),class:"grid-span-2 m_grid-span-1",label:"Background Color"},null,8,["modelValue"]),(0,l.createVNode)((0,l.unref)(Tl),{modelValue:H.value.cellTextColor,"onUpdate:modelValue":j[57]||(j[57]=O=>H.value.cellTextColor=O),class:"grid-span-2 m_grid-span-1",label:"Text Color"},null,8,["modelValue"]),(0,l.createVNode)((0,l.unref)(vt),{label:"Row Styles",class:"grid-span-4 m_grid-span-2 pt-05 pb-025"}),(0,l.createVNode)(Ht,{modelValue:H.value.showHeaders,"onUpdate:modelValue":j[58]||(j[58]=O=>H.value.showHeaders=O),label:"Show header row",class:"grid-span-4 m_grid-span-2"},null,8,["modelValue"]),H.value.showHeaders?((0,l.openBlock)(),(0,l.createElementBlock)("div",r7,[(0,l.createVNode)((0,l.unref)(Tl),{modelValue:H.value.headerBgColor,"onUpdate:modelValue":j[59]||(j[59]=O=>H.value.headerBgColor=O),class:"grid-span-2 m_grid-span-1",label:"Header Background Color"},null,8,["modelValue"]),(0,l.createVNode)((0,l.unref)(Tl),{modelValue:H.value.headerTextColor,"onUpdate:modelValue":j[60]||(j[60]=O=>H.value.headerTextColor=O),class:"grid-span-2 m_grid-span-1",label:"Header Text Color"},null,8,["modelValue"])])):(0,l.createCommentVNode)("",!0),(0,l.createVNode)(Ht,{modelValue:H.value.alternateRows,"onUpdate:modelValue":j[61]||(j[61]=O=>H.value.alternateRows=O),label:"Alternating Row Colors",class:"grid-span-4 m_grid-span-2"},null,8,["modelValue"]),H.value.alternateRows?((0,l.openBlock)(),(0,l.createElementBlock)("div",u7,[(0,l.createVNode)((0,l.unref)(Tl),{modelValue:H.value.alternateRowBgColor,"onUpdate:modelValue":j[62]||(j[62]=O=>H.value.alternateRowBgColor=O),class:"grid-span-2 m_grid-span-1",label:"Alternate Row Background:"},null,8,["modelValue"]),(0,l.createVNode)((0,l.unref)(Tl),{modelValue:H.value.alternateRowTextColor,"onUpdate:modelValue":j[63]||(j[63]=O=>H.value.alternateRowTextColor=O),class:"grid-span-2 m_grid-span-1",label:"Alternate Row Text:"},null,8,["modelValue"])])):(0,l.createCommentVNode)("",!0)]),(0,l.createVNode)((0,l.unref)(vt),{label:"Preview",class:"grid-span-4 m_grid-span-2 pt-05 pb-025"}),(0,l.createElementVNode)("div",Z7,[(0,l.createElementVNode)("table",{dir:H.value.direction,style:(0,l.normalizeStyle)({width:`${H.value.width}%`,borderCollapse:"collapse",marginBottom:"1rem",border:`${H.value.borderWidth}px solid ${H.value.borderColor}`,tableLayout:H.value.fixedLayout?"fixed":"auto"})},[(0,l.createElementVNode)("colgroup",null,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(H.value.columnWidths.slice(0,H.value.cols),(O,ye)=>((0,l.openBlock)(),(0,l.createElementBlock)("col",{key:`col-${ye}`,style:(0,l.normalizeStyle)({width:`${O}%`})},null,4))),128))]),H.value.showHeaders?((0,l.openBlock)(),(0,l.createElementBlock)("thead",h7,[(0,l.createElementVNode)("tr",null,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(H.value.cols,O=>((0,l.openBlock)(),(0,l.createElementBlock)("th",{key:`th-${O}`,style:(0,l.normalizeStyle)({padding:`${H.value.cellPadding}px`,border:`${H.value.borderWidth}px solid ${H.value.borderColor}`,backgroundColor:H.value.headerBgColor,color:H.value.headerTextColor,textAlign:H.value.alignment,width:H.value.fixedLayout?`${H.value.columnWidths[O-1]??100/H.value.cols}%`:void 0})}," Header "+(0,l.toDisplayString)(O),5))),128))])])):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("tbody",null,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(H.value.rows,O=>((0,l.openBlock)(),(0,l.createElementBlock)("tr",{key:`tr-${O}`},[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(H.value.cols,ye=>((0,l.openBlock)(),(0,l.createElementBlock)("td",{key:`td-${O}-${ye}`,style:(0,l.normalizeStyle)({padding:`${H.value.cellPadding}px`,border:`${H.value.borderWidth}px solid ${H.value.borderColor}`,textAlign:H.value.alignment,width:H.value.fixedLayout?`${H.value.columnWidths[ye-1]??100/H.value.cols}%`:void 0,backgroundColor:H.value.alternateRows&&(O-1)%2===1?H.value.alternateRowBgColor:H.value.cellBgColor,color:H.value.alternateRows&&(O-1)%2===1?H.value.alternateRowTextColor:H.value.cellTextColor})}," Cell "+(0,l.toDisplayString)(O)+","+(0,l.toDisplayString)(ye),5))),128))]))),128))])],12,b7)])]),footer:(0,l.withCtx)(()=>[(0,l.createVNode)((0,l.unref)(ce),{value:"Cancel",flat:"",thin:"",onClick:j[64]||(j[64]=O=>Ze.value=!1)}),(0,l.unref)(Ye)?.existingTable?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(ce),{key:0,value:"Delete Table",color:"red",flat:"",thin:"",icon:"delete",onClick:ey})):(0,l.createCommentVNode)("",!0),(0,l.createVNode)((0,l.unref)(ce),{value:(0,l.unref)(Ye)?.existingTable?"Save":"Insert Table",class:"ms-auto",onClick:$N},null,8,["value"])]),_:1},8,["open","title"])]))],64)}}}),Uo=Ie(p7,[["__scopeId","data-v-e653b770"]]);function W7(e){return e}var Oo=class{x;y;pressure;time;constructor(e,t,a,n){if(isNaN(e)||isNaN(t))throw new Error(`Point is invalid: (${e}, ${t})`);this.x=+e,this.y=+t,this.pressure=a||0,this.time=n||Date.now()}distanceTo(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))}equals(e){return this.x===e.x&&this.y===e.y&&this.pressure===e.pressure&&this.time===e.time}velocityFrom(e){return this.time!==e.time?this.distanceTo(e)/(this.time-e.time):0}},G7=class gW{constructor(t,a,n,i,c,d){this.startPoint=t,this.control2=a,this.control1=n,this.endPoint=i,this.startWidth=c,this.endWidth=d}startPoint;control2;control1;endPoint;startWidth;endWidth;static fromPoints(t,a){const n=this.calculateControlPoints(t[0],t[1],t[2]).c2,i=this.calculateControlPoints(t[1],t[2],t[3]).c1;return new gW(t[1],n,i,t[2],a.start,a.end)}static calculateControlPoints(t,a,n){const i=t.x-a.x,c=t.y-a.y,d=a.x-n.x,o=a.y-n.y,s={x:(t.x+a.x)/2,y:(t.y+a.y)/2},m={x:(a.x+n.x)/2,y:(a.y+n.y)/2},r=Math.sqrt(i*i+c*c),u=Math.sqrt(d*d+o*o),Z=s.x-m.x,h=s.y-m.y,p=r+u==0?0:u/(r+u),b={x:m.x+Z*p,y:m.y+h*p},y=a.x-b.x,W=a.y-b.y;return{c1:new Oo(s.x+y,s.y+W),c2:new Oo(m.x+y,m.y+W)}}length(){let a=0,n,i;for(let c=0;c<=10;c+=1){const d=c/10,o=this.point(d,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),s=this.point(d,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(c>0){const m=o-n,r=s-i;a+=Math.sqrt(m*m+r*r)}n=o,i=s}return a}point(t,a,n,i,c){return a*(1-t)*(1-t)*(1-t)+3*n*(1-t)*(1-t)*t+3*i*(1-t)*t*t+c*t*t*t}},N7=class{_et;constructor(){try{this._et=new EventTarget}catch{this._et=document}}addEventListener(e,t,a){this._et.addEventListener(e,t,a)}dispatchEvent(e){return this._et.dispatchEvent(e)}removeEventListener(e,t,a){this._et.removeEventListener(e,t,a)}};function y7(e,t=250){let a=0,n=null,i,c,d;const o=()=>{a=Date.now(),n=null,i=e.apply(c,d),n||(c=null,d=[])};return function(...m){const r=Date.now(),u=t-(r-a);return c=this,d=m,u<=0||u>t?(n&&(clearTimeout(n),n=null),a=r,i=e.apply(c,d),n||(c=null,d=[])):n||(n=window.setTimeout(o,u)),i}}var Y7=class _r extends N7{constructor(t,a={}){super(),this.canvas=t,this.velocityFilterWeight=a.velocityFilterWeight||.7,this.minWidth=a.minWidth||.5,this.maxWidth=a.maxWidth||2.5,this.throttle=a.throttle??16,this.minDistance=a.minDistance??5,this.dotSize=a.dotSize||0,this.penColor=a.penColor||"black",this.backgroundColor=a.backgroundColor||"rgba(0,0,0,0)",this.compositeOperation=a.compositeOperation||"source-over",this.canvasContextOptions=a.canvasContextOptions??{},this._strokeMoveUpdate=this.throttle?y7(_r.prototype._strokeUpdate,this.throttle):_r.prototype._strokeUpdate,this._handleMouseDown=this._handleMouseDown.bind(this),this._handleMouseMove=this._handleMouseMove.bind(this),this._handleMouseUp=this._handleMouseUp.bind(this),this._handleTouchStart=this._handleTouchStart.bind(this),this._handleTouchMove=this._handleTouchMove.bind(this),this._handleTouchEnd=this._handleTouchEnd.bind(this),this._handlePointerDown=this._handlePointerDown.bind(this),this._handlePointerMove=this._handlePointerMove.bind(this),this._handlePointerUp=this._handlePointerUp.bind(this),this._handlePointerCancel=this._handlePointerCancel.bind(this),this._handleTouchCancel=this._handleTouchCancel.bind(this),this._ctx=t.getContext("2d",this.canvasContextOptions),this.clear(),this.on()}canvas;dotSize;minWidth;maxWidth;penColor;minDistance;velocityFilterWeight;compositeOperation;backgroundColor;throttle;canvasContextOptions;_ctx;_drawingStroke=!1;_isEmpty=!0;_dataUrl;_dataUrlOptions;_lastPoints=[];_data=[];_lastVelocity=0;_lastWidth=0;_strokeMoveUpdate;_strokePointerId;clear(){const{_ctx:t,canvas:a}=this;t.fillStyle=this.backgroundColor,t.clearRect(0,0,a.width,a.height),t.fillRect(0,0,a.width,a.height),this._data=[],this._reset(this._getPointGroupOptions()),this._isEmpty=!0,this._dataUrl=void 0,this._dataUrlOptions=void 0,this._strokePointerId=void 0}redraw(){const t=this._data,a=this._dataUrl,n=this._dataUrlOptions;this.clear(),a&&this.fromDataURL(a,n),this.fromData(t,{clear:!1})}fromDataURL(t,a={}){return new Promise((n,i)=>{const c=new Image,d=a.ratio||window.devicePixelRatio||1,o=a.width||this.canvas.width/d,s=a.height||this.canvas.height/d,m=a.xOffset||0,r=a.yOffset||0;this._reset(this._getPointGroupOptions()),c.onload=()=>{this._ctx.drawImage(c,m,r,o,s),n()},c.onerror=u=>{i(u)},c.crossOrigin="anonymous",c.src=t,this._isEmpty=!1,this._dataUrl=t,this._dataUrlOptions={...a}})}toDataURL(t="image/png",a){return t==="image/svg+xml"?(typeof a!="object"&&(a=void 0),`data:image/svg+xml;base64,${btoa(this.toSVG(a))}`):(typeof a!="number"&&(a=void 0),this.canvas.toDataURL(t,a))}on(){this.canvas.style.touchAction="none",this.canvas.style.msTouchAction="none",this.canvas.style.userSelect="none",this.canvas.style.webkitUserSelect="none";const t=/Macintosh/.test(navigator.userAgent)&&"ontouchstart"in document;window.PointerEvent&&!t?this._handlePointerEvents():(this._handleMouseEvents(),"ontouchstart"in window&&this._handleTouchEvents())}off(){this.canvas.style.touchAction="auto",this.canvas.style.msTouchAction="auto",this.canvas.style.userSelect="auto",this.canvas.style.webkitUserSelect="auto",this.canvas.removeEventListener("pointerdown",this._handlePointerDown),this.canvas.removeEventListener("mousedown",this._handleMouseDown),this.canvas.removeEventListener("touchstart",this._handleTouchStart),this._removeMoveUpEventListeners()}_getListenerFunctions(){const t=window.document===this.canvas.ownerDocument?window:this.canvas.ownerDocument.defaultView??this.canvas.ownerDocument;return{addEventListener:t.addEventListener.bind(t),removeEventListener:t.removeEventListener.bind(t)}}_removeMoveUpEventListeners(){const{removeEventListener:t}=this._getListenerFunctions();t("pointermove",this._handlePointerMove),t("pointerup",this._handlePointerUp),t("pointercancel",this._handlePointerCancel),t("mousemove",this._handleMouseMove),t("mouseup",this._handleMouseUp),t("touchmove",this._handleTouchMove),t("touchend",this._handleTouchEnd),t("touchcancel",this._handleTouchCancel)}isEmpty(){return this._isEmpty}fromData(t,{clear:a=!0}={}){a&&this.clear(),this._fromData(t,this._drawCurve.bind(this),this._drawDot.bind(this),this._drawLine.bind(this)),this._data=this._data.concat(t)}toData(){return this._data}_isLeftButtonPressed(t,a){return a?t.buttons===1:(t.buttons&1)===1}_pointerEventToSignatureEvent(t){return{event:t,type:t.type,x:t.clientX,y:t.clientY,pressure:"pressure"in t?t.pressure:0}}_touchEventToSignatureEvent(t){const a=t.changedTouches[0];return{event:t,type:t.type,x:a.clientX,y:a.clientY,pressure:a.force}}_handleMouseDown(t){!this._isLeftButtonPressed(t,!0)||this._drawingStroke||this._strokeBegin(this._pointerEventToSignatureEvent(t))}_handleMouseMove(t){if(!this._isLeftButtonPressed(t,!0)||!this._drawingStroke){this._strokeEnd(this._pointerEventToSignatureEvent(t),!1);return}this._strokeMoveUpdate(this._pointerEventToSignatureEvent(t))}_handleMouseUp(t){this._isLeftButtonPressed(t)||this._strokeEnd(this._pointerEventToSignatureEvent(t))}_handleTouchStart(t){t.targetTouches.length!==1||this._drawingStroke||(t.cancelable&&t.preventDefault(),this._strokeBegin(this._touchEventToSignatureEvent(t)))}_handleTouchMove(t){if(t.targetTouches.length===1){if(t.cancelable&&t.preventDefault(),!this._drawingStroke){this._strokeEnd(this._touchEventToSignatureEvent(t),!1);return}this._strokeMoveUpdate(this._touchEventToSignatureEvent(t))}}_handleTouchEnd(t){t.targetTouches.length===0&&(t.cancelable&&t.preventDefault(),this._strokeEnd(this._touchEventToSignatureEvent(t)))}_handlePointerCancel(t){this._allowPointerId(t)&&(t.preventDefault(),this._strokeEnd(this._pointerEventToSignatureEvent(t),!1))}_handleTouchCancel(t){t.cancelable&&t.preventDefault(),this._strokeEnd(this._touchEventToSignatureEvent(t),!1)}_getPointerId(t){return t.persistentDeviceId||t.pointerId}_allowPointerId(t,a=!1){return typeof this._strokePointerId>"u"?a:this._getPointerId(t)===this._strokePointerId}_handlePointerDown(t){this._drawingStroke||!this._isLeftButtonPressed(t)||!this._allowPointerId(t,!0)||(this._strokePointerId=this._getPointerId(t),t.preventDefault(),this._strokeBegin(this._pointerEventToSignatureEvent(t)))}_handlePointerMove(t){if(this._allowPointerId(t)){if(!this._isLeftButtonPressed(t,!0)||!this._drawingStroke){this._strokeEnd(this._pointerEventToSignatureEvent(t),!1);return}t.preventDefault(),this._strokeMoveUpdate(this._pointerEventToSignatureEvent(t))}}_handlePointerUp(t){this._isLeftButtonPressed(t)||!this._allowPointerId(t)||(t.preventDefault(),this._strokeEnd(this._pointerEventToSignatureEvent(t)))}_getPointGroupOptions(t){return{penColor:t&&"penColor"in t?t.penColor:this.penColor,dotSize:t&&"dotSize"in t?t.dotSize:this.dotSize,minWidth:t&&"minWidth"in t?t.minWidth:this.minWidth,maxWidth:t&&"maxWidth"in t?t.maxWidth:this.maxWidth,velocityFilterWeight:t&&"velocityFilterWeight"in t?t.velocityFilterWeight:this.velocityFilterWeight,compositeOperation:t&&"compositeOperation"in t?t.compositeOperation:this.compositeOperation}}_strokeBegin(t){if(!this.dispatchEvent(new CustomEvent("beginStroke",{detail:t,cancelable:!0})))return;const{addEventListener:a}=this._getListenerFunctions();switch(t.event.type){case"mousedown":a("mousemove",this._handleMouseMove,{passive:!1}),a("mouseup",this._handleMouseUp,{passive:!1});break;case"touchstart":a("touchmove",this._handleTouchMove,{passive:!1}),a("touchend",this._handleTouchEnd,{passive:!1}),a("touchcancel",this._handleTouchCancel,{passive:!1});break;case"pointerdown":a("pointermove",this._handlePointerMove,{passive:!1}),a("pointerup",this._handlePointerUp,{passive:!1}),a("pointercancel",this._handlePointerCancel,{passive:!1});break;default:}this._drawingStroke=!0;const n=this._getPointGroupOptions(),i={...n,points:[]};this._data.push(i),this._reset(n),this._strokeUpdate(t)}_strokeUpdate(t){if(!this._drawingStroke)return;if(this._data.length===0){this._strokeBegin(t);return}this.dispatchEvent(new CustomEvent("beforeUpdateStroke",{detail:t}));const a=this._createPoint(t.x,t.y,t.pressure),n=this._data[this._data.length-1],i=n.points,c=i.length>0&&i[i.length-1],d=c?a.distanceTo(c)<=this.minDistance:!1,o=this._getPointGroupOptions(n);if(!c||!(c&&d)){const s=this._addPoint(a,o);c?s&&this._drawCurve(s,o):this._drawDot(a,o),i.push({time:a.time,x:a.x,y:a.y,pressure:a.pressure})}this.dispatchEvent(new CustomEvent("afterUpdateStroke",{detail:t}))}_strokeEnd(t,a=!0){this._removeMoveUpEventListeners(),this._drawingStroke&&(a&&this._strokeUpdate(t),this._drawingStroke=!1,this._strokePointerId=void 0,this.dispatchEvent(new CustomEvent("endStroke",{detail:t})))}_handlePointerEvents(){this._drawingStroke=!1,this.canvas.addEventListener("pointerdown",this._handlePointerDown,{passive:!1})}_handleMouseEvents(){this._drawingStroke=!1,this.canvas.addEventListener("mousedown",this._handleMouseDown,{passive:!1})}_handleTouchEvents(){this.canvas.addEventListener("touchstart",this._handleTouchStart,{passive:!1})}_reset(t){this._lastPoints=[],this._lastVelocity=0,this._lastWidth=(t.minWidth+t.maxWidth)/2,this._ctx.fillStyle=t.penColor,this._ctx.globalCompositeOperation=t.compositeOperation}_createPoint(t,a,n){const i=this.canvas.getBoundingClientRect();return new Oo(t-i.left,a-i.top,n,new Date().getTime())}_addPoint(t,a){const{_lastPoints:n}=this;if(n.push(t),n.length>2){n.length===3&&n.unshift(n[0]);const i=this._calculateCurveWidths(n[1],n[2],a),c=G7.fromPoints(n,i);return n.shift(),c}return null}_calculateCurveWidths(t,a,n){const i=n.velocityFilterWeight*a.velocityFrom(t)+(1-n.velocityFilterWeight)*this._lastVelocity,c=this._strokeWidth(i,n),d={end:c,start:this._lastWidth};return this._lastVelocity=i,this._lastWidth=c,d}_strokeWidth(t,a){return Math.max(a.maxWidth/(t+1),a.minWidth)}_drawCurveSegment(t,a,n){const i=this._ctx;i.moveTo(t,a),i.arc(t,a,n,0,2*Math.PI,!1),this._isEmpty=!1}_drawCurve(t,a){const n=this._ctx,i=t.endWidth-t.startWidth,c=Math.ceil(t.length())*2;n.beginPath(),n.fillStyle=a.penColor;for(let d=0;d<c;d+=1){const o=d/c,s=o*o,m=s*o,r=1-o,u=r*r,Z=u*r;let h=Z*t.startPoint.x;h+=3*u*o*t.control1.x,h+=3*r*s*t.control2.x,h+=m*t.endPoint.x;let p=Z*t.startPoint.y;p+=3*u*o*t.control1.y,p+=3*r*s*t.control2.y,p+=m*t.endPoint.y;const b=Math.min(t.startWidth+m*i,a.maxWidth);this._drawCurveSegment(h,p,b)}n.closePath(),n.fill()}_getDotSize(t){return t.dotSize>0?t.dotSize:(t.minWidth+t.maxWidth)/2}_drawDot(t,a){const n=this._ctx,i=this._getDotSize(a);n.beginPath(),this._drawCurveSegment(t.x,t.y,i),n.closePath(),n.fillStyle=a.penColor,n.fill()}_drawLine(t,a,n){const i=this._ctx;i.save(),i.beginPath(),i.moveTo(t.x,t.y),i.lineTo(a.x,a.y),i.lineWidth=this._getDotSize(n)*2,i.lineCap="round",i.strokeStyle=n.penColor,i.stroke(),i.restore(),this._isEmpty=!1}_fromData(t,a,n,i){for(const c of t){const{points:d}=c,o=this._getPointGroupOptions(c);if(d.length>2)for(let s=0;s<d.length;s+=1){const m=d[s],r=new Oo(m.x,m.y,m.pressure,m.time);s===0&&this._reset(o);const u=this._addPoint(r,o);u&&a(u,o)}else d.length===2?(this._reset(o),i(d[0],d[1],o)):(this._reset(o),n(d[0],o))}}toSVG({includeBackgroundColor:t=!1,includeDataUrl:a=!1}={}){const n=this._data,i=Math.max(window.devicePixelRatio||1,1),c=0,d=0,o=this.canvas.width/i,s=this.canvas.height/i,m=document.createElementNS("http://www.w3.org/2000/svg","svg");if(m.setAttribute("xmlns","http://www.w3.org/2000/svg"),m.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),m.setAttribute("viewBox",`${c} ${d} ${o} ${s}`),m.setAttribute("width",o.toString()),m.setAttribute("height",s.toString()),t&&this.backgroundColor){const r=document.createElement("rect");r.setAttribute("width","100%"),r.setAttribute("height","100%"),r.setAttribute("fill",this.backgroundColor),m.appendChild(r)}if(a&&this._dataUrl){const r=this._dataUrlOptions?.ratio||window.devicePixelRatio||1,u=this._dataUrlOptions?.width||this.canvas.width/r,Z=this._dataUrlOptions?.height||this.canvas.height/r,h=this._dataUrlOptions?.xOffset||0,p=this._dataUrlOptions?.yOffset||0,b=document.createElement("image");b.setAttribute("x",h.toString()),b.setAttribute("y",p.toString()),b.setAttribute("width",u.toString()),b.setAttribute("height",Z.toString()),b.setAttribute("preserveAspectRatio","none"),b.setAttribute("href",this._dataUrl),m.appendChild(b)}return this._fromData(n,(r,{penColor:u})=>{const Z=document.createElement("path");if(!isNaN(r.control1.x)&&!isNaN(r.control1.y)&&!isNaN(r.control2.x)&&!isNaN(r.control2.y)){const h=`M ${r.startPoint.x.toFixed(3)},${r.startPoint.y.toFixed(3)} C ${r.control1.x.toFixed(3)},${r.control1.y.toFixed(3)} ${r.control2.x.toFixed(3)},${r.control2.y.toFixed(3)} ${r.endPoint.x.toFixed(3)},${r.endPoint.y.toFixed(3)}`;Z.setAttribute("d",h),Z.setAttribute("stroke-width",(r.endWidth*2.25).toFixed(3)),Z.setAttribute("stroke",u),Z.setAttribute("fill","none"),Z.setAttribute("stroke-linecap","round"),m.appendChild(Z)}},(r,{penColor:u,dotSize:Z,minWidth:h,maxWidth:p})=>{const b=document.createElement("circle"),y=Z>0?Z:(h+p)/2;b.setAttribute("r",y.toString()),b.setAttribute("cx",r.x.toString()),b.setAttribute("cy",r.y.toString()),b.setAttribute("fill",u),m.appendChild(b)},(r,u,Z)=>{const h=document.createElement("line");h.setAttribute("x1",r.x.toString()),h.setAttribute("y1",r.y.toString()),h.setAttribute("x2",u.x.toString()),h.setAttribute("y2",u.y.toString()),h.setAttribute("stroke",Z.penColor),h.setAttribute("stroke-width",(this._getDotSize(Z)*2).toString()),h.setAttribute("stroke-linecap","round"),m.appendChild(h)}),m.outerHTML}};function zW(e=globalThis.devicePixelRatio??1){return Number.isFinite(e)?Math.min(Math.max(e,1),2):1}function L7(e,t=zW()){const a=e.clientWidth,n=e.clientHeight;if(a<=0||n<=0)return;const i=Math.round(a*t),c=Math.round(n*t);return e.width!==i&&(e.width=i),e.height!==c&&(e.height=c),e.getContext("2d")?.setTransform(t,0,0,t,0,0),{width:a,height:n,pixelRatio:t}}var X7={key:0,class:"label-text"},M7={key:1,class:"helptext"},V7=["disabled"],T7=["required"],I7=(0,l.defineComponent)({__name:"SignaturePad",props:(0,l.mergeModels)({sigOption:{},width:{},height:{},ratio:{},clearOnResize:{type:Boolean},waterMark:{},disabled:{type:Boolean},defaultUrl:{},format:{},clearable:{type:Boolean,default:!0},required:{type:Boolean},label:{},helptext:{},penColor:{},backgroundColor:{},frame:{type:Boolean},outline:{type:Boolean},minWidth:{},maxWidth:{},labelColor:{},labelActiveColor:{}},{modelValue:{},modelModifiers:{},file:{},fileModifiers:{}}),emits:["update:modelValue","update:file"],setup(e,{expose:t}){const a=e,{shellClass:n,shellStyle:i}=Lt(a),c=(0,l.useModel)(e,"modelValue"),d=(0,l.useModel)(e,"file"),o=(0,l.ref)(),s=(0,l.ref)(),m=(0,l.ref)(!0);let r;function u(){s.value?.clear(),m.value=!0,c.value=void 0}function Z(z){return z=z||a.format,z?s.value?.toDataURL(z):s.value?.toDataURL()}function h(){const z=Z();if(z)if(a.format==="image/svg+xml")r=new File([z],"signature.svg",{type:"image/svg+xml"}),d.value=r;else try{const I=z.split(",")[1];if(!I)throw new Error("Invalid data URL format");const x=atob(I),w=new Uint8Array(Array.from(x,J=>J.charCodeAt(0))),k=a.format||"image/png",F=new Blob([w],{type:k}),K=k.split("/")[1];r=new File([F],`signature.${K}`,{type:k}),d.value=r}catch{}}function p(z){const I=o.value?.getBoundingClientRect();return s.value?.fromDataURL(z,{height:I?.height,width:I?.width,ratio:zW(),xOffset:0,yOffset:0})}const b=()=>s.value?.isEmpty();function y(){const z=s.value?.toData();z&&(z.pop(),s.value?.fromData(z))}const W=(0,l.ref)({penColor:"rgb(0, 0, 0)",backgroundColor:"rgba(0,0,0,0)"}),G=(0,l.computed)(()=>({...W.value,...a.penColor?{penColor:a.penColor}:{},...a.backgroundColor?{backgroundColor:a.backgroundColor}:{},...a.sigOption}));(0,l.watch)(()=>a.disabled,z=>{z?s.value?.off():s.value?.on()}),(0,l.watch)(G,z=>{s.value&&(s.value.penColor=z.penColor??"rgb(0,0,0)",z.backgroundColor&&(s.value.backgroundColor=z.backgroundColor))});function N(z){if(Object.prototype.toString.call(z)!=="[object Object]")throw new Error(`Expected Object, got ${typeof z}.`);{const I={text:z.text||"",x:z.x||20,y:z.y||20,sx:z.sx||40,sy:z.sy||40},x=o.value?.getContext("2d");if(!x)return;x.font=z.font||"20px sans-serif",x.fillStyle=z.fillStyle||"#333",x.strokeStyle=z.strokeStyle||"#333",z.style==="all"?(x.fillText(I.text,I.x,I.y),x.strokeText(I.text,I.sx,I.sy)):z.style==="stroke"?x.strokeText(I.text,I.sx,I.sy):x.fillText(I.text,I.x,I.y)}}function Y(){m.value=s.value?.isEmpty()??!1,c.value=Z(),h()}function L(z){if(!z)return;const I=new FileReader;return new Promise(x=>{I.onload=w=>{const k=String(w.target?.result);p(k),m.value=!1,c.value=k,x(!0)},I.readAsDataURL(z)})}(0,l.watch)(d,z=>{if(z===r){r=void 0;return}L(z)});function X(){const z=o.value,I=s.value;if(!z||!I)return;const x=z.width,w=z.height,k=I.isEmpty(),F=k?[]:I.toData(),K=!k&&F.length===0?Z():void 0;L7(z)&&(z.width===x&&z.height===w||(I.clear(),a.clearOnResize?(m.value=!0,c.value=void 0):F.length>0?(I.fromData(F),m.value=!1):K&&(p(K),m.value=!1),a.waterMark&&N(a.waterMark)))}const M=(0,l.computed)(()=>({...a.backgroundColor?{background:a.backgroundColor}:{},width:a.width??"100%",...a.height?{height:a.height}:{aspectRatio:`1 / ${a.ratio??1/2}`,height:"auto"}}));async function V(){s.value=new Y7(o.value,G.value),a.disabled&&s.value.off(),m.value=s.value.isEmpty(),d.value&&L(d.value),await(0,l.nextTick)(),requestAnimationFrame(()=>requestAnimationFrame(X))}return(0,l.onMounted)(()=>{V()}),kp(()=>o.value,X),yi(()=>s.value,"endStroke",Y),t({save:Z,clear:u,isEmpty:b,undo:y,addWaterMark:N,fromDataURL:p}),(z,I)=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{class:(0,l.normalizeClass)(["bagel-input bgl_input signature-pad relative",[(0,l.unref)(n),{"has-value":!m.value}]]),style:(0,l.normalizeStyle)((0,l.unref)(i)),tabindex:"-1",onTouchmove:I[0]||(I[0]=(0,l.withModifiers)(()=>{},["prevent"]))},[e.label?((0,l.openBlock)(),(0,l.createElementBlock)("label",X7,(0,l.toDisplayString)(e.label),1)):(0,l.createCommentVNode)("",!0),e.helptext?((0,l.openBlock)(),(0,l.createElementBlock)("p",M7,(0,l.toDisplayString)(e.helptext),1)):(0,l.createCommentVNode)("",!0),e.clearable&&!e.disabled?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(ce),{key:2,flat:"",thin:"",icon:"refresh",class:"position-bottom-end",onClick:u})):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("canvas",{ref_key:"vCanvas",ref:o,class:"canvas",disabled:e.disabled,style:(0,l.normalizeStyle)(M.value)},null,12,V7),(0,l.createElementVNode)("input",{placeholder:"required",type:"text",required:e.required&&m.value,class:"pixel opacity-0",inputMode:"none"},null,8,T7)],38))}}),x7=I7;function g7(){return typeof window<"u"?window.console:global.console}var z7=g7();function w7(e){const t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var R7=/-(\w)/g,gb=w7(e=>e.replace(R7,(t,a)=>a?a.toUpperCase():""));function wm(e){e.parentElement!==null&&e.parentElement.removeChild(e)}function zb(e,t,a){const n=a===0?e.children[0]:e.children[a-1].nextSibling;e.insertBefore(t,n)}function wb(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function ra(e){for(var t=1;t<arguments.length;t++){var a=arguments[t]!=null?arguments[t]:{};t%2?wb(Object(a),!0).forEach(function(n){S7(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):wb(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function ho(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ho=function(t){return typeof t}:ho=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ho(e)}function S7(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Sa(){return Sa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Sa.apply(this,arguments)}function f7(e,t){if(e==null)return{};var a={},n=Object.keys(e),i,c;for(c=0;c<n.length;c++)i=n[c],!(t.indexOf(i)>=0)&&(a[i]=e[i]);return a}function v7(e,t){if(e==null)return{};var a=f7(e,t),n,i;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(i=0;i<c.length;i++)n=c[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var k7="1.14.0";function xa(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var ka=xa(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Wd=xa(/Edge/i),Rb=xa(/firefox/i),pc=xa(/safari/i)&&!xa(/chrome/i)&&!xa(/android/i),wW=xa(/iP(ad|od|hone)/i),F7=xa(/chrome/i)&&xa(/android/i),RW={capture:!1,passive:!1};function at(e,t,a){e.addEventListener(t,a,!ka&&RW)}function et(e,t,a){e.removeEventListener(t,a,!ka&&RW)}function Eo(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function j7(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function aa(e,t,a,n){if(e){a=a||document;do{if(t!=null&&(t[0]===">"?e.parentNode===a&&Eo(e,t):Eo(e,t))||n&&e===a)return e;if(e===a)break}while(e=j7(e))}return null}var Sb=/\s+/g;function rl(e,t,a){e&&t&&(e.classList?e.classList[a?"add":"remove"](t):e.className=((" "+e.className+" ").replace(Sb," ").replace(" "+t+" "," ")+(a?" "+t:"")).replace(Sb," "))}function De(e,t,a){var n=e&&e.style;if(n){if(a===void 0)return document.defaultView&&document.defaultView.getComputedStyle?a=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(a=e.currentStyle),t===void 0?a:a[t];!(t in n)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),n[t]=a+(typeof a=="string"?"":"px")}}function Xi(e,t){var a="";if(typeof e=="string")a=e;else do{var n=De(e,"transform");n&&n!=="none"&&(a=n+" "+a)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(a)}function SW(e,t,a){if(e){var n=e.getElementsByTagName(t),i=0,c=n.length;if(a)for(;i<c;i++)a(n[i],i);return n}return[]}function ca(){var e=document.scrollingElement;return e||document.documentElement}function zt(e,t,a,n,i){if(!(!e.getBoundingClientRect&&e!==window)){var c,d,o,s,m,r,u;if(e!==window&&e.parentNode&&e!==ca()?(c=e.getBoundingClientRect(),d=c.top,o=c.left,s=c.bottom,m=c.right,r=c.height,u=c.width):(d=0,o=0,s=window.innerHeight,m=window.innerWidth,r=window.innerHeight,u=window.innerWidth),(t||a)&&e!==window&&(i=i||e.parentNode,!ka))do if(i&&i.getBoundingClientRect&&(De(i,"transform")!=="none"||a&&De(i,"position")!=="static")){var Z=i.getBoundingClientRect();d-=Z.top+parseInt(De(i,"border-top-width")),o-=Z.left+parseInt(De(i,"border-left-width")),s=d+c.height,m=o+c.width;break}while(i=i.parentNode);if(n&&e!==window){var h=Xi(i||e),p=h&&h.a,b=h&&h.d;h&&(d/=b,o/=p,u/=p,r/=b,s=d+r,m=o+u)}return{top:d,left:o,bottom:s,right:m,width:u,height:r}}}function fb(e,t,a){for(var n=Pa(e,!0),i=zt(e)[t];n;){var c=zt(n)[a],d=void 0;if(a==="top"||a==="left"?d=i>=c:d=i<=c,!d)return n;if(n===ca())break;n=Pa(n,!1)}return!1}function Ri(e,t,a,n){for(var i=0,c=0,d=e.children;c<d.length;){if(d[c].style.display!=="none"&&d[c]!==Ue.ghost&&(n||d[c]!==Ue.dragged)&&aa(d[c],a.draggable,e,!1)){if(i===t)return d[c];i++}c++}return null}function V0(e,t){for(var a=e.lastElementChild;a&&(a===Ue.ghost||De(a,"display")==="none"||t&&!Eo(a,t));)a=a.previousElementSibling;return a||null}function Ml(e,t){var a=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Ue.clone&&(!t||Eo(e,t))&&a++;return a}function vb(e){var t=0,a=0,n=ca();if(e)do{var i=Xi(e),c=i.a,d=i.d;t+=e.scrollLeft*c,a+=e.scrollTop*d}while(e!==n&&(e=e.parentNode));return[t,a]}function C7(e,t){for(var a in e)if(e.hasOwnProperty(a)){for(var n in t)if(t.hasOwnProperty(n)&&t[n]===e[a][n])return Number(a)}return-1}function Pa(e,t){if(!e||!e.getBoundingClientRect)return ca();var a=e,n=!1;do if(a.clientWidth<a.scrollWidth||a.clientHeight<a.scrollHeight){var i=De(a);if(a.clientWidth<a.scrollWidth&&(i.overflowX=="auto"||i.overflowX=="scroll")||a.clientHeight<a.scrollHeight&&(i.overflowY=="auto"||i.overflowY=="scroll")){if(!a.getBoundingClientRect||a===document.body)return ca();if(n||t)return a;n=!0}}while(a=a.parentNode);return ca()}function J7(e,t){if(e&&t)for(var a in t)t.hasOwnProperty(a)&&(e[a]=t[a]);return e}function Rm(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var Wc;function fW(e,t){return function(){if(!Wc){var a=arguments,n=this;a.length===1?e.call(n,a[0]):e.apply(n,a),Wc=setTimeout(function(){Wc=void 0},t)}}}function D7(){clearTimeout(Wc),Wc=void 0}function vW(e,t,a){e.scrollLeft+=t,e.scrollTop+=a}function kW(e){var t=window.Polymer,a=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):a?a(e).clone(!0)[0]:e.cloneNode(!0)}var Wl="Sortable"+new Date().getTime();function U7(){var e=[],t;return{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach(function(n){if(!(De(n,"display")==="none"||n===Ue.ghost)){e.push({target:n,rect:zt(n)});var i=ra({},e[e.length-1].rect);if(n.thisAnimationDuration){var c=Xi(n,!0);c&&(i.top-=c.f,i.left-=c.e)}n.fromRect=i}})},addAnimationState:function(n){e.push(n)},removeAnimationState:function(n){e.splice(C7(e,{target:n}),1)},animateAll:function(n){var i=this;if(!this.options.animation){clearTimeout(t),typeof n=="function"&&n();return}var c=!1,d=0;e.forEach(function(o){var s=0,m=o.target,r=m.fromRect,u=zt(m),Z=m.prevFromRect,h=m.prevToRect,p=o.rect,b=Xi(m,!0);b&&(u.top-=b.f,u.left-=b.e),m.toRect=u,m.thisAnimationDuration&&Rm(Z,u)&&!Rm(r,u)&&(p.top-u.top)/(p.left-u.left)===(r.top-u.top)/(r.left-u.left)&&(s=E7(p,Z,h,i.options)),Rm(u,r)||(m.prevFromRect=r,m.prevToRect=u,s||(s=i.options.animation),i.animate(m,p,u,s)),s&&(c=!0,d=Math.max(d,s),clearTimeout(m.animationResetTimer),m.animationResetTimer=setTimeout(function(){m.animationTime=0,m.prevFromRect=null,m.fromRect=null,m.prevToRect=null,m.thisAnimationDuration=null},s),m.thisAnimationDuration=s)}),clearTimeout(t),c?t=setTimeout(function(){typeof n=="function"&&n()},d):typeof n=="function"&&n(),e=[]},animate:function(n,i,c,d){if(d){De(n,"transition",""),De(n,"transform","");var o=Xi(this.el),s=o&&o.a,m=o&&o.d,r=(i.left-c.left)/(s||1),u=(i.top-c.top)/(m||1);n.animatingX=!!r,n.animatingY=!!u,De(n,"transform","translate3d("+r+"px,"+u+"px,0)"),this.forRepaintDummy=O7(n),De(n,"transition","transform "+d+"ms"+(this.options.easing?" "+this.options.easing:"")),De(n,"transform","translate3d(0,0,0)"),typeof n.animated=="number"&&clearTimeout(n.animated),n.animated=setTimeout(function(){De(n,"transition",""),De(n,"transform",""),n.animated=!1,n.animatingX=!1,n.animatingY=!1},d)}}}}function O7(e){return e.offsetWidth}function E7(e,t,a,n){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-a.top,2)+Math.pow(t.left-a.left,2))*n.animation}var ti=[],Sm={initializeByDefault:!0},Gd={mount:function(t){for(var a in Sm)Sm.hasOwnProperty(a)&&!(a in t)&&(t[a]=Sm[a]);ti.forEach(function(n){if(n.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),ti.push(t)},pluginEvent:function(t,a,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var c=t+"Global";ti.forEach(function(d){a[d.pluginName]&&(a[d.pluginName][c]&&a[d.pluginName][c](ra({sortable:a},n)),a.options[d.pluginName]&&a[d.pluginName][t]&&a[d.pluginName][t](ra({sortable:a},n)))})},initializePlugins:function(t,a,n,i){ti.forEach(function(o){var s=o.pluginName;if(!(!t.options[s]&&!o.initializeByDefault)){var m=new o(t,a,t.options);m.sortable=t,m.options=t.options,t[s]=m,Sa(n,m.defaults)}});for(var c in t.options)if(t.options.hasOwnProperty(c)){var d=this.modifyOption(t,c,t.options[c]);typeof d<"u"&&(t.options[c]=d)}},getEventProperties:function(t,a){var n={};return ti.forEach(function(i){typeof i.eventProperties=="function"&&Sa(n,i.eventProperties.call(a[i.pluginName],t))}),n},modifyOption:function(t,a,n){var i;return ti.forEach(function(c){t[c.pluginName]&&c.optionListeners&&typeof c.optionListeners[a]=="function"&&(i=c.optionListeners[a].call(t[c.pluginName],n))}),i}};function B7(e){var t=e.sortable,a=e.rootEl,n=e.name,i=e.targetEl,c=e.cloneEl,d=e.toEl,o=e.fromEl,s=e.oldIndex,m=e.newIndex,r=e.oldDraggableIndex,u=e.newDraggableIndex,Z=e.originalEvent,h=e.putSortable,p=e.extraEventProperties;if(t=t||a&&a[Wl],!!t){var b,y=t.options,W="on"+n.charAt(0).toUpperCase()+n.substr(1);window.CustomEvent&&!ka&&!Wd?b=new CustomEvent(n,{bubbles:!0,cancelable:!0}):(b=document.createEvent("Event"),b.initEvent(n,!0,!0)),b.to=d||a,b.from=o||a,b.item=i||a,b.clone=c,b.oldIndex=s,b.newIndex=m,b.oldDraggableIndex=r,b.newDraggableIndex=u,b.originalEvent=Z,b.pullMode=h?h.lastPutMode:void 0;var G=ra(ra({},p),Gd.getEventProperties(n,t));for(var N in G)b[N]=G[N];a&&a.dispatchEvent(b),y[W]&&y[W].call(t,b)}}var K7=["evt"],nl=function(t,a){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n.evt,c=v7(n,K7);Gd.pluginEvent.bind(Ue)(t,a,ra({dragEl:xe,parentEl:Wt,ghostEl:Ke,rootEl:Zt,nextEl:Mn,lastDownEl:po,cloneEl:Gt,cloneHidden:Ka,dragStarted:sc,putSortable:jt,activeSortable:Ue.active,originalEvent:i,oldIndex:hi,oldDraggableIndex:Gc,newIndex:ul,newDraggableIndex:Ea,hideGhostForTarget:JW,unhideGhostForTarget:DW,cloneNowHidden:function(){Ka=!0},cloneNowShown:function(){Ka=!1},dispatchSortableEvent:function(o){_t({sortable:a,name:o,originalEvent:i})}},c))};function _t(e){B7(ra({putSortable:jt,cloneEl:Gt,targetEl:xe,rootEl:Zt,oldIndex:hi,oldDraggableIndex:Gc,newIndex:ul,newDraggableIndex:Ea},e))}var xe,Wt,Ke,Zt,Mn,po,Gt,Ka,hi,ul,Gc,Ea,Od,jt,mi=!1,Bo=!1,Ko=[],yn,Jl,fm,vm,kb,Fb,sc,li,Nc,yc=!1,Ed=!1,Wo,Bt,km=[],$r=!1,Ho=[],vs=typeof document<"u",Bd=wW,jb=Wd||ka?"cssFloat":"float",H7=vs&&!F7&&!wW&&"draggable"in document.createElement("div"),FW=(function(){if(vs){if(ka)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}})(),jW=function(t,a){var n=De(t),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),c=Ri(t,0,a),d=Ri(t,1,a),o=c&&De(c),s=d&&De(d),m=o&&parseInt(o.marginLeft)+parseInt(o.marginRight)+zt(c).width,r=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+zt(d).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(c&&o.float&&o.float!=="none"){var u=o.float==="left"?"left":"right";return d&&(s.clear==="both"||s.clear===u)?"vertical":"horizontal"}return c&&(o.display==="block"||o.display==="flex"||o.display==="table"||o.display==="grid"||m>=i&&n[jb]==="none"||d&&n[jb]==="none"&&m+r>i)?"vertical":"horizontal"},P7=function(t,a,n){var i=n?t.left:t.top,c=n?t.right:t.bottom,d=n?t.width:t.height,o=n?a.left:a.top,s=n?a.right:a.bottom,m=n?a.width:a.height;return i===o||c===s||i+d/2===o+m/2},Q7=function(t,a){var n;return Ko.some(function(i){var c=i[Wl].options.emptyInsertThreshold;if(!(!c||V0(i))){var d=zt(i),o=t>=d.left-c&&t<=d.right+c,s=a>=d.top-c&&a<=d.bottom+c;if(o&&s)return n=i}}),n},CW=function(t){function a(c,d){return function(o,s,m,r){var u=o.options.group.name&&s.options.group.name&&o.options.group.name===s.options.group.name;if(c==null&&(d||u))return!0;if(c==null||c===!1)return!1;if(d&&c==="clone")return c;if(typeof c=="function")return a(c(o,s,m,r),d)(o,s,m,r);var Z=(d?o:s).options.group.name;return c===!0||typeof c=="string"&&c===Z||c.join&&c.indexOf(Z)>-1}}var n={},i=t.group;(!i||ho(i)!="object")&&(i={name:i}),n.name=i.name,n.checkPull=a(i.pull,!0),n.checkPut=a(i.put),n.revertClone=i.revertClone,t.group=n},JW=function(){!FW&&Ke&&De(Ke,"display","none")},DW=function(){!FW&&Ke&&De(Ke,"display","")};vs&&document.addEventListener("click",function(e){if(Bo)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Bo=!1,!1},!0);var Yn=function(t){if(xe){t=t.touches?t.touches[0]:t;var a=Q7(t.clientX,t.clientY);if(a){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.target=n.rootEl=a,n.preventDefault=void 0,n.stopPropagation=void 0,a[Wl]._onDragOver(n)}}},A7=function(t){xe&&xe.parentNode[Wl]._isOutsideThisEl(t.target)};function Ue(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=Sa({},t),e[Wl]=this;var a={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return jW(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(d,o){d.setData("Text",o.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Ue.supportPointer!==!1&&"PointerEvent"in window&&!pc,emptyInsertThreshold:5};Gd.initializePlugins(this,e,a);for(var n in a)!(n in t)&&(t[n]=a[n]);CW(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:H7,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?at(e,"pointerdown",this._onTapStart):(at(e,"mousedown",this._onTapStart),at(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(at(e,"dragover",this),at(e,"dragenter",this)),Ko.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Sa(this,U7())}Ue.prototype={constructor:Ue,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(li=null)},_getDirection:function(t,a){return typeof this.options.direction=="function"?this.options.direction.call(this,t,a,xe):this.options.direction},_onTapStart:function(t){if(t.cancelable){var a=this,n=this.el,i=this.options,c=i.preventOnFilter,d=t.type,o=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,s=(o||t).target,m=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,r=i.filter;if(nD(n),!xe&&!(/mousedown|pointerdown/.test(d)&&t.button!==0||i.disabled)&&!m.isContentEditable&&!(!this.nativeDraggable&&pc&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=aa(s,i.draggable,n,!1),!(s&&s.animated)&&po!==s)){if(hi=Ml(s),Gc=Ml(s,i.draggable),typeof r=="function"){if(r.call(this,t,s,this)){_t({sortable:a,rootEl:m,name:"filter",targetEl:s,toEl:n,fromEl:n}),nl("filter",a,{evt:t}),c&&t.cancelable&&t.preventDefault();return}}else if(r&&(r=r.split(",").some(function(u){if(u=aa(m,u.trim(),n,!1),u)return _t({sortable:a,rootEl:u,name:"filter",targetEl:s,fromEl:n,toEl:n}),nl("filter",a,{evt:t}),!0}),r)){c&&t.cancelable&&t.preventDefault();return}i.handle&&!aa(m,i.handle,n,!1)||this._prepareDragStart(t,o,s)}}},_prepareDragStart:function(t,a,n){var i=this,c=i.el,d=i.options,o=c.ownerDocument,s;if(n&&!xe&&n.parentNode===c){var m=zt(n);if(Zt=c,xe=n,Wt=xe.parentNode,Mn=xe.nextSibling,po=n,Od=d.group,Ue.dragged=xe,yn={target:xe,clientX:(a||t).clientX,clientY:(a||t).clientY},kb=yn.clientX-m.left,Fb=yn.clientY-m.top,this._lastX=(a||t).clientX,this._lastY=(a||t).clientY,xe.style["will-change"]="all",s=function(){if(nl("delayEnded",i,{evt:t}),Ue.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!Rb&&i.nativeDraggable&&(xe.draggable=!0),i._triggerDragStart(t,a),_t({sortable:i,name:"choose",originalEvent:t}),rl(xe,d.chosenClass,!0)},d.ignore.split(",").forEach(function(r){SW(xe,r.trim(),Fm)}),at(o,"dragover",Yn),at(o,"mousemove",Yn),at(o,"touchmove",Yn),at(o,"mouseup",i._onDrop),at(o,"touchend",i._onDrop),at(o,"touchcancel",i._onDrop),Rb&&this.nativeDraggable&&(this.options.touchStartThreshold=4,xe.draggable=!0),nl("delayStart",this,{evt:t}),d.delay&&(!d.delayOnTouchOnly||a)&&(!this.nativeDraggable||!(Wd||ka))){if(Ue.eventCanceled){this._onDrop();return}at(o,"mouseup",i._disableDelayedDrag),at(o,"touchend",i._disableDelayedDrag),at(o,"touchcancel",i._disableDelayedDrag),at(o,"mousemove",i._delayedDragTouchMoveHandler),at(o,"touchmove",i._delayedDragTouchMoveHandler),d.supportPointer&&at(o,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(s,d.delay)}else s()}},_delayedDragTouchMoveHandler:function(t){var a=t.touches?t.touches[0]:t;Math.max(Math.abs(a.clientX-this._lastX),Math.abs(a.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){xe&&Fm(xe),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;et(t,"mouseup",this._disableDelayedDrag),et(t,"touchend",this._disableDelayedDrag),et(t,"touchcancel",this._disableDelayedDrag),et(t,"mousemove",this._delayedDragTouchMoveHandler),et(t,"touchmove",this._delayedDragTouchMoveHandler),et(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,a){a=a||t.pointerType=="touch"&&t,!this.nativeDraggable||a?this.options.supportPointer?at(document,"pointermove",this._onTouchMove):a?at(document,"touchmove",this._onTouchMove):at(document,"mousemove",this._onTouchMove):(at(xe,"dragend",this),at(Zt,"dragstart",this._onDragStart));try{document.selection?Go(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,a){if(mi=!1,Zt&&xe){nl("dragStarted",this,{evt:a}),this.nativeDraggable&&at(document,"dragover",A7);var n=this.options;!t&&rl(xe,n.dragClass,!1),rl(xe,n.ghostClass,!0),Ue.active=this,t&&this._appendGhost(),_t({sortable:this,name:"start",originalEvent:a})}else this._nulling()},_emulateDragOver:function(){if(Jl){this._lastX=Jl.clientX,this._lastY=Jl.clientY,JW();for(var t=document.elementFromPoint(Jl.clientX,Jl.clientY),a=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Jl.clientX,Jl.clientY),t!==a);)a=t;if(xe.parentNode[Wl]._isOutsideThisEl(t),a)do{if(a[Wl]){var n=void 0;if(n=a[Wl]._onDragOver({clientX:Jl.clientX,clientY:Jl.clientY,target:t,rootEl:a}),n&&!this.options.dragoverBubble)break}t=a}while(a=a.parentNode);DW()}},_onTouchMove:function(t){if(yn){var a=this.options,n=a.fallbackTolerance,i=a.fallbackOffset,c=t.touches?t.touches[0]:t,d=Ke&&Xi(Ke,!0),o=Ke&&d&&d.a,s=Ke&&d&&d.d,m=Bd&&Bt&&vb(Bt),r=(c.clientX-yn.clientX+i.x)/(o||1)+(m?m[0]-km[0]:0)/(o||1),u=(c.clientY-yn.clientY+i.y)/(s||1)+(m?m[1]-km[1]:0)/(s||1);if(!Ue.active&&!mi){if(n&&Math.max(Math.abs(c.clientX-this._lastX),Math.abs(c.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(Ke){d?(d.e+=r-(fm||0),d.f+=u-(vm||0)):d={a:1,b:0,c:0,d:1,e:r,f:u};var Z="matrix(".concat(d.a,",").concat(d.b,",").concat(d.c,",").concat(d.d,",").concat(d.e,",").concat(d.f,")");De(Ke,"webkitTransform",Z),De(Ke,"mozTransform",Z),De(Ke,"msTransform",Z),De(Ke,"transform",Z),fm=r,vm=u,Jl=c}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!Ke){var t=this.options.fallbackOnBody?document.body:Zt,a=zt(xe,!0,Bd,!0,t),n=this.options;if(Bd){for(Bt=t;De(Bt,"position")==="static"&&De(Bt,"transform")==="none"&&Bt!==document;)Bt=Bt.parentNode;Bt!==document.body&&Bt!==document.documentElement?(Bt===document&&(Bt=ca()),a.top+=Bt.scrollTop,a.left+=Bt.scrollLeft):Bt=ca(),km=vb(Bt)}Ke=xe.cloneNode(!0),rl(Ke,n.ghostClass,!1),rl(Ke,n.fallbackClass,!0),rl(Ke,n.dragClass,!0),De(Ke,"transition",""),De(Ke,"transform",""),De(Ke,"box-sizing","border-box"),De(Ke,"margin",0),De(Ke,"top",a.top),De(Ke,"left",a.left),De(Ke,"width",a.width),De(Ke,"height",a.height),De(Ke,"opacity","0.8"),De(Ke,"position",Bd?"absolute":"fixed"),De(Ke,"zIndex","100000"),De(Ke,"pointerEvents","none"),Ue.ghost=Ke,t.appendChild(Ke),De(Ke,"transform-origin",kb/parseInt(Ke.style.width)*100+"% "+Fb/parseInt(Ke.style.height)*100+"%")}},_onDragStart:function(t,a){var n=this,i=t.dataTransfer,c=n.options;if(nl("dragStart",this,{evt:t}),Ue.eventCanceled){this._onDrop();return}nl("setupClone",this),Ue.eventCanceled||(Gt=kW(xe),Gt.draggable=!1,Gt.style["will-change"]="",this._hideClone(),rl(Gt,this.options.chosenClass,!1),Ue.clone=Gt),n.cloneId=Go(function(){nl("clone",n),!Ue.eventCanceled&&(n.options.removeCloneOnHide||Zt.insertBefore(Gt,xe),n._hideClone(),_t({sortable:n,name:"clone"}))}),!a&&rl(xe,c.dragClass,!0),a?(Bo=!0,n._loopId=setInterval(n._emulateDragOver,50)):(et(document,"mouseup",n._onDrop),et(document,"touchend",n._onDrop),et(document,"touchcancel",n._onDrop),i&&(i.effectAllowed="move",c.setData&&c.setData.call(n,i,xe)),at(document,"drop",n),De(xe,"transform","translateZ(0)")),mi=!0,n._dragStartId=Go(n._dragStarted.bind(n,a,t)),at(document,"selectstart",n),sc=!0,pc&&De(document.body,"user-select","none")},_onDragOver:function(t){var a=this.el,n=t.target,i,c,d,o=this.options,s=o.group,m=Ue.active,r=Od===s,u=o.sort,Z=jt||m,h,p=this,b=!1;if($r)return;function y(le,oe){nl(le,p,ra({evt:t,isOwner:r,axis:h?"vertical":"horizontal",revert:d,dragRect:i,targetRect:c,canSort:u,fromSortable:Z,target:n,completed:G,onMove:function(ae,_){return Kd(Zt,a,xe,i,ae,zt(ae),t,_)},changed:N},oe))}function W(){y("dragOverAnimationCapture"),p.captureAnimationState(),p!==Z&&Z.captureAnimationState()}function G(le){return y("dragOverCompleted",{insertion:le}),le&&(r?m._hideClone():m._showClone(p),p!==Z&&(rl(xe,jt?jt.options.ghostClass:m.options.ghostClass,!1),rl(xe,o.ghostClass,!0)),jt!==p&&p!==Ue.active?jt=p:p===Ue.active&&jt&&(jt=null),Z===p&&(p._ignoreWhileAnimating=n),p.animateAll(function(){y("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==Z&&(Z.animateAll(),Z._ignoreWhileAnimating=null)),(n===xe&&!xe.animated||n===a&&!n.animated)&&(li=null),!o.dragoverBubble&&!t.rootEl&&n!==document&&(xe.parentNode[Wl]._isOutsideThisEl(t.target),!le&&Yn(t)),!o.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),b=!0}function N(){ul=Ml(xe),Ea=Ml(xe,o.draggable),_t({sortable:p,name:"change",toEl:a,newIndex:ul,newDraggableIndex:Ea,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),n=aa(n,o.draggable,a,!0),y("dragOver"),Ue.eventCanceled)return b;if(xe.contains(t.target)||n.animated&&n.animatingX&&n.animatingY||p._ignoreWhileAnimating===n)return G(!1);if(Bo=!1,m&&!o.disabled&&(r?u||(d=Wt!==Zt):jt===this||(this.lastPutMode=Od.checkPull(this,m,xe,t))&&s.checkPut(this,m,xe,t))){if(h=this._getDirection(t,n)==="vertical",i=zt(xe),y("dragOverValid"),Ue.eventCanceled)return b;if(d)return Wt=Zt,W(),this._hideClone(),y("revert"),Ue.eventCanceled||(Mn?Zt.insertBefore(xe,Mn):Zt.appendChild(xe)),G(!0);var Y=V0(a,o.draggable);if(!Y||eD(t,h,this)&&!Y.animated){if(Y===xe)return G(!1);if(Y&&a===t.target&&(n=Y),n&&(c=zt(n)),Kd(Zt,a,xe,i,n,c,t,!!n)!==!1)return W(),a.appendChild(xe),Wt=a,N(),G(!0)}else if(Y&&q7(t,h,this)){var L=Ri(a,0,o,!0);if(L===xe)return G(!1);if(n=L,c=zt(n),Kd(Zt,a,xe,i,n,c,t,!1)!==!1)return W(),a.insertBefore(xe,L),Wt=a,N(),G(!0)}else if(n.parentNode===a){c=zt(n);var X=0,M,V=xe.parentNode!==a,z=!P7(xe.animated&&xe.toRect||i,n.animated&&n.toRect||c,h),I=h?"top":"left",x=fb(n,"top","top")||fb(xe,"top","top"),w=x?x.scrollTop:void 0;li!==n&&(M=c[I],yc=!1,Ed=!z&&o.invertSwap||V),X=tD(t,n,c,h,z?1:o.swapThreshold,o.invertedSwapThreshold==null?o.swapThreshold:o.invertedSwapThreshold,Ed,li===n);var k;if(X!==0){var F=Ml(xe);do F-=X,k=Wt.children[F];while(k&&(De(k,"display")==="none"||k===Ke))}if(X===0||k===n)return G(!1);li=n,Nc=X;var K=n.nextElementSibling,J=!1;J=X===1;var D=Kd(Zt,a,xe,i,n,c,t,J);if(D!==!1)return(D===1||D===-1)&&(J=D===1),$r=!0,setTimeout($7,30),W(),J&&!K?a.appendChild(xe):n.parentNode.insertBefore(xe,J?K:n),x&&vW(x,0,w-x.scrollTop),Wt=xe.parentNode,M!==void 0&&!Ed&&(Wo=Math.abs(M-zt(n)[I])),N(),G(!0)}if(a.contains(xe))return G(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){et(document,"mousemove",this._onTouchMove),et(document,"touchmove",this._onTouchMove),et(document,"pointermove",this._onTouchMove),et(document,"dragover",Yn),et(document,"mousemove",Yn),et(document,"touchmove",Yn)},_offUpEvents:function(){var t=this.el.ownerDocument;et(t,"mouseup",this._onDrop),et(t,"touchend",this._onDrop),et(t,"pointerup",this._onDrop),et(t,"touchcancel",this._onDrop),et(document,"selectstart",this)},_onDrop:function(t){var a=this.el,n=this.options;if(ul=Ml(xe),Ea=Ml(xe,n.draggable),nl("drop",this,{evt:t}),Wt=xe&&xe.parentNode,ul=Ml(xe),Ea=Ml(xe,n.draggable),Ue.eventCanceled){this._nulling();return}mi=!1,Ed=!1,yc=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),qr(this.cloneId),qr(this._dragStartId),this.nativeDraggable&&(et(document,"drop",this),et(a,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),pc&&De(document.body,"user-select",""),De(xe,"transform",""),t&&(sc&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),Ke&&Ke.parentNode&&Ke.parentNode.removeChild(Ke),(Zt===Wt||jt&&jt.lastPutMode!=="clone")&&Gt&&Gt.parentNode&&Gt.parentNode.removeChild(Gt),xe&&(this.nativeDraggable&&et(xe,"dragend",this),Fm(xe),xe.style["will-change"]="",sc&&!mi&&rl(xe,jt?jt.options.ghostClass:this.options.ghostClass,!1),rl(xe,this.options.chosenClass,!1),_t({sortable:this,name:"unchoose",toEl:Wt,newIndex:null,newDraggableIndex:null,originalEvent:t}),Zt!==Wt?(ul>=0&&(_t({rootEl:Wt,name:"add",toEl:Wt,fromEl:Zt,originalEvent:t}),_t({sortable:this,name:"remove",toEl:Wt,originalEvent:t}),_t({rootEl:Wt,name:"sort",toEl:Wt,fromEl:Zt,originalEvent:t}),_t({sortable:this,name:"sort",toEl:Wt,originalEvent:t})),jt&&jt.save()):ul!==hi&&ul>=0&&(_t({sortable:this,name:"update",toEl:Wt,originalEvent:t}),_t({sortable:this,name:"sort",toEl:Wt,originalEvent:t})),Ue.active&&((ul==null||ul===-1)&&(ul=hi,Ea=Gc),_t({sortable:this,name:"end",toEl:Wt,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){nl("nulling",this),Zt=xe=Wt=Ke=Mn=Gt=po=Ka=yn=Jl=sc=ul=Ea=hi=Gc=li=Nc=jt=Od=Ue.dragged=Ue.ghost=Ue.clone=Ue.active=null,Ho.forEach(function(t){t.checked=!0}),Ho.length=fm=vm=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":xe&&(this._onDragOver(t),_7(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],a,n=this.el.children,i=0,c=n.length,d=this.options;i<c;i++)a=n[i],aa(a,d.draggable,this.el,!1)&&t.push(a.getAttribute(d.dataIdAttr)||aD(a));return t},sort:function(t,a){var n={},i=this.el;this.toArray().forEach(function(c,d){var o=i.children[d];aa(o,this.options.draggable,i,!1)&&(n[c]=o)},this),a&&this.captureAnimationState(),t.forEach(function(c){n[c]&&(i.removeChild(n[c]),i.appendChild(n[c]))}),a&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,a){return aa(t,a||this.options.draggable,this.el,!1)},option:function(t,a){var n=this.options;if(a===void 0)return n[t];var i=Gd.modifyOption(this,t,a);typeof i<"u"?n[t]=i:n[t]=a,t==="group"&&CW(n)},destroy:function(){nl("destroy",this);var t=this.el;t[Wl]=null,et(t,"mousedown",this._onTapStart),et(t,"touchstart",this._onTapStart),et(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(et(t,"dragover",this),et(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(a){a.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Ko.splice(Ko.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Ka){if(nl("hideClone",this),Ue.eventCanceled)return;De(Gt,"display","none"),this.options.removeCloneOnHide&&Gt.parentNode&&Gt.parentNode.removeChild(Gt),Ka=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(Ka){if(nl("showClone",this),Ue.eventCanceled)return;xe.parentNode==Zt&&!this.options.group.revertClone?Zt.insertBefore(Gt,xe):Mn?Zt.insertBefore(Gt,Mn):Zt.appendChild(Gt),this.options.group.revertClone&&this.animate(xe,Gt),De(Gt,"display",""),Ka=!1}}};function _7(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Kd(e,t,a,n,i,c,d,o){var s,m=e[Wl],r=m.options.onMove,u;return window.CustomEvent&&!ka&&!Wd?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=t,s.from=e,s.dragged=a,s.draggedRect=n,s.related=i||t,s.relatedRect=c||zt(t),s.willInsertAfter=o,s.originalEvent=d,e.dispatchEvent(s),r&&(u=r.call(m,s,d)),u}function Fm(e){e.draggable=!1}function $7(){$r=!1}function q7(e,t,a){var n=zt(Ri(a.el,0,a.options,!0)),i=10;return t?e.clientX<n.left-i||e.clientY<n.top&&e.clientX<n.right:e.clientY<n.top-i||e.clientY<n.bottom&&e.clientX<n.left}function eD(e,t,a){var n=zt(V0(a.el,a.options.draggable)),i=10;return t?e.clientX>n.right+i||e.clientX<=n.right&&e.clientY>n.bottom&&e.clientX>=n.left:e.clientX>n.right&&e.clientY>n.top||e.clientX<=n.right&&e.clientY>n.bottom+i}function tD(e,t,a,n,i,c,d,o){var s=n?e.clientY:e.clientX,m=n?a.height:a.width,r=n?a.top:a.left,u=n?a.bottom:a.right,Z=!1;if(!d){if(o&&Wo<m*i){if(!yc&&(Nc===1?s>r+m*c/2:s<u-m*c/2)&&(yc=!0),yc)Z=!0;else if(Nc===1?s<r+Wo:s>u-Wo)return-Nc}else if(s>r+m*(1-i)/2&&s<u-m*(1-i)/2)return lD(t)}return Z=Z||d,Z&&(s<r+m*c/2||s>u-m*c/2)?s>r+m/2?1:-1:0}function lD(e){return Ml(xe)<Ml(e)?1:-1}function aD(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,a=t.length,n=0;a--;)n+=t.charCodeAt(a);return n.toString(36)}function nD(e){Ho.length=0;for(var t=e.getElementsByTagName("input"),a=t.length;a--;){var n=t[a];n.checked&&Ho.push(n)}}function Go(e){return setTimeout(e,0)}function qr(e){return clearTimeout(e)}vs&&at(document,"touchmove",function(e){(Ue.active||mi)&&e.cancelable&&e.preventDefault()});Ue.utils={on:at,off:et,css:De,find:SW,is:function(t,a){return!!aa(t,a,t,!1)},extend:J7,throttle:fW,closest:aa,toggleClass:rl,clone:kW,index:Ml,nextTick:Go,cancelNextTick:qr,detectDirection:jW,getChild:Ri};Ue.get=function(e){return e[Wl]};Ue.mount=function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];t[0].constructor===Array&&(t=t[0]),t.forEach(function(n){if(!n.prototype||!n.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));n.utils&&(Ue.utils=ra(ra({},Ue.utils),n.utils)),Gd.mount(n)})};Ue.create=function(e,t){return new Ue(e,t)};Ue.version=k7;var Mt=[],mc,eu,tu=!1,jm,Cm,Po,rc;function iD(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(a){var n=a.originalEvent;this.sortable.nativeDraggable?at(document,"dragover",this._handleAutoScroll):this.options.supportPointer?at(document,"pointermove",this._handleFallbackAutoScroll):n.touches?at(document,"touchmove",this._handleFallbackAutoScroll):at(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(a){var n=a.originalEvent;!this.options.dragOverBubble&&!n.rootEl&&this._handleAutoScroll(n)},drop:function(){this.sortable.nativeDraggable?et(document,"dragover",this._handleAutoScroll):(et(document,"pointermove",this._handleFallbackAutoScroll),et(document,"touchmove",this._handleFallbackAutoScroll),et(document,"mousemove",this._handleFallbackAutoScroll)),Cb(),No(),D7()},nulling:function(){Po=eu=mc=tu=rc=jm=Cm=null,Mt.length=0},_handleFallbackAutoScroll:function(a){this._handleAutoScroll(a,!0)},_handleAutoScroll:function(a,n){var i=this,c=(a.touches?a.touches[0]:a).clientX,d=(a.touches?a.touches[0]:a).clientY,o=document.elementFromPoint(c,d);if(Po=a,n||this.options.forceAutoScrollFallback||Wd||ka||pc){Jm(a,this.options,o,n);var s=Pa(o,!0);tu&&(!rc||c!==jm||d!==Cm)&&(rc&&Cb(),rc=setInterval(function(){var m=Pa(document.elementFromPoint(c,d),!0);m!==s&&(s=m,No()),Jm(a,i.options,m,n)},10),jm=c,Cm=d)}else{if(!this.options.bubbleScroll||Pa(o,!0)===ca()){No();return}Jm(a,this.options,Pa(o,!1),!1)}}},Sa(e,{pluginName:"scroll",initializeByDefault:!0})}function No(){Mt.forEach(function(e){clearInterval(e.pid)}),Mt=[]}function Cb(){clearInterval(rc)}var Jm=fW(function(e,t,a,n){if(t.scroll){var i=(e.touches?e.touches[0]:e).clientX,c=(e.touches?e.touches[0]:e).clientY,d=t.scrollSensitivity,o=t.scrollSpeed,s=ca(),m=!1,r;eu!==a&&(eu=a,No(),mc=t.scroll,r=t.scrollFn,mc===!0&&(mc=Pa(a,!0)));var u=0,Z=mc;do{var h=Z,p=zt(h),b=p.top,y=p.bottom,W=p.left,G=p.right,N=p.width,Y=p.height,L=void 0,X=void 0,M=h.scrollWidth,V=h.scrollHeight,z=De(h),I=h.scrollLeft,x=h.scrollTop;h===s?(L=N<M&&(z.overflowX==="auto"||z.overflowX==="scroll"||z.overflowX==="visible"),X=Y<V&&(z.overflowY==="auto"||z.overflowY==="scroll"||z.overflowY==="visible")):(L=N<M&&(z.overflowX==="auto"||z.overflowX==="scroll"),X=Y<V&&(z.overflowY==="auto"||z.overflowY==="scroll"));var w=L&&(Math.abs(G-i)<=d&&I+N<M)-(Math.abs(W-i)<=d&&!!I),k=X&&(Math.abs(y-c)<=d&&x+Y<V)-(Math.abs(b-c)<=d&&!!x);if(!Mt[u])for(var F=0;F<=u;F++)Mt[F]||(Mt[F]={});(Mt[u].vx!=w||Mt[u].vy!=k||Mt[u].el!==h)&&(Mt[u].el=h,Mt[u].vx=w,Mt[u].vy=k,clearInterval(Mt[u].pid),(w!=0||k!=0)&&(m=!0,Mt[u].pid=setInterval((function(){n&&this.layer===0&&Ue.active._onTouchMove(Po);var K=Mt[this.layer].vy?Mt[this.layer].vy*o:0,J=Mt[this.layer].vx?Mt[this.layer].vx*o:0;typeof r=="function"&&r.call(Ue.dragged.parentNode[Wl],J,K,e,Po,Mt[this.layer].el)!=="continue"||vW(Mt[this.layer].el,J,K)}).bind({layer:u}),24))),u++}while(t.bubbleScroll&&Z!==s&&(Z=Pa(Z,!1)));tu=m}},30),UW=function(t){var a=t.originalEvent,n=t.putSortable,i=t.dragEl,c=t.activeSortable,d=t.dispatchSortableEvent,o=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(a){var m=n||c;o();var r=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:a,u=document.elementFromPoint(r.clientX,r.clientY);s(),m&&!m.el.contains(u)&&(d("spill"),this.onSpill({dragEl:i,putSortable:n}))}};function T0(){}T0.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var a=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var i=Ri(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(a,i):this.sortable.el.appendChild(a),this.sortable.animateAll(),n&&n.animateAll()},drop:UW};Sa(T0,{pluginName:"revertOnSpill"});function I0(){}I0.prototype={onSpill:function(t){var a=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),a.parentNode&&a.parentNode.removeChild(a),n.animateAll()},drop:UW};Sa(I0,{pluginName:"removeOnSpill"});Ue.mount(new iD);Ue.mount(I0,T0);function cD(e,t){return Object.values(e).indexOf(t)}function dD(e,t,a,n){if(!e)return[];const i=Object.values(e),c=t.length-n;return[...t].map((d,o)=>o>=c?i.length:i.indexOf(d))}function oD(e){return["transition-group","TransitionGroup"].includes(e)}function Jb(e){if(!e||e.length!==1)return!1;const[{type:t}]=e;return t?oD(t.name):!1}function sD(e,t){return t?{...t.props,...t.attrs}:e}var lu=["Start","Add","Remove","Update","End"],au=["Choose","Unchoose","Sort","Filter","Clone"],mD=["Move",...lu,...au].map(e=>"on"+e),Dm=null,rD=(0,l.defineComponent)({name:"VueDraggableNext",inheritAttrs:!1,props:{options:Object,list:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:e=>e},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null},component:{type:String,default:null},modelValue:{type:Array,required:!1,default:null}},emits:["update:modelValue","move","change",...lu.map(e=>e.toLowerCase()),...au.map(e=>e.toLowerCase())],setup(e,{emit:t,slots:a,attrs:n}){const i=(0,l.ref)(!1),c=(0,l.ref)(!1),d=(0,l.ref)(0),o=(0,l.ref)(0),s=(0,l.ref)([]),m=(0,l.ref)(null),r=(0,l.ref)(null),u=(0,l.computed)(()=>e.list?e.list:e.modelValue),Z=(0,l.getCurrentInstance)();function h(){return e.component?(0,l.resolveComponent)(e.component):e.tag}function p(g){if(r.value)for(const T in g){const v=gb(T);mD.indexOf(v)===-1&&r.value.option(v,g[T])}}function b(){return Z?.proxy?.$el.children||[]}async function y(){await(0,l.nextTick)(),s.value=dD(b(),Z?.proxy?.$el.children||[],i.value,o.value)}function W(g){const T=cD(b()||[],g);return T===-1?null:{index:T,element:u.value?u.value[T]:null}}function G(g){(0,l.nextTick)(()=>t("change",g))}function N(g){if(e.list){g(e.list);return}const T=[...e.modelValue||[]];g(T),t("update:modelValue",T)}function Y(...g){N(v=>v.splice(...g))}function L(g,T){N(f=>f.splice(T,0,f.splice(g,1)[0]))}function X(g){const T=s.value,v=T.length;return g>v-1?v:T[g]}function M(){return a.default&&a.default()[0]?.component?.proxy||null}function V(g){if(!e.noTransitionOnDrag||!i.value)return;const T=b();T[g]&&(T[g].data=null);const v=M();v&&(v.children=[],v.kept=void 0)}function z(g){y(),m.value=W(g.item),m.value&&(g.item._underlying_vm_=e.clone(m.value.element),Dm=g.item)}function I(g){const T=g.item._underlying_vm_;if(T===void 0)return;wm(g.item);const v=X(g.newIndex);Y(v,0,T),y(),G({added:{element:T,newIndex:v}})}function x(g){if(zb(Z?.proxy?.$el,g.item,g.oldIndex),g.pullMode==="clone"){wm(g.clone);return}if(!m.value)return;const T=m.value.index;Y(T,1),V(T),G({removed:{element:m.value.element,oldIndex:T}})}function w(g){wm(g.item),zb(g.from,g.item,g.oldIndex);const T=m.value?.index,v=X(g.newIndex);L(T,v),G({moved:{element:m.value?.element,oldIndex:T,newIndex:v}})}function k(g,T){Object.prototype.hasOwnProperty.call(g,T)&&(g[T]+=d.value)}function F(g){return g.__draggable_component__}function K({to:g,related:T}){const v=F(g);if(!v)return{component:v};const f=v.realList,E={list:f,component:v};if(g!==T&&f&&v.getUnderlyingVm){const P=v.getUnderlyingVm(T);if(P)return Object.assign(P,E)}return E}function J(g,T){const v=[...T.to.children].filter(P=>P.style.display!=="none");if(v.length===0)return 0;const f=v.indexOf(T.related),E=g.component.getVmIndex(f);return v.indexOf(Dm)!==-1||!T.willInsertAfter?E:E+1}const D=()=>{const g={};lu.forEach(E=>{g["on"+E]=oe(E)}),au.forEach(E=>{g["on"+E]=le.bind(null,E)});const T=Object.keys(n).reduce((E,P)=>(E[gb(P)]=n[P],E),{}),v=Object.assign({},T,g,{onMove:(E,P)=>q(E,P)});"draggable"in v||(v.draggable=">*");const f=Z?.proxy?.$el.nodeType===1?Z.proxy.$el:Z?.proxy?.$el.parentElement||null;f&&(r.value=new Ue(f,v),f.__draggable_component__=Z?.proxy,y())};function le(g,T){(0,l.nextTick)(()=>t(g.toLowerCase(),T))}function oe(g){return T=>{if(u.value!==null){const v=_["onDrag"+g];v&&v(T)}le(g,T)}}function q(g,T){const v=e.move;if(!v||!u.value)return!0;const f=K(g),E=m.value,P=J(f,g);return E&&Object.assign(E,{futureIndex:P}),v(Object.assign({},g,{relatedContext:f,draggedContext:E}),T)}function ae(){y(),Dm=null}const _={onDragStart:z,onDragAdd:I,onDragRemove:x,onDragUpdate:w,onDragMove:q,onDragEnd:ae};return(0,l.onMounted)(()=>{D()}),e.list!==null&&e.modelValue!==null&&z7.error("list props are mutually exclusive! Please set one."),{getTag:h,realList:u,visibleIndexes:s,noneFunctionalComponentMode:c,headerOffset:d,footerOffset:o,transitionMode:i,computeIndexes:y,updateOptions:p,getChildrenNodes:b,getUnderlyingVm:W,emitChanges:G,alterList:N,spliceList:Y,updatePosition:L,getVmIndex:X,getComponent:M,resetTransitionData:V,onDragStart:z,onDragAdd:I,onDragRemove:x,onDragUpdate:w,updateProperty:k,onDragMove:q,onDragEnd:ae,mounted:D,context:m,sortableInstance:r,getRelatedContextFromMoveEvent:K,getTargetedComponent:F,computeFutureIndex:J}},render(){const e=this.getTag(),t=sD(this.$attrs,this.componentData);if(typeof e=="string"){const n=this.$slots.default&&typeof this.$slots.default=="function"?this.$slots.default():null;return n?(this.transitionMode=Jb(n),(0,l.h)(e,t,n)):(0,l.h)(e,t,[])}const a=this.$slots.default?{default:this.$slots.default}:{};return this.$slots.default&&(this.transitionMode=Jb((typeof this.$slots.default=="function"?this.$slots.default():null)||[])),(0,l.h)(e,t,a)}}),uD=["title"],ZD={class:"table-side-scroll"},bD={class:"table-header"},hD={class:"table-reorder"},pD={class:"table-action"},WD=(0,l.defineComponent)({__name:"TableField",props:{description:{default:""},meta:{},fieldname:{},bagelApp:{default:void 0},modelValue:{},frame:{type:Boolean},outline:{type:Boolean},minWidth:{},maxWidth:{},labelColor:{},labelActiveColor:{}},emits:["update:modelValue"],setup(e,{emit:t}){const a=e,n=t;let i,c;const d=(0,l.ref)(a.modelValue),o=a.meta.doc_meta.fields.find(b=>b.fieldname===a.fieldname),s=a.meta.links.find(b=>b.id===o?.options);function m(b,y,W){const G=[...a.modelValue];G[y][W]=b,n("update:modelValue",G)}function r(){const b=[...a.modelValue],y={idx:b.length};s?.fields.forEach(W=>{W.default&&(W.fieldtype==="Check"?y[W.fieldname]=Number.parseInt(W.default):y[W.fieldname]=W.default)}),b.push(y),n("update:modelValue",b)}function u(b){const y=[...a.modelValue];y.splice(b,1),n("update:modelValue",y)}function Z(){d.value.forEach((b,y)=>{b.idx=y+1}),n("update:modelValue",d.value)}const{shellClass:h,shellStyle:p}=Lt(a);return(0,l.onMounted)(()=>{i=a.bagelApp||c}),(b,y)=>{const W=(0,l.resolveComponent)("BagelInput");return(0,l.openBlock)(),(0,l.createElementBlock)("div",{class:"table-field-wrap",title:e.description},[(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)(["bagel-input",(0,l.unref)(h)]),style:(0,l.normalizeStyle)((0,l.unref)(p))},[(0,l.createElementVNode)("label",null,(0,l.toDisplayString)((0,l.unref)(o)?.label),1)],6),(0,l.createElementVNode)("div",ZD,[(0,l.createElementVNode)("div",bD,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)((0,l.unref)(s)?.fields,G=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:`${G.fieldname}header`,class:(0,l.normalizeClass)(["header-col",(0,l.unref)(Gu)(G.fieldtype,"pascal")])},(0,l.toDisplayString)(G.label),3))),128))]),(0,l.createVNode)((0,l.unref)(rD),{modelValue:d.value,"onUpdate:modelValue":y[0]||(y[0]=G=>d.value=G),animation:"150",handle:".table-reorder",group:"mainGroup",easing:"cubic-bezier(1, 0, 0, 1)","ghost-class":"ghost",onEnd:Z},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(l.TransitionGroup,null,{default:(0,l.withCtx)(()=>[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e.modelValue,(G,N)=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:G.id,class:"flex table-row"},[(0,l.createElementVNode)("div",hD,[(0,l.createVNode)((0,l.unref)(Te),{icon:"more_vert"})]),((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)((0,l.unref)(s)?.fields,Y=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:`${Y.fieldname}${G.id}`,class:(0,l.normalizeClass)(["table-cell",(0,l.unref)(Gu)(Y.fieldtype,"pascal")])},[(0,l.createVNode)(W,{"no-label":"","field-meta":Y,"bagel-app":(0,l.unref)(i),"model-value":G[Y.fieldname],"onUpdate:modelValue":L=>m(L,N,Y.fieldname)},null,8,["field-meta","bagel-app","model-value","onUpdate:modelValue"])],2))),128)),(0,l.createElementVNode)("div",pD,[(0,l.createVNode)((0,l.unref)(Te),{icon:"delete",onClick:Y=>u(N)},null,8,["onClick"])])]))),128))]),_:1})]),_:1},8,["modelValue"])]),(0,l.createVNode)((0,l.unref)(ce),{thin:"",flat:"",icon:"add",color:"light",onClick:r},{default:(0,l.withCtx)(()=>[...y[1]||(y[1]=[(0,l.createTextVNode)(" New ",-1)])]),_:1})],8,uD)}}}),GD=Ie(WD,[["__scopeId","data-v-b9d0ba27"]]),OW={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[2-467])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28)|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[024-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|8)\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:2[7-9]|3[3-7]|5[12]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-7]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]|50"]],["(\\d{8})","$1",["[5-7]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|5[07]|[67]3)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","8776\\d{4}|(?:[27]\\d|61)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-8]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|3[13])"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,0,[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|3[01]|5[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","(?:400|[5-9]\\d\\d)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[4-9]"]]]],ET:["251","00","(?:11|[2-57-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,"0|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:694\\d|7093)\\d{5}|(?:59|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|80[6-9]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0|180020","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","[235]\\d{8}|800\\d{5,6}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2358]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[48]\\d{8}|[2-9]\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|4(?:[0-35]|4[16-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[48]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|80[6-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:59(?:0(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","[2-589]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1(?:05|[2-9]))","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0|180020","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-6]|80[2-46]","11|2[02]|33|4[04]|79[1-6]|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31)|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|8(?:16|2[014]|3[126]|6[136]|7[78]|83)(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|3[129]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7(?:[23569]|8[0-57-9])|8[1-6])|7(?:1(?:[013-8]|9[6-9])|3(?:17|2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["16|[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[06]0"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|180020","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[47]"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","8\\d{13}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["3"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["20"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["20"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{4})(\\d{5})","$1-$2",["892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],"0",0,0,0,0,"[5-8]"],MC:["377","00","(?:[3489]|[67]\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[67]"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["11|2[16]"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","7091\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-37-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85[02-46-9]"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["30|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","30|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[78]\\d{8}|[2-9]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["3[289]|4[246-8]|61|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["2631[0-6]\\d{4}|26(?:2\\d|30|88)\\d{5}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"[3489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","(?:[15]\\d|800|92)\\d{7}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[0-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[013]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|9[2-9]"]],["(\\d)(\\d{7})","$1 $2",["[267]|904"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[346-9]"]]],"0"],SR:["597","00","(?:[2-5]|[6-9]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-9]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[25-7]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[3689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","(?:[0-57-9]\\d|66)\\d{7}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["\\d"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","[1-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["826"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["83"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["82"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[25]0|37|49|8[09]"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-478])|7[1-9]","[23568]|4(?:0[2-48]|[1-478])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024","20240"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["20[0-35-7]|4(?:6[45]|[7-9])|[7-9]","20(?:[0135-7]|2[5-9])|4(?:6[45]|[7-9])|[7-9]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[2-4]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:472[2-47-9]|983[2-57-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[02469]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-2478]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{6,7}|7\\d{6}",[7,8,9,10],[["(\\d{4})(\\d{4,6})","$1 $2",["1(?:2[02]|[89])"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[26]|6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","(?:639\\d|7093)\\d{5}|(?:26|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["26(?:89\\d|9(?:0[0-467]|15|5[0-4]|6\\d|[78]0))\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","(?:13|8\\d{4})\\d{5}|[235-8]\\d{8}|[23568]\\d{6}",[7,9,10],[["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|29|58)|67[0-46-9]|(?:55|68)[0-69]"],"0$1"],["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|[27]|48)|37|675|(?:55|68)[78]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["548"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[256]|39|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["3"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|5[12]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|5(?:0\\d{3}|2[0-2]))\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function EW(e,t){var a=Array.prototype.slice.call(t);return a.push(OW),e.apply(this,a)}function Db(e,t){e=e.split("-"),t=t.split("-");for(var a=e[0].split("."),n=t[0].split("."),i=0;i<3;i++){var c=Number(a[i]),d=Number(n[i]);if(c>d)return 1;if(d>c)return-1;if(!isNaN(c)&&isNaN(d))return 1;if(isNaN(c)&&!isNaN(d))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var ND={}.constructor;function wn(e){return e!=null&&e.constructor===ND}var yD=/^\d+$/;function YD(e){return yD.test(e)}function Si(e){"@babel/helpers - typeof";return Si=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Si(e)}function ks(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ub(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,LD(n.key),n)}}function Fs(e,t,a){return t&&Ub(e.prototype,t),a&&Ub(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function LD(e){var t=XD(e,"string");return Si(t)=="symbol"?t:t+""}function XD(e,t){if(Si(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,t||"default");if(Si(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var MD="1.2.0",VD="1.7.35",Ob=" ext. ",Ut=(function(){function e(t){ks(this,e),BW(t),this.metadata=t,HW.call(this,t)}return Fs(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(a){return a!=="001"})}},{key:"getCountryMetadata",value:function(a){return this.metadata.countries[a]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(a){return this.getCountryMetadata(a)!==void 0}},{key:"hasCallingCode",value:function(a){if(this.getCountryCodesForCallingCode(a))return!0;if(this.nonGeographic()){if(this.nonGeographic()[a])return!0}else{var n=this.countryCallingCodes()[a];if(n&&n.length===1&&n[0]==="001")return!0}}},{key:"isNonGeographicCallingCode",value:function(a){return this.nonGeographic()?!!this.nonGeographic()[a]:!this.getCountryCodesForCallingCode(a)}},{key:"country",value:function(a){return this.selectNumberingPlan(a)}},{key:"selectNumberingPlan",value:function(a,n){var i,c;if(a&&(YD(a)?c=a:i=a),n&&(c=n),i&&i!=="001"){var d=this.getCountryMetadata(i);if(!d)throw new Error("Unknown country: ".concat(i));this.numberingPlan=new Eb(d,this)}else if(c){if(!this.hasCallingCode(c))throw new Error("Unknown calling code: ".concat(c));this.numberingPlan=new Eb(this.getNumberingPlanMetadata(c),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(a){var n=this.countryCallingCodes()[a];if(n)return n.length===1&&n[0].length===3?void 0:n}},{key:"getCountryCodeForCallingCode",value:function(a){var n=this.getCountryCodesForCallingCode(a);if(n)return n[0]}},{key:"getNumberingPlanMetadata",value:function(a){var n=this.getCountryCodeForCallingCode(a);if(n)return this.getCountryMetadata(n);if(this.nonGeographic()){var i=this.nonGeographic()[a];if(i)return i}else{var c=this.countryCallingCodes()[a];if(c&&c.length===1&&c[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(a){return this.numberingPlan.type(a)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(a){return this.selectNumberingPlan(a)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}])})(),Eb=(function(){function e(t,a){ks(this,e),this.globalMetadataObject=a,this.metadata=t,HW.call(this,a.metadata)}return Fs(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"_getDefaultCountryMetadataForThisCallingCode",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this._getDefaultCountryMetadataForThisCallingCode()}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(a){return a[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var a=this;return(this._getFormats(this.metadata)||this._getFormats(this._getDefaultCountryMetadataForThisCallingCode())||[]).map(function(n){return new TD(n,a)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(a){return a[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:"type",value:function(a){if(this.hasTypes()&&Bb(this.types(),a))return new xD(Bb(this.types(),a),this)}},{key:"ext",value:function(){return this.v1||this.v2?Ob:this.metadata[13]||Ob}}])})(),TD=(function(){function e(t,a){ks(this,e),this._format=t,this.metadata=a}return Fs(e,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!!(this.nationalPrefixFormattingRule()&&!ID.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])})(),ID=/^\(?\$1\)?$/,xD=(function(){function e(t,a){ks(this,e),this.type=t,this.metadata=a}return Fs(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}])})();function Bb(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function BW(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!wn(e)||!wn(e.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(wn(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+gD(e)+": "+e,"."))}var gD=function(t){return Si(t)};function KW(e,t){var a=new Ut(t);if(a.hasCountry(e))return a.selectNumberingPlan(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function zD(e,t){return t.countries.hasOwnProperty(e)}function HW(e){var t=e.version;typeof t=="number"?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?Db(t,MD)===-1?this.v2=!0:Db(t,VD)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function wD(e,t){var a=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a)return(a=a.call(e)).next.bind(a);if(Array.isArray(e)||(a=RD(e))||t&&e&&typeof e.length=="number"){a&&(e=a);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
516
|
+
`;j.textContent=O}(0,l.watch)([oe,ae,_,h],()=>{L.value&&dm()},{flush:"post"}),(0,l.watch)(s,S=>{const j=N.state.doc;if(!j?.body){N.state.content=S;return}if(S!==im(j)){if(Co(N.state,N.state.content),S.trim())j.body.innerHTML=S,eb(j.body),qZ(j.body);else if(n.placeholder){const A=j.createElement("p");A.className="placeholder",A.textContent=n.placeholder,j.body.replaceChildren(A)}else{const A=Za();j.body.innerHTML=`<p dir="${A}"><br></p>`}Ki(),Pn(j),N.state.content=j.body.innerHTML}});const T2=(0,l.computed)(()=>n.splitViewFormat!==!1),I2=(0,l.computed)({get:()=>{N.state.content;const S=N.state.doc?im(N.state.doc):N.state.content;return T2.value?L4(S):S},set:S=>{const j=T2.value?f5(S):S,A=N.state.doc;if(!A?.body){N.state.content=j;return}Co(N.state,N.state.content),A.body.innerHTML=j,Pn(A),N.state.content=A.body.innerHTML}});(0,l.watch)(()=>N.state.content,()=>{i("update:modelValue",im(N.state.doc??null))}),(0,l.watch)(k,S=>{S&&i("limit-exceeded",{characters:z.value,words:I.value,maxLength:n.maxLength,maxWords:n.maxWords})}),(0,l.watch)(()=>H.value.alignment,S=>{Ye?.existingTable&&(am(Ye.existingTable,S),N.state.doc&&it(N.state.doc))});function x2(){re.value=!1}(0,l.onMounted)(()=>{typeof window<"u"&&window.addEventListener("click",x2)}),(0,l.onBeforeUnmount)(()=>{typeof window<"u"&&window.removeEventListener("click",x2)}),t({editor:N,commands:X});const g2=(0,l.computed)({get:()=>ue.value.src,set:S=>{!S||ue.value.src===S||(ue.value.src=bl(S)??S)}});return(S,j)=>{const A=(0,l.resolveDirective)("tooltip");return(0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,null,[(0,l.createElementVNode)("div",(0,l.mergeProps)({class:["bagel-input rich-text-light-theme",[(0,l.unref)(c),{"has-value":m.value,"rich-text-full-height":e.fullHeight}]],style:(0,l.unref)(d)},(0,l.unref)(W)),[e.label?((0,l.openBlock)(),(0,l.createElementBlock)("label",EJ,(0,l.toDisplayString)(e.label),1)):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)(["rounded",[{"rich-text-editor pt-05 px-05 pb-075":!e.basic,"rich-text-editor--basic":e.basic,"fullscreen-mode":(0,l.unref)(N).state.isFullscreen,"full-height":e.fullHeight&&!(0,l.unref)(N).state.isFullscreen}]])},[(0,l.unref)(N).state.hasInit&&T.value?((0,l.openBlock)(),(0,l.createBlock)(bJ,{key:0,config:f.value,selectedStyles:M.value,"hide-images":e.hideImages,"hide-videos":e.hideVideos,"hide-embeds":e.hideEmbed,"hide-tables":e.hideTables,"hide-alignment":e.hideAlignment,"hide-directions":e.hideDirections,"hide-h5-h6":e.hideH5H6,hide:E.value,"document-colors":b.value,onAction:(0,l.unref)(X).execute},{end:(0,l.withCtx)(()=>[(0,l.renderSlot)(S.$slots,"toolbar-end",{api:D},()=>[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(Z.value,O=>(0,l.withDirectives)(((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(ce),{key:O.name,icon:O.icon,value:O.value,"aria-label":O.label,class:(0,l.normalizeClass)([O.class,{active:M.value.has(O.name)}]),"aria-pressed":M.value.has(O.name),thin:"",flat:"",tabindex:"-1",onMousedown:j[0]||(j[0]=(0,l.withModifiers)(()=>{},["prevent"])),onClick:ye=>O.action(D)},null,8,["icon","value","aria-label","class","aria-pressed","onClick"])),[[A,O.label]])),128))],!0)]),_:3},8,["config","selectedStyles","hide-images","hide-videos","hide-embeds","hide-tables","hide-alignment","hide-directions","hide-h5-h6","hide","document-colors","onAction"])):(0,l.createCommentVNode)("",!0),F.value?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:1,class:(0,l.normalizeClass)(["flex space-between txt10 pb-025",k.value?"color-red":"color-gray"]),role:"status","aria-live":"polite"},[(0,l.createElementVNode)("span",null,[(0,l.createTextVNode)((0,l.toDisplayString)(z.value),1),e.maxLength?((0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,{key:0},[(0,l.createTextVNode)(" / "+(0,l.toDisplayString)(e.maxLength),1)],64)):(0,l.createCommentVNode)("",!0),j[66]||(j[66]=(0,l.createTextVNode)(" characters",-1))]),(0,l.createElementVNode)("span",null,[(0,l.createTextVNode)((0,l.toDisplayString)(I.value),1),e.maxWords?((0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,{key:0},[(0,l.createTextVNode)(" / "+(0,l.toDisplayString)(e.maxWords),1)],64)):(0,l.createCommentVNode)("",!0),j[67]||(j[67]=(0,l.createTextVNode)(" words",-1))]),(0,l.createElementVNode)("span",BJ,(0,l.toDisplayString)(K.value),1)],2)):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)(["editor-container",{"split-view":(0,l.unref)(N).state.isSplitView}])},[(0,l.createElementVNode)("div",{class:"content-area radius-05",style:(0,l.normalizeStyle)({height:(0,l.unref)(N).state.isFullscreen?"calc(100vh - 4rem)":V2.value})},[(0,l.createElementVNode)("iframe",{id:"rich-text-iframe",ref_key:"iframe",ref:G,class:(0,l.normalizeClass)(["editableContent",{"editor-ready":L.value}]),title:"Editor",srcdoc:"",sandbox:"allow-same-origin allow-forms allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-presentation",onLoad:Wy},null,34)],4),(0,l.unref)(N).state.isSplitView?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(s0),{key:0,modelValue:I2.value,"onUpdate:modelValue":j[1]||(j[1]=O=>I2.value=O),language:"html",autodetect:!1,wrap:"",height:(0,l.unref)(N).state.isFullscreen?"calc(100vh - 4rem)":V2.value},null,8,["modelValue","height"])):(0,l.createCommentVNode)("",!0)],2),e.debug?((0,l.openBlock)(),(0,l.createElementBlock)("div",KJ,[j[72]||(j[72]=(0,l.createElementVNode)("p",{class:"txt12 txt-gray mb-0 p-0"}," Debug ",-1)),(0,l.createVNode)((0,l.unref)(ce),{thin:"",color:"gray",icon:"visibility",onClick:b2},{default:(0,l.withCtx)(()=>[...j[68]||(j[68]=[(0,l.createTextVNode)(" Show Content ",-1)])]),_:1}),(0,l.createVNode)((0,l.unref)(ce),{thin:"",color:"gray",icon:"delete",onClick:cm.value?.clearSession},{default:(0,l.withCtx)(()=>[...j[69]||(j[69]=[(0,l.createTextVNode)(" Clear Session ",-1)])]),_:1},8,["onClick"]),(0,l.createVNode)((0,l.unref)(ce),{thin:"",color:"gray",icon:"download",onClick:cm.value?.downloadSession},{default:(0,l.withCtx)(()=>[...j[70]||(j[70]=[(0,l.createTextVNode)(" Download Log ",-1)])]),_:1},8,["onClick"]),(0,l.createVNode)((0,l.unref)(ce),{thin:"",color:"gray",icon:"content_copy",onClick:j[2]||(j[2]=O=>(0,l.unref)(OG)(cm.value?.exportDebugWithPrompt()||""))},{default:(0,l.withCtx)(()=>[...j[71]||(j[71]=[(0,l.createTextVNode)(" Copy Log ",-1)])]),_:1})])):(0,l.createCommentVNode)("",!0)],2),se.value?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:1,class:"inline-toolbar",style:(0,l.normalizeStyle)({position:"fixed",top:`${pe.value.top}px`,left:`${pe.value.left}px`,zIndex:99})},[(0,l.createElementVNode)("div",HJ,[(0,l.createVNode)((0,l.unref)(ce),{thin:"",flat:"",icon:"format_bold",class:(0,l.normalizeClass)({active:(0,l.unref)(N).state.selectedStyles.has("bold")}),onClick:j[3]||(j[3]=O=>Hi("bold"))},null,8,["class"]),(0,l.createVNode)((0,l.unref)(ce),{thin:"",flat:"",icon:"format_italic",class:(0,l.normalizeClass)({active:(0,l.unref)(N).state.selectedStyles.has("italic")}),onClick:j[4]||(j[4]=O=>Hi("italic"))},null,8,["class"]),(0,l.createVNode)((0,l.unref)(ce),{thin:"",flat:"",icon:"format_underlined",class:(0,l.normalizeClass)({active:M.value.has("underline")}),onClick:j[5]||(j[5]=O=>Hi("underline"))},null,8,["class"]),(0,l.createVNode)((0,l.unref)(vt),{vertical:"",size:"1.25rem",class:"mx-0125"}),(0,l.createVNode)((0,l.unref)(ce),{thin:"",flat:"",icon:"add_link",onClick:j[6]||(j[6]=O=>Hi("link"))}),M.value.has("link")?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(ce),{key:0,thin:"",flat:"",icon:"link_off","aria-label":"Remove link",title:"Remove link",onClick:j[7]||(j[7]=O=>Hi("unlink"))})):(0,l.createCommentVNode)("",!0)])],4)):(0,l.createCommentVNode)("",!0),(0,l.createVNode)((0,l.unref)(m5),{shown:re.value,"onUpdate:shown":j[8]||(j[8]=O=>re.value=O),"anchor-point":Xe.value,title:"Table Actions",items:Zy.value,"popup-class":"rich-text-light-theme"},null,8,["shown","anchor-point","items"])],16),(0,l.createVNode)((0,l.unref)(na),{open:P.value,title:em()?"Edit Link":"Add Link",width:"s","onUpdate:open":j[13]||(j[13]=O=>P.value=O)},{footer:(0,l.withCtx)(()=>[(0,l.createVNode)((0,l.unref)(ce),{value:"Cancel",flat:"",thin:"",onClick:j[12]||(j[12]=O=>P.value=!1)}),em()?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(ce),{key:0,value:"Remove Link",flat:"",thin:"",icon:"link_off",color:"red",onClick:BN})):(0,l.createCommentVNode)("",!0),(0,l.createVNode)((0,l.unref)(ce),{value:em()?"Update Link":"Add Link",disabled:!tm(U.value.url),onClick:p2},null,8,["value","disabled"])]),default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",PJ,[(0,l.createVNode)(Pe,{modelValue:U.value.url,"onUpdate:modelValue":j[9]||(j[9]=O=>U.value.url=O),label:"URL",type:"url",placeholder:"https://example.com",onKeydown:(0,l.withKeys)(p2,["enter"])},null,8,["modelValue"]),(0,l.createVNode)((0,l.unref)(ce),{icon:"open_in_new",class:"mb-05 radius-1",flat:"",disabled:!tm(U.value.url),onClick:KN},null,8,["disabled"])]),(0,l.createVNode)(Pe,{modelValue:U.value.title,"onUpdate:modelValue":j[10]||(j[10]=O=>U.value.title=O),label:"Title",placeholder:"Optional link title"},null,8,["modelValue"]),(0,l.createVNode)(Ht,{modelValue:U.value.openInNewTab,"onUpdate:modelValue":j[11]||(j[11]=O=>U.value.openInNewTab=O),label:"Open in new tab",type:"checkbox",class:"mb-2 mt-05"},null,8,["modelValue"])]),_:1},8,["open","title"]),ne.value?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:0,class:"editor-tooltip",style:(0,l.normalizeStyle)({left:`${te.value.x}px`,top:`${te.value.y}px`})},(0,l.toDisplayString)(te.value.message),5)):(0,l.createCommentVNode)("",!0),(0,l.createVNode)((0,l.unref)(na),{open:he.value,title:(0,l.unref)(Q)?.existingImage?"Edit Image":"Insert Image",width:"l","onUpdate:open":j[26]||(j[26]=O=>he.value=O)},{footer:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",qJ,[(0,l.createVNode)((0,l.unref)(ce),{value:"Cancel",flat:"",thin:"",onClick:j[25]||(j[25]=O=>he.value=!1)}),(0,l.unref)(Q)?.existingImage?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(ce),{key:0,value:"Delete Image",color:"red",flat:"",thin:"",icon:"delete",onClick:ly})):(0,l.createCommentVNode)("",!0),(0,l.createVNode)((0,l.unref)(ce),{class:"ms-auto",value:(0,l.unref)(Q)?.existingImage?"Save Changes":"Insert Image",disabled:!ue.value.src,onClick:lm},null,8,["value","disabled"])])]),default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",QJ,[(0,l.createElementVNode)("div",null,[(0,l.createVNode)(Fc,{modelValue:g2.value,"onUpdate:modelValue":j[14]||(j[14]=O=>g2.value=O),label:"Image",type:"image",accept:"image/*",upload:e.uploadImage,onAddFileStart:j[15]||(j[15]=O=>B.value=""),onUploadError:HN,onKeydown:(0,l.withKeys)(lm,["enter"])},null,8,["modelValue","upload"]),B.value?((0,l.openBlock)(),(0,l.createElementBlock)("p",AJ,(0,l.toDisplayString)(B.value),1)):(0,l.createCommentVNode)("",!0)]),(0,l.createElementVNode)("div",_J,[(0,l.createVNode)(Pe,{modelValue:ue.value.src,"onUpdate:modelValue":j[16]||(j[16]=O=>ue.value.src=O),label:"Image URL",type:"url",placeholder:"https://example.com/image.jpg",onKeydown:(0,l.withKeys)(lm,["enter"])},null,8,["modelValue"]),(0,l.createVNode)(Pe,{modelValue:ue.value.alt,"onUpdate:modelValue":j[17]||(j[17]=O=>ue.value.alt=O),label:"Alt Text",placeholder:"Describe the image"},null,8,["modelValue"]),(0,l.createElementVNode)("div",$J,[(0,l.createVNode)(Pe,{modelValue:ue.value.width,"onUpdate:modelValue":j[18]||(j[18]=O=>ue.value.width=O),label:"Width",placeholder:"100% or 500px or auto",help:"Examples: 100%, 500px, auto"},null,8,["modelValue"]),(0,l.createVNode)(Pe,{modelValue:ue.value.height,"onUpdate:modelValue":j[19]||(j[19]=O=>ue.value.height=O),label:"Height",placeholder:"auto or 300px",help:"Examples: auto, 300px"},null,8,["modelValue"])]),(0,l.createVNode)(bi,{modelValue:ue.value.align,"onUpdate:modelValue":j[20]||(j[20]=O=>ue.value.align=O),label:"Alignment",options:[{value:"full",label:"Full width (default)",icon:"width_full"},{value:"start",label:"Float to start (text wraps)",icon:"align_horizontal_left"},{value:"end",label:"Float to end (text wraps)",icon:"align_horizontal_right"}],"icon-only":""},null,8,["modelValue"]),(0,l.createVNode)(Pe,{modelValue:ue.value.credit,"onUpdate:modelValue":j[21]||(j[21]=O=>ue.value.credit=O),label:"Photo Credit",placeholder:"Photographer name (optional)"},null,8,["modelValue"]),(0,l.createVNode)(Pe,{modelValue:ue.value.link,"onUpdate:modelValue":j[22]||(j[22]=O=>ue.value.link=O),label:"Link URL",type:"url",placeholder:"https://example.com (optional)",help:"Make the image clickable by linking it to a URL"},null,8,["modelValue"]),ue.value.link?((0,l.openBlock)(),(0,l.createBlock)(Ht,{key:0,modelValue:ue.value.linkNewTab,"onUpdate:modelValue":j[23]||(j[23]=O=>ue.value.linkNewTab=O),label:"Open link in new tab"},null,8,["modelValue"])):(0,l.createCommentVNode)("",!0),(0,l.createVNode)(Ht,{modelValue:ue.value.figcaption,"onUpdate:modelValue":j[24]||(j[24]=O=>ue.value.figcaption=O),label:"Show alt text as caption",help:"Photo credit will always be shown if provided"},null,8,["modelValue"])])])]),_:1},8,["open","title"]),(0,l.createVNode)((0,l.unref)(na),{open:$.value,title:(0,l.unref)(C)?.existingEmbed?"Edit Embed":"Insert Embed",width:"m","onUpdate:open":j[32]||(j[32]=O=>$.value=O)},{footer:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",t7,[(0,l.createVNode)((0,l.unref)(ce),{value:"Cancel",flat:"",thin:"",onClick:j[31]||(j[31]=O=>$.value=!1)}),(0,l.unref)(C)?.existingEmbed?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(ce),{key:0,value:"Delete Embed",color:"red",flat:"",thin:"",icon:"delete",onClick:ay})):(0,l.createCommentVNode)("",!0),(0,l.createVNode)((0,l.unref)(ce),{value:(0,l.unref)(C)?.existingEmbed?"Save Changes":"Insert Embed",disabled:!R.value.src,class:"ms-auto",onClick:N2},null,8,["value","disabled"])])]),default:(0,l.withCtx)(()=>[(0,l.createVNode)(Pe,{modelValue:R.value.src,"onUpdate:modelValue":j[27]||(j[27]=O=>R.value.src=O),label:"Embed URL or Code",type:"url",placeholder:"YouTube URL, embed URL, or paste iframe code",onKeydown:(0,l.withKeys)(N2,["enter"])},null,8,["modelValue"]),(0,l.createElementVNode)("div",e7,[(0,l.createVNode)(Pe,{modelValue:R.value.width,"onUpdate:modelValue":j[28]||(j[28]=O=>R.value.width=O),label:"Width",placeholder:"560"},null,8,["modelValue"]),(0,l.createVNode)(Pe,{modelValue:R.value.height,"onUpdate:modelValue":j[29]||(j[29]=O=>R.value.height=O),label:"Height",placeholder:"315"},null,8,["modelValue"])]),(0,l.createVNode)(Pe,{modelValue:R.value.alt,"onUpdate:modelValue":j[30]||(j[30]=O=>R.value.alt=O),label:"Caption",placeholder:"Enter caption (optional)"},null,8,["modelValue"])]),_:1},8,["open","title"]),(0,l.createVNode)((0,l.unref)(na),{open:Fe.value,title:(0,l.unref)(Je)?.existingVideo?"Edit Video":"Insert Video",width:"m","onUpdate:open":j[46]||(j[46]=O=>Fe.value=O)},{footer:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",d7,[(0,l.createVNode)((0,l.unref)(ce),{value:"Cancel",flat:"",thin:"","full-width-mobile":"",onClick:j[45]||(j[45]=O=>Fe.value=!1)}),(0,l.unref)(Je)?.existingVideo?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(ce),{key:0,value:"Delete Video",color:"red",flat:"",thin:"",icon:"delete","full-width-mobile":"",onClick:QN})):(0,l.createCommentVNode)("",!0),(0,l.createVNode)((0,l.unref)(ce),{value:(0,l.unref)(Je)?.existingVideo?"Save Video":"Insert Video",class:"ms-auto m_ms-0","full-width-mobile":"",disabled:!ge.value.src||!Vd(ge.value.src),onClick:Y2},null,8,["value","disabled"])])]),default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",l7,[(0,l.createVNode)(Pe,{modelValue:ge.value.src,"onUpdate:modelValue":j[33]||(j[33]=O=>ge.value.src=O),label:"Video URL or Embed Code",type:"url",placeholder:"Paste YouTube URL, video file URL, or iframe embed code...",class:(0,l.normalizeClass)({error:ge.value.src&&!Vd(ge.value.src)}),onKeydown:(0,l.withKeys)(Y2,["enter"])},null,8,["modelValue","class"]),ge.value.src&&!Vd(ge.value.src)?((0,l.openBlock)(),(0,l.createElementBlock)("div",a7,[(0,l.createVNode)((0,l.unref)(Te),{name:"warning"}),j[73]||(j[73]=(0,l.createElementVNode)("p",{class:"txt12"}," Please enter a valid video URL or iframe embed code ",-1))])):(0,l.createCommentVNode)("",!0),(0,l.createVNode)(Pe,{modelValue:ge.value.width,"onUpdate:modelValue":j[34]||(j[34]=O=>ge.value.width=O),label:"Width",placeholder:"100% or 500px or 50vw",help:"Examples: 100%, 500px, 50vw, 300"},null,8,["modelValue"]),(0,l.createVNode)(bi,{modelValue:ge.value.align,"onUpdate:modelValue":j[35]||(j[35]=O=>ge.value.align=O),label:"Video alignment",options:[{value:"full",label:"Full width",icon:"fit_screen"},{value:"start",label:"Align start",icon:"align_horizontal_left"},{value:"end",label:"Align end",icon:"align_horizontal_right"}]},null,8,["modelValue"]),(0,l.createVNode)(cl,{modelValue:ge.value.aspectRatio,"onUpdate:modelValue":j[36]||(j[36]=O=>ge.value.aspectRatio=O),label:"Aspect Ratio",options:[{value:"16:9",label:"16:9 (Standard)"},{value:"4:3",label:"4:3 (Classic)"},{value:"9:16",label:"9:16 (Vertical/Shorts)"},{value:"21:9",label:"21:9 (Cinematic)"},{value:"1:1",label:"1:1 (Square)"},{value:"custom",label:"Custom"}]},null,8,["modelValue"]),ge.value.aspectRatio==="custom"?((0,l.openBlock)(),(0,l.createElementBlock)("div",n7,[(0,l.createVNode)(Pe,{modelValue:ge.value.customWidth,"onUpdate:modelValue":j[37]||(j[37]=O=>ge.value.customWidth=O),class:"m_grid-span-1",label:"Width ratio",placeholder:"16",type:"number"},null,8,["modelValue"]),(0,l.createVNode)(Pe,{modelValue:ge.value.customHeight,"onUpdate:modelValue":j[38]||(j[38]=O=>ge.value.customHeight=O),class:"m_grid-span-1",label:"Height ratio",placeholder:"9",type:"number"},null,8,["modelValue"])])):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("div",i7,[(0,l.createVNode)(Ht,{modelValue:ge.value.controls,"onUpdate:modelValue":j[39]||(j[39]=O=>ge.value.controls=O),label:"Show controls"},null,8,["modelValue"]),(0,l.createVNode)(Ht,{modelValue:ge.value.autoplay,"onUpdate:modelValue":j[40]||(j[40]=O=>ge.value.autoplay=O),label:"Autoplay"},null,8,["modelValue"]),(0,l.createVNode)(Ht,{modelValue:ge.value.mute,"onUpdate:modelValue":j[41]||(j[41]=O=>ge.value.mute=O),label:"Mute"},null,8,["modelValue"]),(0,l.createVNode)(Ht,{modelValue:ge.value.loop,"onUpdate:modelValue":j[42]||(j[42]=O=>ge.value.loop=O),label:"Loop"},null,8,["modelValue"]),(0,l.createVNode)(Ht,{modelValue:ge.value.showCaption,"onUpdate:modelValue":j[43]||(j[43]=O=>ge.value.showCaption=O),class:"grid-span-2",label:"Show caption below video"},null,8,["modelValue"]),ge.value.showCaption?((0,l.openBlock)(),(0,l.createBlock)(Pe,{key:0,modelValue:ge.value.caption,"onUpdate:modelValue":j[44]||(j[44]=O=>ge.value.caption=O),label:"Caption",class:"grid-span-2",placeholder:"Describe the video content"},null,8,["modelValue"])):(0,l.createCommentVNode)("",!0)]),ge.value.src&&Vd(ge.value.src)?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)($l),{key:2,frame:"",thin:"",class:"bg-gray-20"},{default:(0,l.withCtx)(()=>[j[74]||(j[74]=(0,l.createElementVNode)("p",{class:"label"}," Preview: ",-1)),(0,l.createElementVNode)("div",c7,[(0,l.createVNode)((0,l.unref)(l0),{src:ge.value.src,class:"","aspect-ratio":ge.value.aspectRatio==="custom"&&ge.value.customWidth&&ge.value.customHeight?`${ge.value.customWidth}:${ge.value.customHeight}`:ge.value.aspectRatio,autoplay:!1,mute:ge.value.mute,controls:ge.value.controls,loop:ge.value.loop},null,8,["src","aspect-ratio","mute","controls","loop"])])]),_:1})):(0,l.createCommentVNode)("",!0)])]),_:1},8,["open","title"]),((0,l.openBlock)(),(0,l.createBlock)(l.Teleport,{to:"body"},[(0,l.createVNode)((0,l.unref)(na),{open:Ze.value,title:(0,l.unref)(Ye)?.existingTable?"Edit Table":"Insert Table",width:"l","onUpdate:open":j[65]||(j[65]=O=>Ze.value=O)},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",o7,[(0,l.createVNode)((0,l.unref)(vt),{label:"Table Structure",class:"grid-span-4 m_grid-span-2 pt-05 pb-025"}),(0,l.createVNode)(pl,{modelValue:H.value.rows,"onUpdate:modelValue":j[47]||(j[47]=O=>H.value.rows=O),min:1,max:20,label:"Rows"},null,8,["modelValue"]),(0,l.createVNode)(pl,{modelValue:H.value.cols,"onUpdate:modelValue":j[48]||(j[48]=O=>H.value.cols=O),min:1,max:10,label:"Columns"},null,8,["modelValue"]),(0,l.createElementVNode)("div",s7,[j[75]||(j[75]=(0,l.createElementVNode)("label",{class:"label"},"Column Widths (%)",-1)),(0,l.createElementVNode)("div",m7,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(H.value.columnWidths.slice(0,H.value.cols),(O,ye)=>((0,l.openBlock)(),(0,l.createBlock)(pl,{key:ye,modelValue:H.value.columnWidths[ye],"onUpdate:modelValue":Le=>H.value.columnWidths[ye]=Le,min:1,max:100,label:`Column ${ye+1}`},null,8,["modelValue","onUpdate:modelValue","label"]))),128))]),(0,l.createElementVNode)("p",{class:(0,l.normalizeClass)(["txt12 mt-025 mb-0",{"color-red":Math.abs(ke.value-100)>.01}])}," Total: "+(0,l.toDisplayString)(Number(ke.value.toFixed(2)))+"% ",3)]),(0,l.createVNode)(bi,{modelValue:H.value.alignment,"onUpdate:modelValue":j[49]||(j[49]=O=>H.value.alignment=O),label:"Cell Text Alignment",class:"grid-span-1","icon-only":"",options:[{value:"left",label:"Align Left",icon:"format_align_left"},{value:"center",label:"Align Center",icon:"format_align_center"},{value:"right",label:"Align Right",icon:"format_align_right"}]},null,8,["modelValue"]),(0,l.createVNode)(bi,{modelValue:H.value.direction,"onUpdate:modelValue":j[50]||(j[50]=O=>H.value.direction=O),label:"Text Direction",class:"grid-span-1",options:[{value:"ltr",label:"LTR"},{value:"rtl",label:"RTL"}]},null,8,["modelValue"]),(0,l.createVNode)((0,l.unref)(vt),{label:"Table Style",class:"grid-span-4 m_grid-span-2 pt-05 pb-025"}),(0,l.createVNode)(pl,{modelValue:H.value.width,"onUpdate:modelValue":j[51]||(j[51]=O=>H.value.width=O),label:"Width (%)",min:25,max:100},null,8,["modelValue"]),(0,l.createVNode)(pl,{modelValue:H.value.cellPadding,"onUpdate:modelValue":j[52]||(j[52]=O=>H.value.cellPadding=O),label:"Cell Padding (px)",min:2,max:20},null,8,["modelValue"]),(0,l.createVNode)(pl,{modelValue:H.value.borderWidth,"onUpdate:modelValue":j[53]||(j[53]=O=>H.value.borderWidth=O),label:"Border Width (px)",min:0,max:5},null,8,["modelValue"]),(0,l.createVNode)((0,l.unref)(Tl),{modelValue:H.value.borderColor,"onUpdate:modelValue":j[54]||(j[54]=O=>H.value.borderColor=O),label:"Border Color"},null,8,["modelValue"]),(0,l.createVNode)(Ht,{modelValue:H.value.fixedLayout,"onUpdate:modelValue":j[55]||(j[55]=O=>H.value.fixedLayout=O),label:"Fixed cell width (doesn't change by content)",class:"grid-span-4 m_grid-span-2"},null,8,["modelValue"]),(0,l.createVNode)((0,l.unref)(vt),{label:"Cell Colors",class:"grid-span-4 m_grid-span-2 pt-05 pb-025"}),(0,l.createVNode)((0,l.unref)(Tl),{modelValue:H.value.cellBgColor,"onUpdate:modelValue":j[56]||(j[56]=O=>H.value.cellBgColor=O),class:"grid-span-2 m_grid-span-1",label:"Background Color"},null,8,["modelValue"]),(0,l.createVNode)((0,l.unref)(Tl),{modelValue:H.value.cellTextColor,"onUpdate:modelValue":j[57]||(j[57]=O=>H.value.cellTextColor=O),class:"grid-span-2 m_grid-span-1",label:"Text Color"},null,8,["modelValue"]),(0,l.createVNode)((0,l.unref)(vt),{label:"Row Styles",class:"grid-span-4 m_grid-span-2 pt-05 pb-025"}),(0,l.createVNode)(Ht,{modelValue:H.value.showHeaders,"onUpdate:modelValue":j[58]||(j[58]=O=>H.value.showHeaders=O),label:"Show header row",class:"grid-span-4 m_grid-span-2"},null,8,["modelValue"]),H.value.showHeaders?((0,l.openBlock)(),(0,l.createElementBlock)("div",r7,[(0,l.createVNode)((0,l.unref)(Tl),{modelValue:H.value.headerBgColor,"onUpdate:modelValue":j[59]||(j[59]=O=>H.value.headerBgColor=O),class:"grid-span-2 m_grid-span-1",label:"Header Background Color"},null,8,["modelValue"]),(0,l.createVNode)((0,l.unref)(Tl),{modelValue:H.value.headerTextColor,"onUpdate:modelValue":j[60]||(j[60]=O=>H.value.headerTextColor=O),class:"grid-span-2 m_grid-span-1",label:"Header Text Color"},null,8,["modelValue"])])):(0,l.createCommentVNode)("",!0),(0,l.createVNode)(Ht,{modelValue:H.value.alternateRows,"onUpdate:modelValue":j[61]||(j[61]=O=>H.value.alternateRows=O),label:"Alternating Row Colors",class:"grid-span-4 m_grid-span-2"},null,8,["modelValue"]),H.value.alternateRows?((0,l.openBlock)(),(0,l.createElementBlock)("div",u7,[(0,l.createVNode)((0,l.unref)(Tl),{modelValue:H.value.alternateRowBgColor,"onUpdate:modelValue":j[62]||(j[62]=O=>H.value.alternateRowBgColor=O),class:"grid-span-2 m_grid-span-1",label:"Alternate Row Background:"},null,8,["modelValue"]),(0,l.createVNode)((0,l.unref)(Tl),{modelValue:H.value.alternateRowTextColor,"onUpdate:modelValue":j[63]||(j[63]=O=>H.value.alternateRowTextColor=O),class:"grid-span-2 m_grid-span-1",label:"Alternate Row Text:"},null,8,["modelValue"])])):(0,l.createCommentVNode)("",!0)]),(0,l.createVNode)((0,l.unref)(vt),{label:"Preview",class:"grid-span-4 m_grid-span-2 pt-05 pb-025"}),(0,l.createElementVNode)("div",Z7,[(0,l.createElementVNode)("table",{dir:H.value.direction,style:(0,l.normalizeStyle)({width:`${H.value.width}%`,borderCollapse:"collapse",marginBottom:"1rem",border:`${H.value.borderWidth}px solid ${H.value.borderColor}`,tableLayout:H.value.fixedLayout?"fixed":"auto"})},[(0,l.createElementVNode)("colgroup",null,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(H.value.columnWidths.slice(0,H.value.cols),(O,ye)=>((0,l.openBlock)(),(0,l.createElementBlock)("col",{key:`col-${ye}`,style:(0,l.normalizeStyle)({width:`${O}%`})},null,4))),128))]),H.value.showHeaders?((0,l.openBlock)(),(0,l.createElementBlock)("thead",h7,[(0,l.createElementVNode)("tr",null,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(H.value.cols,O=>((0,l.openBlock)(),(0,l.createElementBlock)("th",{key:`th-${O}`,style:(0,l.normalizeStyle)({padding:`${H.value.cellPadding}px`,border:`${H.value.borderWidth}px solid ${H.value.borderColor}`,backgroundColor:H.value.headerBgColor,color:H.value.headerTextColor,textAlign:H.value.alignment,width:H.value.fixedLayout?`${H.value.columnWidths[O-1]??100/H.value.cols}%`:void 0})}," Header "+(0,l.toDisplayString)(O),5))),128))])])):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("tbody",null,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(H.value.rows,O=>((0,l.openBlock)(),(0,l.createElementBlock)("tr",{key:`tr-${O}`},[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(H.value.cols,ye=>((0,l.openBlock)(),(0,l.createElementBlock)("td",{key:`td-${O}-${ye}`,style:(0,l.normalizeStyle)({padding:`${H.value.cellPadding}px`,border:`${H.value.borderWidth}px solid ${H.value.borderColor}`,textAlign:H.value.alignment,width:H.value.fixedLayout?`${H.value.columnWidths[ye-1]??100/H.value.cols}%`:void 0,backgroundColor:H.value.alternateRows&&(O-1)%2===1?H.value.alternateRowBgColor:H.value.cellBgColor,color:H.value.alternateRows&&(O-1)%2===1?H.value.alternateRowTextColor:H.value.cellTextColor})}," Cell "+(0,l.toDisplayString)(O)+","+(0,l.toDisplayString)(ye),5))),128))]))),128))])],12,b7)])]),footer:(0,l.withCtx)(()=>[(0,l.createVNode)((0,l.unref)(ce),{value:"Cancel",flat:"",thin:"",onClick:j[64]||(j[64]=O=>Ze.value=!1)}),(0,l.unref)(Ye)?.existingTable?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(ce),{key:0,value:"Delete Table",color:"red",flat:"",thin:"",icon:"delete",onClick:ey})):(0,l.createCommentVNode)("",!0),(0,l.createVNode)((0,l.unref)(ce),{value:(0,l.unref)(Ye)?.existingTable?"Save":"Insert Table",class:"ms-auto",onClick:$N},null,8,["value"])]),_:1},8,["open","title"])]))],64)}}}),Uo=Ie(p7,[["__scopeId","data-v-7a7a308b"]]);function W7(e){return e}var Oo=class{x;y;pressure;time;constructor(e,t,a,n){if(isNaN(e)||isNaN(t))throw new Error(`Point is invalid: (${e}, ${t})`);this.x=+e,this.y=+t,this.pressure=a||0,this.time=n||Date.now()}distanceTo(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))}equals(e){return this.x===e.x&&this.y===e.y&&this.pressure===e.pressure&&this.time===e.time}velocityFrom(e){return this.time!==e.time?this.distanceTo(e)/(this.time-e.time):0}},G7=class gW{constructor(t,a,n,i,c,d){this.startPoint=t,this.control2=a,this.control1=n,this.endPoint=i,this.startWidth=c,this.endWidth=d}startPoint;control2;control1;endPoint;startWidth;endWidth;static fromPoints(t,a){const n=this.calculateControlPoints(t[0],t[1],t[2]).c2,i=this.calculateControlPoints(t[1],t[2],t[3]).c1;return new gW(t[1],n,i,t[2],a.start,a.end)}static calculateControlPoints(t,a,n){const i=t.x-a.x,c=t.y-a.y,d=a.x-n.x,o=a.y-n.y,s={x:(t.x+a.x)/2,y:(t.y+a.y)/2},m={x:(a.x+n.x)/2,y:(a.y+n.y)/2},r=Math.sqrt(i*i+c*c),u=Math.sqrt(d*d+o*o),Z=s.x-m.x,h=s.y-m.y,p=r+u==0?0:u/(r+u),b={x:m.x+Z*p,y:m.y+h*p},y=a.x-b.x,W=a.y-b.y;return{c1:new Oo(s.x+y,s.y+W),c2:new Oo(m.x+y,m.y+W)}}length(){let a=0,n,i;for(let c=0;c<=10;c+=1){const d=c/10,o=this.point(d,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),s=this.point(d,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(c>0){const m=o-n,r=s-i;a+=Math.sqrt(m*m+r*r)}n=o,i=s}return a}point(t,a,n,i,c){return a*(1-t)*(1-t)*(1-t)+3*n*(1-t)*(1-t)*t+3*i*(1-t)*t*t+c*t*t*t}},N7=class{_et;constructor(){try{this._et=new EventTarget}catch{this._et=document}}addEventListener(e,t,a){this._et.addEventListener(e,t,a)}dispatchEvent(e){return this._et.dispatchEvent(e)}removeEventListener(e,t,a){this._et.removeEventListener(e,t,a)}};function y7(e,t=250){let a=0,n=null,i,c,d;const o=()=>{a=Date.now(),n=null,i=e.apply(c,d),n||(c=null,d=[])};return function(...m){const r=Date.now(),u=t-(r-a);return c=this,d=m,u<=0||u>t?(n&&(clearTimeout(n),n=null),a=r,i=e.apply(c,d),n||(c=null,d=[])):n||(n=window.setTimeout(o,u)),i}}var Y7=class _r extends N7{constructor(t,a={}){super(),this.canvas=t,this.velocityFilterWeight=a.velocityFilterWeight||.7,this.minWidth=a.minWidth||.5,this.maxWidth=a.maxWidth||2.5,this.throttle=a.throttle??16,this.minDistance=a.minDistance??5,this.dotSize=a.dotSize||0,this.penColor=a.penColor||"black",this.backgroundColor=a.backgroundColor||"rgba(0,0,0,0)",this.compositeOperation=a.compositeOperation||"source-over",this.canvasContextOptions=a.canvasContextOptions??{},this._strokeMoveUpdate=this.throttle?y7(_r.prototype._strokeUpdate,this.throttle):_r.prototype._strokeUpdate,this._handleMouseDown=this._handleMouseDown.bind(this),this._handleMouseMove=this._handleMouseMove.bind(this),this._handleMouseUp=this._handleMouseUp.bind(this),this._handleTouchStart=this._handleTouchStart.bind(this),this._handleTouchMove=this._handleTouchMove.bind(this),this._handleTouchEnd=this._handleTouchEnd.bind(this),this._handlePointerDown=this._handlePointerDown.bind(this),this._handlePointerMove=this._handlePointerMove.bind(this),this._handlePointerUp=this._handlePointerUp.bind(this),this._handlePointerCancel=this._handlePointerCancel.bind(this),this._handleTouchCancel=this._handleTouchCancel.bind(this),this._ctx=t.getContext("2d",this.canvasContextOptions),this.clear(),this.on()}canvas;dotSize;minWidth;maxWidth;penColor;minDistance;velocityFilterWeight;compositeOperation;backgroundColor;throttle;canvasContextOptions;_ctx;_drawingStroke=!1;_isEmpty=!0;_dataUrl;_dataUrlOptions;_lastPoints=[];_data=[];_lastVelocity=0;_lastWidth=0;_strokeMoveUpdate;_strokePointerId;clear(){const{_ctx:t,canvas:a}=this;t.fillStyle=this.backgroundColor,t.clearRect(0,0,a.width,a.height),t.fillRect(0,0,a.width,a.height),this._data=[],this._reset(this._getPointGroupOptions()),this._isEmpty=!0,this._dataUrl=void 0,this._dataUrlOptions=void 0,this._strokePointerId=void 0}redraw(){const t=this._data,a=this._dataUrl,n=this._dataUrlOptions;this.clear(),a&&this.fromDataURL(a,n),this.fromData(t,{clear:!1})}fromDataURL(t,a={}){return new Promise((n,i)=>{const c=new Image,d=a.ratio||window.devicePixelRatio||1,o=a.width||this.canvas.width/d,s=a.height||this.canvas.height/d,m=a.xOffset||0,r=a.yOffset||0;this._reset(this._getPointGroupOptions()),c.onload=()=>{this._ctx.drawImage(c,m,r,o,s),n()},c.onerror=u=>{i(u)},c.crossOrigin="anonymous",c.src=t,this._isEmpty=!1,this._dataUrl=t,this._dataUrlOptions={...a}})}toDataURL(t="image/png",a){return t==="image/svg+xml"?(typeof a!="object"&&(a=void 0),`data:image/svg+xml;base64,${btoa(this.toSVG(a))}`):(typeof a!="number"&&(a=void 0),this.canvas.toDataURL(t,a))}on(){this.canvas.style.touchAction="none",this.canvas.style.msTouchAction="none",this.canvas.style.userSelect="none",this.canvas.style.webkitUserSelect="none";const t=/Macintosh/.test(navigator.userAgent)&&"ontouchstart"in document;window.PointerEvent&&!t?this._handlePointerEvents():(this._handleMouseEvents(),"ontouchstart"in window&&this._handleTouchEvents())}off(){this.canvas.style.touchAction="auto",this.canvas.style.msTouchAction="auto",this.canvas.style.userSelect="auto",this.canvas.style.webkitUserSelect="auto",this.canvas.removeEventListener("pointerdown",this._handlePointerDown),this.canvas.removeEventListener("mousedown",this._handleMouseDown),this.canvas.removeEventListener("touchstart",this._handleTouchStart),this._removeMoveUpEventListeners()}_getListenerFunctions(){const t=window.document===this.canvas.ownerDocument?window:this.canvas.ownerDocument.defaultView??this.canvas.ownerDocument;return{addEventListener:t.addEventListener.bind(t),removeEventListener:t.removeEventListener.bind(t)}}_removeMoveUpEventListeners(){const{removeEventListener:t}=this._getListenerFunctions();t("pointermove",this._handlePointerMove),t("pointerup",this._handlePointerUp),t("pointercancel",this._handlePointerCancel),t("mousemove",this._handleMouseMove),t("mouseup",this._handleMouseUp),t("touchmove",this._handleTouchMove),t("touchend",this._handleTouchEnd),t("touchcancel",this._handleTouchCancel)}isEmpty(){return this._isEmpty}fromData(t,{clear:a=!0}={}){a&&this.clear(),this._fromData(t,this._drawCurve.bind(this),this._drawDot.bind(this),this._drawLine.bind(this)),this._data=this._data.concat(t)}toData(){return this._data}_isLeftButtonPressed(t,a){return a?t.buttons===1:(t.buttons&1)===1}_pointerEventToSignatureEvent(t){return{event:t,type:t.type,x:t.clientX,y:t.clientY,pressure:"pressure"in t?t.pressure:0}}_touchEventToSignatureEvent(t){const a=t.changedTouches[0];return{event:t,type:t.type,x:a.clientX,y:a.clientY,pressure:a.force}}_handleMouseDown(t){!this._isLeftButtonPressed(t,!0)||this._drawingStroke||this._strokeBegin(this._pointerEventToSignatureEvent(t))}_handleMouseMove(t){if(!this._isLeftButtonPressed(t,!0)||!this._drawingStroke){this._strokeEnd(this._pointerEventToSignatureEvent(t),!1);return}this._strokeMoveUpdate(this._pointerEventToSignatureEvent(t))}_handleMouseUp(t){this._isLeftButtonPressed(t)||this._strokeEnd(this._pointerEventToSignatureEvent(t))}_handleTouchStart(t){t.targetTouches.length!==1||this._drawingStroke||(t.cancelable&&t.preventDefault(),this._strokeBegin(this._touchEventToSignatureEvent(t)))}_handleTouchMove(t){if(t.targetTouches.length===1){if(t.cancelable&&t.preventDefault(),!this._drawingStroke){this._strokeEnd(this._touchEventToSignatureEvent(t),!1);return}this._strokeMoveUpdate(this._touchEventToSignatureEvent(t))}}_handleTouchEnd(t){t.targetTouches.length===0&&(t.cancelable&&t.preventDefault(),this._strokeEnd(this._touchEventToSignatureEvent(t)))}_handlePointerCancel(t){this._allowPointerId(t)&&(t.preventDefault(),this._strokeEnd(this._pointerEventToSignatureEvent(t),!1))}_handleTouchCancel(t){t.cancelable&&t.preventDefault(),this._strokeEnd(this._touchEventToSignatureEvent(t),!1)}_getPointerId(t){return t.persistentDeviceId||t.pointerId}_allowPointerId(t,a=!1){return typeof this._strokePointerId>"u"?a:this._getPointerId(t)===this._strokePointerId}_handlePointerDown(t){this._drawingStroke||!this._isLeftButtonPressed(t)||!this._allowPointerId(t,!0)||(this._strokePointerId=this._getPointerId(t),t.preventDefault(),this._strokeBegin(this._pointerEventToSignatureEvent(t)))}_handlePointerMove(t){if(this._allowPointerId(t)){if(!this._isLeftButtonPressed(t,!0)||!this._drawingStroke){this._strokeEnd(this._pointerEventToSignatureEvent(t),!1);return}t.preventDefault(),this._strokeMoveUpdate(this._pointerEventToSignatureEvent(t))}}_handlePointerUp(t){this._isLeftButtonPressed(t)||!this._allowPointerId(t)||(t.preventDefault(),this._strokeEnd(this._pointerEventToSignatureEvent(t)))}_getPointGroupOptions(t){return{penColor:t&&"penColor"in t?t.penColor:this.penColor,dotSize:t&&"dotSize"in t?t.dotSize:this.dotSize,minWidth:t&&"minWidth"in t?t.minWidth:this.minWidth,maxWidth:t&&"maxWidth"in t?t.maxWidth:this.maxWidth,velocityFilterWeight:t&&"velocityFilterWeight"in t?t.velocityFilterWeight:this.velocityFilterWeight,compositeOperation:t&&"compositeOperation"in t?t.compositeOperation:this.compositeOperation}}_strokeBegin(t){if(!this.dispatchEvent(new CustomEvent("beginStroke",{detail:t,cancelable:!0})))return;const{addEventListener:a}=this._getListenerFunctions();switch(t.event.type){case"mousedown":a("mousemove",this._handleMouseMove,{passive:!1}),a("mouseup",this._handleMouseUp,{passive:!1});break;case"touchstart":a("touchmove",this._handleTouchMove,{passive:!1}),a("touchend",this._handleTouchEnd,{passive:!1}),a("touchcancel",this._handleTouchCancel,{passive:!1});break;case"pointerdown":a("pointermove",this._handlePointerMove,{passive:!1}),a("pointerup",this._handlePointerUp,{passive:!1}),a("pointercancel",this._handlePointerCancel,{passive:!1});break;default:}this._drawingStroke=!0;const n=this._getPointGroupOptions(),i={...n,points:[]};this._data.push(i),this._reset(n),this._strokeUpdate(t)}_strokeUpdate(t){if(!this._drawingStroke)return;if(this._data.length===0){this._strokeBegin(t);return}this.dispatchEvent(new CustomEvent("beforeUpdateStroke",{detail:t}));const a=this._createPoint(t.x,t.y,t.pressure),n=this._data[this._data.length-1],i=n.points,c=i.length>0&&i[i.length-1],d=c?a.distanceTo(c)<=this.minDistance:!1,o=this._getPointGroupOptions(n);if(!c||!(c&&d)){const s=this._addPoint(a,o);c?s&&this._drawCurve(s,o):this._drawDot(a,o),i.push({time:a.time,x:a.x,y:a.y,pressure:a.pressure})}this.dispatchEvent(new CustomEvent("afterUpdateStroke",{detail:t}))}_strokeEnd(t,a=!0){this._removeMoveUpEventListeners(),this._drawingStroke&&(a&&this._strokeUpdate(t),this._drawingStroke=!1,this._strokePointerId=void 0,this.dispatchEvent(new CustomEvent("endStroke",{detail:t})))}_handlePointerEvents(){this._drawingStroke=!1,this.canvas.addEventListener("pointerdown",this._handlePointerDown,{passive:!1})}_handleMouseEvents(){this._drawingStroke=!1,this.canvas.addEventListener("mousedown",this._handleMouseDown,{passive:!1})}_handleTouchEvents(){this.canvas.addEventListener("touchstart",this._handleTouchStart,{passive:!1})}_reset(t){this._lastPoints=[],this._lastVelocity=0,this._lastWidth=(t.minWidth+t.maxWidth)/2,this._ctx.fillStyle=t.penColor,this._ctx.globalCompositeOperation=t.compositeOperation}_createPoint(t,a,n){const i=this.canvas.getBoundingClientRect();return new Oo(t-i.left,a-i.top,n,new Date().getTime())}_addPoint(t,a){const{_lastPoints:n}=this;if(n.push(t),n.length>2){n.length===3&&n.unshift(n[0]);const i=this._calculateCurveWidths(n[1],n[2],a),c=G7.fromPoints(n,i);return n.shift(),c}return null}_calculateCurveWidths(t,a,n){const i=n.velocityFilterWeight*a.velocityFrom(t)+(1-n.velocityFilterWeight)*this._lastVelocity,c=this._strokeWidth(i,n),d={end:c,start:this._lastWidth};return this._lastVelocity=i,this._lastWidth=c,d}_strokeWidth(t,a){return Math.max(a.maxWidth/(t+1),a.minWidth)}_drawCurveSegment(t,a,n){const i=this._ctx;i.moveTo(t,a),i.arc(t,a,n,0,2*Math.PI,!1),this._isEmpty=!1}_drawCurve(t,a){const n=this._ctx,i=t.endWidth-t.startWidth,c=Math.ceil(t.length())*2;n.beginPath(),n.fillStyle=a.penColor;for(let d=0;d<c;d+=1){const o=d/c,s=o*o,m=s*o,r=1-o,u=r*r,Z=u*r;let h=Z*t.startPoint.x;h+=3*u*o*t.control1.x,h+=3*r*s*t.control2.x,h+=m*t.endPoint.x;let p=Z*t.startPoint.y;p+=3*u*o*t.control1.y,p+=3*r*s*t.control2.y,p+=m*t.endPoint.y;const b=Math.min(t.startWidth+m*i,a.maxWidth);this._drawCurveSegment(h,p,b)}n.closePath(),n.fill()}_getDotSize(t){return t.dotSize>0?t.dotSize:(t.minWidth+t.maxWidth)/2}_drawDot(t,a){const n=this._ctx,i=this._getDotSize(a);n.beginPath(),this._drawCurveSegment(t.x,t.y,i),n.closePath(),n.fillStyle=a.penColor,n.fill()}_drawLine(t,a,n){const i=this._ctx;i.save(),i.beginPath(),i.moveTo(t.x,t.y),i.lineTo(a.x,a.y),i.lineWidth=this._getDotSize(n)*2,i.lineCap="round",i.strokeStyle=n.penColor,i.stroke(),i.restore(),this._isEmpty=!1}_fromData(t,a,n,i){for(const c of t){const{points:d}=c,o=this._getPointGroupOptions(c);if(d.length>2)for(let s=0;s<d.length;s+=1){const m=d[s],r=new Oo(m.x,m.y,m.pressure,m.time);s===0&&this._reset(o);const u=this._addPoint(r,o);u&&a(u,o)}else d.length===2?(this._reset(o),i(d[0],d[1],o)):(this._reset(o),n(d[0],o))}}toSVG({includeBackgroundColor:t=!1,includeDataUrl:a=!1}={}){const n=this._data,i=Math.max(window.devicePixelRatio||1,1),c=0,d=0,o=this.canvas.width/i,s=this.canvas.height/i,m=document.createElementNS("http://www.w3.org/2000/svg","svg");if(m.setAttribute("xmlns","http://www.w3.org/2000/svg"),m.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),m.setAttribute("viewBox",`${c} ${d} ${o} ${s}`),m.setAttribute("width",o.toString()),m.setAttribute("height",s.toString()),t&&this.backgroundColor){const r=document.createElement("rect");r.setAttribute("width","100%"),r.setAttribute("height","100%"),r.setAttribute("fill",this.backgroundColor),m.appendChild(r)}if(a&&this._dataUrl){const r=this._dataUrlOptions?.ratio||window.devicePixelRatio||1,u=this._dataUrlOptions?.width||this.canvas.width/r,Z=this._dataUrlOptions?.height||this.canvas.height/r,h=this._dataUrlOptions?.xOffset||0,p=this._dataUrlOptions?.yOffset||0,b=document.createElement("image");b.setAttribute("x",h.toString()),b.setAttribute("y",p.toString()),b.setAttribute("width",u.toString()),b.setAttribute("height",Z.toString()),b.setAttribute("preserveAspectRatio","none"),b.setAttribute("href",this._dataUrl),m.appendChild(b)}return this._fromData(n,(r,{penColor:u})=>{const Z=document.createElement("path");if(!isNaN(r.control1.x)&&!isNaN(r.control1.y)&&!isNaN(r.control2.x)&&!isNaN(r.control2.y)){const h=`M ${r.startPoint.x.toFixed(3)},${r.startPoint.y.toFixed(3)} C ${r.control1.x.toFixed(3)},${r.control1.y.toFixed(3)} ${r.control2.x.toFixed(3)},${r.control2.y.toFixed(3)} ${r.endPoint.x.toFixed(3)},${r.endPoint.y.toFixed(3)}`;Z.setAttribute("d",h),Z.setAttribute("stroke-width",(r.endWidth*2.25).toFixed(3)),Z.setAttribute("stroke",u),Z.setAttribute("fill","none"),Z.setAttribute("stroke-linecap","round"),m.appendChild(Z)}},(r,{penColor:u,dotSize:Z,minWidth:h,maxWidth:p})=>{const b=document.createElement("circle"),y=Z>0?Z:(h+p)/2;b.setAttribute("r",y.toString()),b.setAttribute("cx",r.x.toString()),b.setAttribute("cy",r.y.toString()),b.setAttribute("fill",u),m.appendChild(b)},(r,u,Z)=>{const h=document.createElement("line");h.setAttribute("x1",r.x.toString()),h.setAttribute("y1",r.y.toString()),h.setAttribute("x2",u.x.toString()),h.setAttribute("y2",u.y.toString()),h.setAttribute("stroke",Z.penColor),h.setAttribute("stroke-width",(this._getDotSize(Z)*2).toString()),h.setAttribute("stroke-linecap","round"),m.appendChild(h)}),m.outerHTML}};function zW(e=globalThis.devicePixelRatio??1){return Number.isFinite(e)?Math.min(Math.max(e,1),2):1}function L7(e,t=zW()){const a=e.clientWidth,n=e.clientHeight;if(a<=0||n<=0)return;const i=Math.round(a*t),c=Math.round(n*t);return e.width!==i&&(e.width=i),e.height!==c&&(e.height=c),e.getContext("2d")?.setTransform(t,0,0,t,0,0),{width:a,height:n,pixelRatio:t}}var X7={key:0,class:"label-text"},M7={key:1,class:"helptext"},V7=["disabled"],T7=["required"],I7=(0,l.defineComponent)({__name:"SignaturePad",props:(0,l.mergeModels)({sigOption:{},width:{},height:{},ratio:{},clearOnResize:{type:Boolean},waterMark:{},disabled:{type:Boolean},defaultUrl:{},format:{},clearable:{type:Boolean,default:!0},required:{type:Boolean},label:{},helptext:{},penColor:{},backgroundColor:{},frame:{type:Boolean},outline:{type:Boolean},minWidth:{},maxWidth:{},labelColor:{},labelActiveColor:{}},{modelValue:{},modelModifiers:{},file:{},fileModifiers:{}}),emits:["update:modelValue","update:file"],setup(e,{expose:t}){const a=e,{shellClass:n,shellStyle:i}=Lt(a),c=(0,l.useModel)(e,"modelValue"),d=(0,l.useModel)(e,"file"),o=(0,l.ref)(),s=(0,l.ref)(),m=(0,l.ref)(!0);let r;function u(){s.value?.clear(),m.value=!0,c.value=void 0}function Z(z){return z=z||a.format,z?s.value?.toDataURL(z):s.value?.toDataURL()}function h(){const z=Z();if(z)if(a.format==="image/svg+xml")r=new File([z],"signature.svg",{type:"image/svg+xml"}),d.value=r;else try{const I=z.split(",")[1];if(!I)throw new Error("Invalid data URL format");const x=atob(I),w=new Uint8Array(Array.from(x,J=>J.charCodeAt(0))),k=a.format||"image/png",F=new Blob([w],{type:k}),K=k.split("/")[1];r=new File([F],`signature.${K}`,{type:k}),d.value=r}catch{}}function p(z){const I=o.value?.getBoundingClientRect();return s.value?.fromDataURL(z,{height:I?.height,width:I?.width,ratio:zW(),xOffset:0,yOffset:0})}const b=()=>s.value?.isEmpty();function y(){const z=s.value?.toData();z&&(z.pop(),s.value?.fromData(z))}const W=(0,l.ref)({penColor:"rgb(0, 0, 0)",backgroundColor:"rgba(0,0,0,0)"}),G=(0,l.computed)(()=>({...W.value,...a.penColor?{penColor:a.penColor}:{},...a.backgroundColor?{backgroundColor:a.backgroundColor}:{},...a.sigOption}));(0,l.watch)(()=>a.disabled,z=>{z?s.value?.off():s.value?.on()}),(0,l.watch)(G,z=>{s.value&&(s.value.penColor=z.penColor??"rgb(0,0,0)",z.backgroundColor&&(s.value.backgroundColor=z.backgroundColor))});function N(z){if(Object.prototype.toString.call(z)!=="[object Object]")throw new Error(`Expected Object, got ${typeof z}.`);{const I={text:z.text||"",x:z.x||20,y:z.y||20,sx:z.sx||40,sy:z.sy||40},x=o.value?.getContext("2d");if(!x)return;x.font=z.font||"20px sans-serif",x.fillStyle=z.fillStyle||"#333",x.strokeStyle=z.strokeStyle||"#333",z.style==="all"?(x.fillText(I.text,I.x,I.y),x.strokeText(I.text,I.sx,I.sy)):z.style==="stroke"?x.strokeText(I.text,I.sx,I.sy):x.fillText(I.text,I.x,I.y)}}function Y(){m.value=s.value?.isEmpty()??!1,c.value=Z(),h()}function L(z){if(!z)return;const I=new FileReader;return new Promise(x=>{I.onload=w=>{const k=String(w.target?.result);p(k),m.value=!1,c.value=k,x(!0)},I.readAsDataURL(z)})}(0,l.watch)(d,z=>{if(z===r){r=void 0;return}L(z)});function X(){const z=o.value,I=s.value;if(!z||!I)return;const x=z.width,w=z.height,k=I.isEmpty(),F=k?[]:I.toData(),K=!k&&F.length===0?Z():void 0;L7(z)&&(z.width===x&&z.height===w||(I.clear(),a.clearOnResize?(m.value=!0,c.value=void 0):F.length>0?(I.fromData(F),m.value=!1):K&&(p(K),m.value=!1),a.waterMark&&N(a.waterMark)))}const M=(0,l.computed)(()=>({...a.backgroundColor?{background:a.backgroundColor}:{},width:a.width??"100%",...a.height?{height:a.height}:{aspectRatio:`1 / ${a.ratio??1/2}`,height:"auto"}}));async function V(){s.value=new Y7(o.value,G.value),a.disabled&&s.value.off(),m.value=s.value.isEmpty(),d.value&&L(d.value),await(0,l.nextTick)(),requestAnimationFrame(()=>requestAnimationFrame(X))}return(0,l.onMounted)(()=>{V()}),kp(()=>o.value,X),yi(()=>s.value,"endStroke",Y),t({save:Z,clear:u,isEmpty:b,undo:y,addWaterMark:N,fromDataURL:p}),(z,I)=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{class:(0,l.normalizeClass)(["bagel-input bgl_input signature-pad relative",[(0,l.unref)(n),{"has-value":!m.value}]]),style:(0,l.normalizeStyle)((0,l.unref)(i)),tabindex:"-1",onTouchmove:I[0]||(I[0]=(0,l.withModifiers)(()=>{},["prevent"]))},[e.label?((0,l.openBlock)(),(0,l.createElementBlock)("label",X7,(0,l.toDisplayString)(e.label),1)):(0,l.createCommentVNode)("",!0),e.helptext?((0,l.openBlock)(),(0,l.createElementBlock)("p",M7,(0,l.toDisplayString)(e.helptext),1)):(0,l.createCommentVNode)("",!0),e.clearable&&!e.disabled?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(ce),{key:2,flat:"",thin:"",icon:"refresh",class:"position-bottom-end",onClick:u})):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("canvas",{ref_key:"vCanvas",ref:o,class:"canvas",disabled:e.disabled,style:(0,l.normalizeStyle)(M.value)},null,12,V7),(0,l.createElementVNode)("input",{placeholder:"required",type:"text",required:e.required&&m.value,class:"pixel opacity-0",inputMode:"none"},null,8,T7)],38))}}),x7=I7;function g7(){return typeof window<"u"?window.console:global.console}var z7=g7();function w7(e){const t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var R7=/-(\w)/g,gb=w7(e=>e.replace(R7,(t,a)=>a?a.toUpperCase():""));function wm(e){e.parentElement!==null&&e.parentElement.removeChild(e)}function zb(e,t,a){const n=a===0?e.children[0]:e.children[a-1].nextSibling;e.insertBefore(t,n)}function wb(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function ra(e){for(var t=1;t<arguments.length;t++){var a=arguments[t]!=null?arguments[t]:{};t%2?wb(Object(a),!0).forEach(function(n){S7(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):wb(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function ho(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ho=function(t){return typeof t}:ho=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ho(e)}function S7(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Sa(){return Sa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Sa.apply(this,arguments)}function f7(e,t){if(e==null)return{};var a={},n=Object.keys(e),i,c;for(c=0;c<n.length;c++)i=n[c],!(t.indexOf(i)>=0)&&(a[i]=e[i]);return a}function v7(e,t){if(e==null)return{};var a=f7(e,t),n,i;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(i=0;i<c.length;i++)n=c[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var k7="1.14.0";function xa(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var ka=xa(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Wd=xa(/Edge/i),Rb=xa(/firefox/i),pc=xa(/safari/i)&&!xa(/chrome/i)&&!xa(/android/i),wW=xa(/iP(ad|od|hone)/i),F7=xa(/chrome/i)&&xa(/android/i),RW={capture:!1,passive:!1};function at(e,t,a){e.addEventListener(t,a,!ka&&RW)}function et(e,t,a){e.removeEventListener(t,a,!ka&&RW)}function Eo(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function j7(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function aa(e,t,a,n){if(e){a=a||document;do{if(t!=null&&(t[0]===">"?e.parentNode===a&&Eo(e,t):Eo(e,t))||n&&e===a)return e;if(e===a)break}while(e=j7(e))}return null}var Sb=/\s+/g;function rl(e,t,a){e&&t&&(e.classList?e.classList[a?"add":"remove"](t):e.className=((" "+e.className+" ").replace(Sb," ").replace(" "+t+" "," ")+(a?" "+t:"")).replace(Sb," "))}function De(e,t,a){var n=e&&e.style;if(n){if(a===void 0)return document.defaultView&&document.defaultView.getComputedStyle?a=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(a=e.currentStyle),t===void 0?a:a[t];!(t in n)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),n[t]=a+(typeof a=="string"?"":"px")}}function Xi(e,t){var a="";if(typeof e=="string")a=e;else do{var n=De(e,"transform");n&&n!=="none"&&(a=n+" "+a)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(a)}function SW(e,t,a){if(e){var n=e.getElementsByTagName(t),i=0,c=n.length;if(a)for(;i<c;i++)a(n[i],i);return n}return[]}function ca(){var e=document.scrollingElement;return e||document.documentElement}function zt(e,t,a,n,i){if(!(!e.getBoundingClientRect&&e!==window)){var c,d,o,s,m,r,u;if(e!==window&&e.parentNode&&e!==ca()?(c=e.getBoundingClientRect(),d=c.top,o=c.left,s=c.bottom,m=c.right,r=c.height,u=c.width):(d=0,o=0,s=window.innerHeight,m=window.innerWidth,r=window.innerHeight,u=window.innerWidth),(t||a)&&e!==window&&(i=i||e.parentNode,!ka))do if(i&&i.getBoundingClientRect&&(De(i,"transform")!=="none"||a&&De(i,"position")!=="static")){var Z=i.getBoundingClientRect();d-=Z.top+parseInt(De(i,"border-top-width")),o-=Z.left+parseInt(De(i,"border-left-width")),s=d+c.height,m=o+c.width;break}while(i=i.parentNode);if(n&&e!==window){var h=Xi(i||e),p=h&&h.a,b=h&&h.d;h&&(d/=b,o/=p,u/=p,r/=b,s=d+r,m=o+u)}return{top:d,left:o,bottom:s,right:m,width:u,height:r}}}function fb(e,t,a){for(var n=Pa(e,!0),i=zt(e)[t];n;){var c=zt(n)[a],d=void 0;if(a==="top"||a==="left"?d=i>=c:d=i<=c,!d)return n;if(n===ca())break;n=Pa(n,!1)}return!1}function Ri(e,t,a,n){for(var i=0,c=0,d=e.children;c<d.length;){if(d[c].style.display!=="none"&&d[c]!==Ue.ghost&&(n||d[c]!==Ue.dragged)&&aa(d[c],a.draggable,e,!1)){if(i===t)return d[c];i++}c++}return null}function V0(e,t){for(var a=e.lastElementChild;a&&(a===Ue.ghost||De(a,"display")==="none"||t&&!Eo(a,t));)a=a.previousElementSibling;return a||null}function Ml(e,t){var a=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Ue.clone&&(!t||Eo(e,t))&&a++;return a}function vb(e){var t=0,a=0,n=ca();if(e)do{var i=Xi(e),c=i.a,d=i.d;t+=e.scrollLeft*c,a+=e.scrollTop*d}while(e!==n&&(e=e.parentNode));return[t,a]}function C7(e,t){for(var a in e)if(e.hasOwnProperty(a)){for(var n in t)if(t.hasOwnProperty(n)&&t[n]===e[a][n])return Number(a)}return-1}function Pa(e,t){if(!e||!e.getBoundingClientRect)return ca();var a=e,n=!1;do if(a.clientWidth<a.scrollWidth||a.clientHeight<a.scrollHeight){var i=De(a);if(a.clientWidth<a.scrollWidth&&(i.overflowX=="auto"||i.overflowX=="scroll")||a.clientHeight<a.scrollHeight&&(i.overflowY=="auto"||i.overflowY=="scroll")){if(!a.getBoundingClientRect||a===document.body)return ca();if(n||t)return a;n=!0}}while(a=a.parentNode);return ca()}function J7(e,t){if(e&&t)for(var a in t)t.hasOwnProperty(a)&&(e[a]=t[a]);return e}function Rm(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var Wc;function fW(e,t){return function(){if(!Wc){var a=arguments,n=this;a.length===1?e.call(n,a[0]):e.apply(n,a),Wc=setTimeout(function(){Wc=void 0},t)}}}function D7(){clearTimeout(Wc),Wc=void 0}function vW(e,t,a){e.scrollLeft+=t,e.scrollTop+=a}function kW(e){var t=window.Polymer,a=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):a?a(e).clone(!0)[0]:e.cloneNode(!0)}var Wl="Sortable"+new Date().getTime();function U7(){var e=[],t;return{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach(function(n){if(!(De(n,"display")==="none"||n===Ue.ghost)){e.push({target:n,rect:zt(n)});var i=ra({},e[e.length-1].rect);if(n.thisAnimationDuration){var c=Xi(n,!0);c&&(i.top-=c.f,i.left-=c.e)}n.fromRect=i}})},addAnimationState:function(n){e.push(n)},removeAnimationState:function(n){e.splice(C7(e,{target:n}),1)},animateAll:function(n){var i=this;if(!this.options.animation){clearTimeout(t),typeof n=="function"&&n();return}var c=!1,d=0;e.forEach(function(o){var s=0,m=o.target,r=m.fromRect,u=zt(m),Z=m.prevFromRect,h=m.prevToRect,p=o.rect,b=Xi(m,!0);b&&(u.top-=b.f,u.left-=b.e),m.toRect=u,m.thisAnimationDuration&&Rm(Z,u)&&!Rm(r,u)&&(p.top-u.top)/(p.left-u.left)===(r.top-u.top)/(r.left-u.left)&&(s=E7(p,Z,h,i.options)),Rm(u,r)||(m.prevFromRect=r,m.prevToRect=u,s||(s=i.options.animation),i.animate(m,p,u,s)),s&&(c=!0,d=Math.max(d,s),clearTimeout(m.animationResetTimer),m.animationResetTimer=setTimeout(function(){m.animationTime=0,m.prevFromRect=null,m.fromRect=null,m.prevToRect=null,m.thisAnimationDuration=null},s),m.thisAnimationDuration=s)}),clearTimeout(t),c?t=setTimeout(function(){typeof n=="function"&&n()},d):typeof n=="function"&&n(),e=[]},animate:function(n,i,c,d){if(d){De(n,"transition",""),De(n,"transform","");var o=Xi(this.el),s=o&&o.a,m=o&&o.d,r=(i.left-c.left)/(s||1),u=(i.top-c.top)/(m||1);n.animatingX=!!r,n.animatingY=!!u,De(n,"transform","translate3d("+r+"px,"+u+"px,0)"),this.forRepaintDummy=O7(n),De(n,"transition","transform "+d+"ms"+(this.options.easing?" "+this.options.easing:"")),De(n,"transform","translate3d(0,0,0)"),typeof n.animated=="number"&&clearTimeout(n.animated),n.animated=setTimeout(function(){De(n,"transition",""),De(n,"transform",""),n.animated=!1,n.animatingX=!1,n.animatingY=!1},d)}}}}function O7(e){return e.offsetWidth}function E7(e,t,a,n){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-a.top,2)+Math.pow(t.left-a.left,2))*n.animation}var ti=[],Sm={initializeByDefault:!0},Gd={mount:function(t){for(var a in Sm)Sm.hasOwnProperty(a)&&!(a in t)&&(t[a]=Sm[a]);ti.forEach(function(n){if(n.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),ti.push(t)},pluginEvent:function(t,a,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var c=t+"Global";ti.forEach(function(d){a[d.pluginName]&&(a[d.pluginName][c]&&a[d.pluginName][c](ra({sortable:a},n)),a.options[d.pluginName]&&a[d.pluginName][t]&&a[d.pluginName][t](ra({sortable:a},n)))})},initializePlugins:function(t,a,n,i){ti.forEach(function(o){var s=o.pluginName;if(!(!t.options[s]&&!o.initializeByDefault)){var m=new o(t,a,t.options);m.sortable=t,m.options=t.options,t[s]=m,Sa(n,m.defaults)}});for(var c in t.options)if(t.options.hasOwnProperty(c)){var d=this.modifyOption(t,c,t.options[c]);typeof d<"u"&&(t.options[c]=d)}},getEventProperties:function(t,a){var n={};return ti.forEach(function(i){typeof i.eventProperties=="function"&&Sa(n,i.eventProperties.call(a[i.pluginName],t))}),n},modifyOption:function(t,a,n){var i;return ti.forEach(function(c){t[c.pluginName]&&c.optionListeners&&typeof c.optionListeners[a]=="function"&&(i=c.optionListeners[a].call(t[c.pluginName],n))}),i}};function B7(e){var t=e.sortable,a=e.rootEl,n=e.name,i=e.targetEl,c=e.cloneEl,d=e.toEl,o=e.fromEl,s=e.oldIndex,m=e.newIndex,r=e.oldDraggableIndex,u=e.newDraggableIndex,Z=e.originalEvent,h=e.putSortable,p=e.extraEventProperties;if(t=t||a&&a[Wl],!!t){var b,y=t.options,W="on"+n.charAt(0).toUpperCase()+n.substr(1);window.CustomEvent&&!ka&&!Wd?b=new CustomEvent(n,{bubbles:!0,cancelable:!0}):(b=document.createEvent("Event"),b.initEvent(n,!0,!0)),b.to=d||a,b.from=o||a,b.item=i||a,b.clone=c,b.oldIndex=s,b.newIndex=m,b.oldDraggableIndex=r,b.newDraggableIndex=u,b.originalEvent=Z,b.pullMode=h?h.lastPutMode:void 0;var G=ra(ra({},p),Gd.getEventProperties(n,t));for(var N in G)b[N]=G[N];a&&a.dispatchEvent(b),y[W]&&y[W].call(t,b)}}var K7=["evt"],nl=function(t,a){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n.evt,c=v7(n,K7);Gd.pluginEvent.bind(Ue)(t,a,ra({dragEl:xe,parentEl:Wt,ghostEl:Ke,rootEl:Zt,nextEl:Mn,lastDownEl:po,cloneEl:Gt,cloneHidden:Ka,dragStarted:sc,putSortable:jt,activeSortable:Ue.active,originalEvent:i,oldIndex:hi,oldDraggableIndex:Gc,newIndex:ul,newDraggableIndex:Ea,hideGhostForTarget:JW,unhideGhostForTarget:DW,cloneNowHidden:function(){Ka=!0},cloneNowShown:function(){Ka=!1},dispatchSortableEvent:function(o){_t({sortable:a,name:o,originalEvent:i})}},c))};function _t(e){B7(ra({putSortable:jt,cloneEl:Gt,targetEl:xe,rootEl:Zt,oldIndex:hi,oldDraggableIndex:Gc,newIndex:ul,newDraggableIndex:Ea},e))}var xe,Wt,Ke,Zt,Mn,po,Gt,Ka,hi,ul,Gc,Ea,Od,jt,mi=!1,Bo=!1,Ko=[],yn,Jl,fm,vm,kb,Fb,sc,li,Nc,yc=!1,Ed=!1,Wo,Bt,km=[],$r=!1,Ho=[],vs=typeof document<"u",Bd=wW,jb=Wd||ka?"cssFloat":"float",H7=vs&&!F7&&!wW&&"draggable"in document.createElement("div"),FW=(function(){if(vs){if(ka)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}})(),jW=function(t,a){var n=De(t),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),c=Ri(t,0,a),d=Ri(t,1,a),o=c&&De(c),s=d&&De(d),m=o&&parseInt(o.marginLeft)+parseInt(o.marginRight)+zt(c).width,r=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+zt(d).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(c&&o.float&&o.float!=="none"){var u=o.float==="left"?"left":"right";return d&&(s.clear==="both"||s.clear===u)?"vertical":"horizontal"}return c&&(o.display==="block"||o.display==="flex"||o.display==="table"||o.display==="grid"||m>=i&&n[jb]==="none"||d&&n[jb]==="none"&&m+r>i)?"vertical":"horizontal"},P7=function(t,a,n){var i=n?t.left:t.top,c=n?t.right:t.bottom,d=n?t.width:t.height,o=n?a.left:a.top,s=n?a.right:a.bottom,m=n?a.width:a.height;return i===o||c===s||i+d/2===o+m/2},Q7=function(t,a){var n;return Ko.some(function(i){var c=i[Wl].options.emptyInsertThreshold;if(!(!c||V0(i))){var d=zt(i),o=t>=d.left-c&&t<=d.right+c,s=a>=d.top-c&&a<=d.bottom+c;if(o&&s)return n=i}}),n},CW=function(t){function a(c,d){return function(o,s,m,r){var u=o.options.group.name&&s.options.group.name&&o.options.group.name===s.options.group.name;if(c==null&&(d||u))return!0;if(c==null||c===!1)return!1;if(d&&c==="clone")return c;if(typeof c=="function")return a(c(o,s,m,r),d)(o,s,m,r);var Z=(d?o:s).options.group.name;return c===!0||typeof c=="string"&&c===Z||c.join&&c.indexOf(Z)>-1}}var n={},i=t.group;(!i||ho(i)!="object")&&(i={name:i}),n.name=i.name,n.checkPull=a(i.pull,!0),n.checkPut=a(i.put),n.revertClone=i.revertClone,t.group=n},JW=function(){!FW&&Ke&&De(Ke,"display","none")},DW=function(){!FW&&Ke&&De(Ke,"display","")};vs&&document.addEventListener("click",function(e){if(Bo)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Bo=!1,!1},!0);var Yn=function(t){if(xe){t=t.touches?t.touches[0]:t;var a=Q7(t.clientX,t.clientY);if(a){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.target=n.rootEl=a,n.preventDefault=void 0,n.stopPropagation=void 0,a[Wl]._onDragOver(n)}}},A7=function(t){xe&&xe.parentNode[Wl]._isOutsideThisEl(t.target)};function Ue(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=Sa({},t),e[Wl]=this;var a={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return jW(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(d,o){d.setData("Text",o.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Ue.supportPointer!==!1&&"PointerEvent"in window&&!pc,emptyInsertThreshold:5};Gd.initializePlugins(this,e,a);for(var n in a)!(n in t)&&(t[n]=a[n]);CW(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:H7,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?at(e,"pointerdown",this._onTapStart):(at(e,"mousedown",this._onTapStart),at(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(at(e,"dragover",this),at(e,"dragenter",this)),Ko.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Sa(this,U7())}Ue.prototype={constructor:Ue,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(li=null)},_getDirection:function(t,a){return typeof this.options.direction=="function"?this.options.direction.call(this,t,a,xe):this.options.direction},_onTapStart:function(t){if(t.cancelable){var a=this,n=this.el,i=this.options,c=i.preventOnFilter,d=t.type,o=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,s=(o||t).target,m=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,r=i.filter;if(nD(n),!xe&&!(/mousedown|pointerdown/.test(d)&&t.button!==0||i.disabled)&&!m.isContentEditable&&!(!this.nativeDraggable&&pc&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=aa(s,i.draggable,n,!1),!(s&&s.animated)&&po!==s)){if(hi=Ml(s),Gc=Ml(s,i.draggable),typeof r=="function"){if(r.call(this,t,s,this)){_t({sortable:a,rootEl:m,name:"filter",targetEl:s,toEl:n,fromEl:n}),nl("filter",a,{evt:t}),c&&t.cancelable&&t.preventDefault();return}}else if(r&&(r=r.split(",").some(function(u){if(u=aa(m,u.trim(),n,!1),u)return _t({sortable:a,rootEl:u,name:"filter",targetEl:s,fromEl:n,toEl:n}),nl("filter",a,{evt:t}),!0}),r)){c&&t.cancelable&&t.preventDefault();return}i.handle&&!aa(m,i.handle,n,!1)||this._prepareDragStart(t,o,s)}}},_prepareDragStart:function(t,a,n){var i=this,c=i.el,d=i.options,o=c.ownerDocument,s;if(n&&!xe&&n.parentNode===c){var m=zt(n);if(Zt=c,xe=n,Wt=xe.parentNode,Mn=xe.nextSibling,po=n,Od=d.group,Ue.dragged=xe,yn={target:xe,clientX:(a||t).clientX,clientY:(a||t).clientY},kb=yn.clientX-m.left,Fb=yn.clientY-m.top,this._lastX=(a||t).clientX,this._lastY=(a||t).clientY,xe.style["will-change"]="all",s=function(){if(nl("delayEnded",i,{evt:t}),Ue.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!Rb&&i.nativeDraggable&&(xe.draggable=!0),i._triggerDragStart(t,a),_t({sortable:i,name:"choose",originalEvent:t}),rl(xe,d.chosenClass,!0)},d.ignore.split(",").forEach(function(r){SW(xe,r.trim(),Fm)}),at(o,"dragover",Yn),at(o,"mousemove",Yn),at(o,"touchmove",Yn),at(o,"mouseup",i._onDrop),at(o,"touchend",i._onDrop),at(o,"touchcancel",i._onDrop),Rb&&this.nativeDraggable&&(this.options.touchStartThreshold=4,xe.draggable=!0),nl("delayStart",this,{evt:t}),d.delay&&(!d.delayOnTouchOnly||a)&&(!this.nativeDraggable||!(Wd||ka))){if(Ue.eventCanceled){this._onDrop();return}at(o,"mouseup",i._disableDelayedDrag),at(o,"touchend",i._disableDelayedDrag),at(o,"touchcancel",i._disableDelayedDrag),at(o,"mousemove",i._delayedDragTouchMoveHandler),at(o,"touchmove",i._delayedDragTouchMoveHandler),d.supportPointer&&at(o,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(s,d.delay)}else s()}},_delayedDragTouchMoveHandler:function(t){var a=t.touches?t.touches[0]:t;Math.max(Math.abs(a.clientX-this._lastX),Math.abs(a.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){xe&&Fm(xe),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;et(t,"mouseup",this._disableDelayedDrag),et(t,"touchend",this._disableDelayedDrag),et(t,"touchcancel",this._disableDelayedDrag),et(t,"mousemove",this._delayedDragTouchMoveHandler),et(t,"touchmove",this._delayedDragTouchMoveHandler),et(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,a){a=a||t.pointerType=="touch"&&t,!this.nativeDraggable||a?this.options.supportPointer?at(document,"pointermove",this._onTouchMove):a?at(document,"touchmove",this._onTouchMove):at(document,"mousemove",this._onTouchMove):(at(xe,"dragend",this),at(Zt,"dragstart",this._onDragStart));try{document.selection?Go(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,a){if(mi=!1,Zt&&xe){nl("dragStarted",this,{evt:a}),this.nativeDraggable&&at(document,"dragover",A7);var n=this.options;!t&&rl(xe,n.dragClass,!1),rl(xe,n.ghostClass,!0),Ue.active=this,t&&this._appendGhost(),_t({sortable:this,name:"start",originalEvent:a})}else this._nulling()},_emulateDragOver:function(){if(Jl){this._lastX=Jl.clientX,this._lastY=Jl.clientY,JW();for(var t=document.elementFromPoint(Jl.clientX,Jl.clientY),a=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Jl.clientX,Jl.clientY),t!==a);)a=t;if(xe.parentNode[Wl]._isOutsideThisEl(t),a)do{if(a[Wl]){var n=void 0;if(n=a[Wl]._onDragOver({clientX:Jl.clientX,clientY:Jl.clientY,target:t,rootEl:a}),n&&!this.options.dragoverBubble)break}t=a}while(a=a.parentNode);DW()}},_onTouchMove:function(t){if(yn){var a=this.options,n=a.fallbackTolerance,i=a.fallbackOffset,c=t.touches?t.touches[0]:t,d=Ke&&Xi(Ke,!0),o=Ke&&d&&d.a,s=Ke&&d&&d.d,m=Bd&&Bt&&vb(Bt),r=(c.clientX-yn.clientX+i.x)/(o||1)+(m?m[0]-km[0]:0)/(o||1),u=(c.clientY-yn.clientY+i.y)/(s||1)+(m?m[1]-km[1]:0)/(s||1);if(!Ue.active&&!mi){if(n&&Math.max(Math.abs(c.clientX-this._lastX),Math.abs(c.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(Ke){d?(d.e+=r-(fm||0),d.f+=u-(vm||0)):d={a:1,b:0,c:0,d:1,e:r,f:u};var Z="matrix(".concat(d.a,",").concat(d.b,",").concat(d.c,",").concat(d.d,",").concat(d.e,",").concat(d.f,")");De(Ke,"webkitTransform",Z),De(Ke,"mozTransform",Z),De(Ke,"msTransform",Z),De(Ke,"transform",Z),fm=r,vm=u,Jl=c}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!Ke){var t=this.options.fallbackOnBody?document.body:Zt,a=zt(xe,!0,Bd,!0,t),n=this.options;if(Bd){for(Bt=t;De(Bt,"position")==="static"&&De(Bt,"transform")==="none"&&Bt!==document;)Bt=Bt.parentNode;Bt!==document.body&&Bt!==document.documentElement?(Bt===document&&(Bt=ca()),a.top+=Bt.scrollTop,a.left+=Bt.scrollLeft):Bt=ca(),km=vb(Bt)}Ke=xe.cloneNode(!0),rl(Ke,n.ghostClass,!1),rl(Ke,n.fallbackClass,!0),rl(Ke,n.dragClass,!0),De(Ke,"transition",""),De(Ke,"transform",""),De(Ke,"box-sizing","border-box"),De(Ke,"margin",0),De(Ke,"top",a.top),De(Ke,"left",a.left),De(Ke,"width",a.width),De(Ke,"height",a.height),De(Ke,"opacity","0.8"),De(Ke,"position",Bd?"absolute":"fixed"),De(Ke,"zIndex","100000"),De(Ke,"pointerEvents","none"),Ue.ghost=Ke,t.appendChild(Ke),De(Ke,"transform-origin",kb/parseInt(Ke.style.width)*100+"% "+Fb/parseInt(Ke.style.height)*100+"%")}},_onDragStart:function(t,a){var n=this,i=t.dataTransfer,c=n.options;if(nl("dragStart",this,{evt:t}),Ue.eventCanceled){this._onDrop();return}nl("setupClone",this),Ue.eventCanceled||(Gt=kW(xe),Gt.draggable=!1,Gt.style["will-change"]="",this._hideClone(),rl(Gt,this.options.chosenClass,!1),Ue.clone=Gt),n.cloneId=Go(function(){nl("clone",n),!Ue.eventCanceled&&(n.options.removeCloneOnHide||Zt.insertBefore(Gt,xe),n._hideClone(),_t({sortable:n,name:"clone"}))}),!a&&rl(xe,c.dragClass,!0),a?(Bo=!0,n._loopId=setInterval(n._emulateDragOver,50)):(et(document,"mouseup",n._onDrop),et(document,"touchend",n._onDrop),et(document,"touchcancel",n._onDrop),i&&(i.effectAllowed="move",c.setData&&c.setData.call(n,i,xe)),at(document,"drop",n),De(xe,"transform","translateZ(0)")),mi=!0,n._dragStartId=Go(n._dragStarted.bind(n,a,t)),at(document,"selectstart",n),sc=!0,pc&&De(document.body,"user-select","none")},_onDragOver:function(t){var a=this.el,n=t.target,i,c,d,o=this.options,s=o.group,m=Ue.active,r=Od===s,u=o.sort,Z=jt||m,h,p=this,b=!1;if($r)return;function y(le,oe){nl(le,p,ra({evt:t,isOwner:r,axis:h?"vertical":"horizontal",revert:d,dragRect:i,targetRect:c,canSort:u,fromSortable:Z,target:n,completed:G,onMove:function(ae,_){return Kd(Zt,a,xe,i,ae,zt(ae),t,_)},changed:N},oe))}function W(){y("dragOverAnimationCapture"),p.captureAnimationState(),p!==Z&&Z.captureAnimationState()}function G(le){return y("dragOverCompleted",{insertion:le}),le&&(r?m._hideClone():m._showClone(p),p!==Z&&(rl(xe,jt?jt.options.ghostClass:m.options.ghostClass,!1),rl(xe,o.ghostClass,!0)),jt!==p&&p!==Ue.active?jt=p:p===Ue.active&&jt&&(jt=null),Z===p&&(p._ignoreWhileAnimating=n),p.animateAll(function(){y("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==Z&&(Z.animateAll(),Z._ignoreWhileAnimating=null)),(n===xe&&!xe.animated||n===a&&!n.animated)&&(li=null),!o.dragoverBubble&&!t.rootEl&&n!==document&&(xe.parentNode[Wl]._isOutsideThisEl(t.target),!le&&Yn(t)),!o.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),b=!0}function N(){ul=Ml(xe),Ea=Ml(xe,o.draggable),_t({sortable:p,name:"change",toEl:a,newIndex:ul,newDraggableIndex:Ea,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),n=aa(n,o.draggable,a,!0),y("dragOver"),Ue.eventCanceled)return b;if(xe.contains(t.target)||n.animated&&n.animatingX&&n.animatingY||p._ignoreWhileAnimating===n)return G(!1);if(Bo=!1,m&&!o.disabled&&(r?u||(d=Wt!==Zt):jt===this||(this.lastPutMode=Od.checkPull(this,m,xe,t))&&s.checkPut(this,m,xe,t))){if(h=this._getDirection(t,n)==="vertical",i=zt(xe),y("dragOverValid"),Ue.eventCanceled)return b;if(d)return Wt=Zt,W(),this._hideClone(),y("revert"),Ue.eventCanceled||(Mn?Zt.insertBefore(xe,Mn):Zt.appendChild(xe)),G(!0);var Y=V0(a,o.draggable);if(!Y||eD(t,h,this)&&!Y.animated){if(Y===xe)return G(!1);if(Y&&a===t.target&&(n=Y),n&&(c=zt(n)),Kd(Zt,a,xe,i,n,c,t,!!n)!==!1)return W(),a.appendChild(xe),Wt=a,N(),G(!0)}else if(Y&&q7(t,h,this)){var L=Ri(a,0,o,!0);if(L===xe)return G(!1);if(n=L,c=zt(n),Kd(Zt,a,xe,i,n,c,t,!1)!==!1)return W(),a.insertBefore(xe,L),Wt=a,N(),G(!0)}else if(n.parentNode===a){c=zt(n);var X=0,M,V=xe.parentNode!==a,z=!P7(xe.animated&&xe.toRect||i,n.animated&&n.toRect||c,h),I=h?"top":"left",x=fb(n,"top","top")||fb(xe,"top","top"),w=x?x.scrollTop:void 0;li!==n&&(M=c[I],yc=!1,Ed=!z&&o.invertSwap||V),X=tD(t,n,c,h,z?1:o.swapThreshold,o.invertedSwapThreshold==null?o.swapThreshold:o.invertedSwapThreshold,Ed,li===n);var k;if(X!==0){var F=Ml(xe);do F-=X,k=Wt.children[F];while(k&&(De(k,"display")==="none"||k===Ke))}if(X===0||k===n)return G(!1);li=n,Nc=X;var K=n.nextElementSibling,J=!1;J=X===1;var D=Kd(Zt,a,xe,i,n,c,t,J);if(D!==!1)return(D===1||D===-1)&&(J=D===1),$r=!0,setTimeout($7,30),W(),J&&!K?a.appendChild(xe):n.parentNode.insertBefore(xe,J?K:n),x&&vW(x,0,w-x.scrollTop),Wt=xe.parentNode,M!==void 0&&!Ed&&(Wo=Math.abs(M-zt(n)[I])),N(),G(!0)}if(a.contains(xe))return G(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){et(document,"mousemove",this._onTouchMove),et(document,"touchmove",this._onTouchMove),et(document,"pointermove",this._onTouchMove),et(document,"dragover",Yn),et(document,"mousemove",Yn),et(document,"touchmove",Yn)},_offUpEvents:function(){var t=this.el.ownerDocument;et(t,"mouseup",this._onDrop),et(t,"touchend",this._onDrop),et(t,"pointerup",this._onDrop),et(t,"touchcancel",this._onDrop),et(document,"selectstart",this)},_onDrop:function(t){var a=this.el,n=this.options;if(ul=Ml(xe),Ea=Ml(xe,n.draggable),nl("drop",this,{evt:t}),Wt=xe&&xe.parentNode,ul=Ml(xe),Ea=Ml(xe,n.draggable),Ue.eventCanceled){this._nulling();return}mi=!1,Ed=!1,yc=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),qr(this.cloneId),qr(this._dragStartId),this.nativeDraggable&&(et(document,"drop",this),et(a,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),pc&&De(document.body,"user-select",""),De(xe,"transform",""),t&&(sc&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),Ke&&Ke.parentNode&&Ke.parentNode.removeChild(Ke),(Zt===Wt||jt&&jt.lastPutMode!=="clone")&&Gt&&Gt.parentNode&&Gt.parentNode.removeChild(Gt),xe&&(this.nativeDraggable&&et(xe,"dragend",this),Fm(xe),xe.style["will-change"]="",sc&&!mi&&rl(xe,jt?jt.options.ghostClass:this.options.ghostClass,!1),rl(xe,this.options.chosenClass,!1),_t({sortable:this,name:"unchoose",toEl:Wt,newIndex:null,newDraggableIndex:null,originalEvent:t}),Zt!==Wt?(ul>=0&&(_t({rootEl:Wt,name:"add",toEl:Wt,fromEl:Zt,originalEvent:t}),_t({sortable:this,name:"remove",toEl:Wt,originalEvent:t}),_t({rootEl:Wt,name:"sort",toEl:Wt,fromEl:Zt,originalEvent:t}),_t({sortable:this,name:"sort",toEl:Wt,originalEvent:t})),jt&&jt.save()):ul!==hi&&ul>=0&&(_t({sortable:this,name:"update",toEl:Wt,originalEvent:t}),_t({sortable:this,name:"sort",toEl:Wt,originalEvent:t})),Ue.active&&((ul==null||ul===-1)&&(ul=hi,Ea=Gc),_t({sortable:this,name:"end",toEl:Wt,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){nl("nulling",this),Zt=xe=Wt=Ke=Mn=Gt=po=Ka=yn=Jl=sc=ul=Ea=hi=Gc=li=Nc=jt=Od=Ue.dragged=Ue.ghost=Ue.clone=Ue.active=null,Ho.forEach(function(t){t.checked=!0}),Ho.length=fm=vm=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":xe&&(this._onDragOver(t),_7(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],a,n=this.el.children,i=0,c=n.length,d=this.options;i<c;i++)a=n[i],aa(a,d.draggable,this.el,!1)&&t.push(a.getAttribute(d.dataIdAttr)||aD(a));return t},sort:function(t,a){var n={},i=this.el;this.toArray().forEach(function(c,d){var o=i.children[d];aa(o,this.options.draggable,i,!1)&&(n[c]=o)},this),a&&this.captureAnimationState(),t.forEach(function(c){n[c]&&(i.removeChild(n[c]),i.appendChild(n[c]))}),a&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,a){return aa(t,a||this.options.draggable,this.el,!1)},option:function(t,a){var n=this.options;if(a===void 0)return n[t];var i=Gd.modifyOption(this,t,a);typeof i<"u"?n[t]=i:n[t]=a,t==="group"&&CW(n)},destroy:function(){nl("destroy",this);var t=this.el;t[Wl]=null,et(t,"mousedown",this._onTapStart),et(t,"touchstart",this._onTapStart),et(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(et(t,"dragover",this),et(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(a){a.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Ko.splice(Ko.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Ka){if(nl("hideClone",this),Ue.eventCanceled)return;De(Gt,"display","none"),this.options.removeCloneOnHide&&Gt.parentNode&&Gt.parentNode.removeChild(Gt),Ka=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(Ka){if(nl("showClone",this),Ue.eventCanceled)return;xe.parentNode==Zt&&!this.options.group.revertClone?Zt.insertBefore(Gt,xe):Mn?Zt.insertBefore(Gt,Mn):Zt.appendChild(Gt),this.options.group.revertClone&&this.animate(xe,Gt),De(Gt,"display",""),Ka=!1}}};function _7(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Kd(e,t,a,n,i,c,d,o){var s,m=e[Wl],r=m.options.onMove,u;return window.CustomEvent&&!ka&&!Wd?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=t,s.from=e,s.dragged=a,s.draggedRect=n,s.related=i||t,s.relatedRect=c||zt(t),s.willInsertAfter=o,s.originalEvent=d,e.dispatchEvent(s),r&&(u=r.call(m,s,d)),u}function Fm(e){e.draggable=!1}function $7(){$r=!1}function q7(e,t,a){var n=zt(Ri(a.el,0,a.options,!0)),i=10;return t?e.clientX<n.left-i||e.clientY<n.top&&e.clientX<n.right:e.clientY<n.top-i||e.clientY<n.bottom&&e.clientX<n.left}function eD(e,t,a){var n=zt(V0(a.el,a.options.draggable)),i=10;return t?e.clientX>n.right+i||e.clientX<=n.right&&e.clientY>n.bottom&&e.clientX>=n.left:e.clientX>n.right&&e.clientY>n.top||e.clientX<=n.right&&e.clientY>n.bottom+i}function tD(e,t,a,n,i,c,d,o){var s=n?e.clientY:e.clientX,m=n?a.height:a.width,r=n?a.top:a.left,u=n?a.bottom:a.right,Z=!1;if(!d){if(o&&Wo<m*i){if(!yc&&(Nc===1?s>r+m*c/2:s<u-m*c/2)&&(yc=!0),yc)Z=!0;else if(Nc===1?s<r+Wo:s>u-Wo)return-Nc}else if(s>r+m*(1-i)/2&&s<u-m*(1-i)/2)return lD(t)}return Z=Z||d,Z&&(s<r+m*c/2||s>u-m*c/2)?s>r+m/2?1:-1:0}function lD(e){return Ml(xe)<Ml(e)?1:-1}function aD(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,a=t.length,n=0;a--;)n+=t.charCodeAt(a);return n.toString(36)}function nD(e){Ho.length=0;for(var t=e.getElementsByTagName("input"),a=t.length;a--;){var n=t[a];n.checked&&Ho.push(n)}}function Go(e){return setTimeout(e,0)}function qr(e){return clearTimeout(e)}vs&&at(document,"touchmove",function(e){(Ue.active||mi)&&e.cancelable&&e.preventDefault()});Ue.utils={on:at,off:et,css:De,find:SW,is:function(t,a){return!!aa(t,a,t,!1)},extend:J7,throttle:fW,closest:aa,toggleClass:rl,clone:kW,index:Ml,nextTick:Go,cancelNextTick:qr,detectDirection:jW,getChild:Ri};Ue.get=function(e){return e[Wl]};Ue.mount=function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];t[0].constructor===Array&&(t=t[0]),t.forEach(function(n){if(!n.prototype||!n.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));n.utils&&(Ue.utils=ra(ra({},Ue.utils),n.utils)),Gd.mount(n)})};Ue.create=function(e,t){return new Ue(e,t)};Ue.version=k7;var Mt=[],mc,eu,tu=!1,jm,Cm,Po,rc;function iD(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(a){var n=a.originalEvent;this.sortable.nativeDraggable?at(document,"dragover",this._handleAutoScroll):this.options.supportPointer?at(document,"pointermove",this._handleFallbackAutoScroll):n.touches?at(document,"touchmove",this._handleFallbackAutoScroll):at(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(a){var n=a.originalEvent;!this.options.dragOverBubble&&!n.rootEl&&this._handleAutoScroll(n)},drop:function(){this.sortable.nativeDraggable?et(document,"dragover",this._handleAutoScroll):(et(document,"pointermove",this._handleFallbackAutoScroll),et(document,"touchmove",this._handleFallbackAutoScroll),et(document,"mousemove",this._handleFallbackAutoScroll)),Cb(),No(),D7()},nulling:function(){Po=eu=mc=tu=rc=jm=Cm=null,Mt.length=0},_handleFallbackAutoScroll:function(a){this._handleAutoScroll(a,!0)},_handleAutoScroll:function(a,n){var i=this,c=(a.touches?a.touches[0]:a).clientX,d=(a.touches?a.touches[0]:a).clientY,o=document.elementFromPoint(c,d);if(Po=a,n||this.options.forceAutoScrollFallback||Wd||ka||pc){Jm(a,this.options,o,n);var s=Pa(o,!0);tu&&(!rc||c!==jm||d!==Cm)&&(rc&&Cb(),rc=setInterval(function(){var m=Pa(document.elementFromPoint(c,d),!0);m!==s&&(s=m,No()),Jm(a,i.options,m,n)},10),jm=c,Cm=d)}else{if(!this.options.bubbleScroll||Pa(o,!0)===ca()){No();return}Jm(a,this.options,Pa(o,!1),!1)}}},Sa(e,{pluginName:"scroll",initializeByDefault:!0})}function No(){Mt.forEach(function(e){clearInterval(e.pid)}),Mt=[]}function Cb(){clearInterval(rc)}var Jm=fW(function(e,t,a,n){if(t.scroll){var i=(e.touches?e.touches[0]:e).clientX,c=(e.touches?e.touches[0]:e).clientY,d=t.scrollSensitivity,o=t.scrollSpeed,s=ca(),m=!1,r;eu!==a&&(eu=a,No(),mc=t.scroll,r=t.scrollFn,mc===!0&&(mc=Pa(a,!0)));var u=0,Z=mc;do{var h=Z,p=zt(h),b=p.top,y=p.bottom,W=p.left,G=p.right,N=p.width,Y=p.height,L=void 0,X=void 0,M=h.scrollWidth,V=h.scrollHeight,z=De(h),I=h.scrollLeft,x=h.scrollTop;h===s?(L=N<M&&(z.overflowX==="auto"||z.overflowX==="scroll"||z.overflowX==="visible"),X=Y<V&&(z.overflowY==="auto"||z.overflowY==="scroll"||z.overflowY==="visible")):(L=N<M&&(z.overflowX==="auto"||z.overflowX==="scroll"),X=Y<V&&(z.overflowY==="auto"||z.overflowY==="scroll"));var w=L&&(Math.abs(G-i)<=d&&I+N<M)-(Math.abs(W-i)<=d&&!!I),k=X&&(Math.abs(y-c)<=d&&x+Y<V)-(Math.abs(b-c)<=d&&!!x);if(!Mt[u])for(var F=0;F<=u;F++)Mt[F]||(Mt[F]={});(Mt[u].vx!=w||Mt[u].vy!=k||Mt[u].el!==h)&&(Mt[u].el=h,Mt[u].vx=w,Mt[u].vy=k,clearInterval(Mt[u].pid),(w!=0||k!=0)&&(m=!0,Mt[u].pid=setInterval((function(){n&&this.layer===0&&Ue.active._onTouchMove(Po);var K=Mt[this.layer].vy?Mt[this.layer].vy*o:0,J=Mt[this.layer].vx?Mt[this.layer].vx*o:0;typeof r=="function"&&r.call(Ue.dragged.parentNode[Wl],J,K,e,Po,Mt[this.layer].el)!=="continue"||vW(Mt[this.layer].el,J,K)}).bind({layer:u}),24))),u++}while(t.bubbleScroll&&Z!==s&&(Z=Pa(Z,!1)));tu=m}},30),UW=function(t){var a=t.originalEvent,n=t.putSortable,i=t.dragEl,c=t.activeSortable,d=t.dispatchSortableEvent,o=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(a){var m=n||c;o();var r=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:a,u=document.elementFromPoint(r.clientX,r.clientY);s(),m&&!m.el.contains(u)&&(d("spill"),this.onSpill({dragEl:i,putSortable:n}))}};function T0(){}T0.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var a=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var i=Ri(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(a,i):this.sortable.el.appendChild(a),this.sortable.animateAll(),n&&n.animateAll()},drop:UW};Sa(T0,{pluginName:"revertOnSpill"});function I0(){}I0.prototype={onSpill:function(t){var a=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),a.parentNode&&a.parentNode.removeChild(a),n.animateAll()},drop:UW};Sa(I0,{pluginName:"removeOnSpill"});Ue.mount(new iD);Ue.mount(I0,T0);function cD(e,t){return Object.values(e).indexOf(t)}function dD(e,t,a,n){if(!e)return[];const i=Object.values(e),c=t.length-n;return[...t].map((d,o)=>o>=c?i.length:i.indexOf(d))}function oD(e){return["transition-group","TransitionGroup"].includes(e)}function Jb(e){if(!e||e.length!==1)return!1;const[{type:t}]=e;return t?oD(t.name):!1}function sD(e,t){return t?{...t.props,...t.attrs}:e}var lu=["Start","Add","Remove","Update","End"],au=["Choose","Unchoose","Sort","Filter","Clone"],mD=["Move",...lu,...au].map(e=>"on"+e),Dm=null,rD=(0,l.defineComponent)({name:"VueDraggableNext",inheritAttrs:!1,props:{options:Object,list:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:e=>e},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null},component:{type:String,default:null},modelValue:{type:Array,required:!1,default:null}},emits:["update:modelValue","move","change",...lu.map(e=>e.toLowerCase()),...au.map(e=>e.toLowerCase())],setup(e,{emit:t,slots:a,attrs:n}){const i=(0,l.ref)(!1),c=(0,l.ref)(!1),d=(0,l.ref)(0),o=(0,l.ref)(0),s=(0,l.ref)([]),m=(0,l.ref)(null),r=(0,l.ref)(null),u=(0,l.computed)(()=>e.list?e.list:e.modelValue),Z=(0,l.getCurrentInstance)();function h(){return e.component?(0,l.resolveComponent)(e.component):e.tag}function p(g){if(r.value)for(const T in g){const v=gb(T);mD.indexOf(v)===-1&&r.value.option(v,g[T])}}function b(){return Z?.proxy?.$el.children||[]}async function y(){await(0,l.nextTick)(),s.value=dD(b(),Z?.proxy?.$el.children||[],i.value,o.value)}function W(g){const T=cD(b()||[],g);return T===-1?null:{index:T,element:u.value?u.value[T]:null}}function G(g){(0,l.nextTick)(()=>t("change",g))}function N(g){if(e.list){g(e.list);return}const T=[...e.modelValue||[]];g(T),t("update:modelValue",T)}function Y(...g){N(v=>v.splice(...g))}function L(g,T){N(f=>f.splice(T,0,f.splice(g,1)[0]))}function X(g){const T=s.value,v=T.length;return g>v-1?v:T[g]}function M(){return a.default&&a.default()[0]?.component?.proxy||null}function V(g){if(!e.noTransitionOnDrag||!i.value)return;const T=b();T[g]&&(T[g].data=null);const v=M();v&&(v.children=[],v.kept=void 0)}function z(g){y(),m.value=W(g.item),m.value&&(g.item._underlying_vm_=e.clone(m.value.element),Dm=g.item)}function I(g){const T=g.item._underlying_vm_;if(T===void 0)return;wm(g.item);const v=X(g.newIndex);Y(v,0,T),y(),G({added:{element:T,newIndex:v}})}function x(g){if(zb(Z?.proxy?.$el,g.item,g.oldIndex),g.pullMode==="clone"){wm(g.clone);return}if(!m.value)return;const T=m.value.index;Y(T,1),V(T),G({removed:{element:m.value.element,oldIndex:T}})}function w(g){wm(g.item),zb(g.from,g.item,g.oldIndex);const T=m.value?.index,v=X(g.newIndex);L(T,v),G({moved:{element:m.value?.element,oldIndex:T,newIndex:v}})}function k(g,T){Object.prototype.hasOwnProperty.call(g,T)&&(g[T]+=d.value)}function F(g){return g.__draggable_component__}function K({to:g,related:T}){const v=F(g);if(!v)return{component:v};const f=v.realList,E={list:f,component:v};if(g!==T&&f&&v.getUnderlyingVm){const P=v.getUnderlyingVm(T);if(P)return Object.assign(P,E)}return E}function J(g,T){const v=[...T.to.children].filter(P=>P.style.display!=="none");if(v.length===0)return 0;const f=v.indexOf(T.related),E=g.component.getVmIndex(f);return v.indexOf(Dm)!==-1||!T.willInsertAfter?E:E+1}const D=()=>{const g={};lu.forEach(E=>{g["on"+E]=oe(E)}),au.forEach(E=>{g["on"+E]=le.bind(null,E)});const T=Object.keys(n).reduce((E,P)=>(E[gb(P)]=n[P],E),{}),v=Object.assign({},T,g,{onMove:(E,P)=>q(E,P)});"draggable"in v||(v.draggable=">*");const f=Z?.proxy?.$el.nodeType===1?Z.proxy.$el:Z?.proxy?.$el.parentElement||null;f&&(r.value=new Ue(f,v),f.__draggable_component__=Z?.proxy,y())};function le(g,T){(0,l.nextTick)(()=>t(g.toLowerCase(),T))}function oe(g){return T=>{if(u.value!==null){const v=_["onDrag"+g];v&&v(T)}le(g,T)}}function q(g,T){const v=e.move;if(!v||!u.value)return!0;const f=K(g),E=m.value,P=J(f,g);return E&&Object.assign(E,{futureIndex:P}),v(Object.assign({},g,{relatedContext:f,draggedContext:E}),T)}function ae(){y(),Dm=null}const _={onDragStart:z,onDragAdd:I,onDragRemove:x,onDragUpdate:w,onDragMove:q,onDragEnd:ae};return(0,l.onMounted)(()=>{D()}),e.list!==null&&e.modelValue!==null&&z7.error("list props are mutually exclusive! Please set one."),{getTag:h,realList:u,visibleIndexes:s,noneFunctionalComponentMode:c,headerOffset:d,footerOffset:o,transitionMode:i,computeIndexes:y,updateOptions:p,getChildrenNodes:b,getUnderlyingVm:W,emitChanges:G,alterList:N,spliceList:Y,updatePosition:L,getVmIndex:X,getComponent:M,resetTransitionData:V,onDragStart:z,onDragAdd:I,onDragRemove:x,onDragUpdate:w,updateProperty:k,onDragMove:q,onDragEnd:ae,mounted:D,context:m,sortableInstance:r,getRelatedContextFromMoveEvent:K,getTargetedComponent:F,computeFutureIndex:J}},render(){const e=this.getTag(),t=sD(this.$attrs,this.componentData);if(typeof e=="string"){const n=this.$slots.default&&typeof this.$slots.default=="function"?this.$slots.default():null;return n?(this.transitionMode=Jb(n),(0,l.h)(e,t,n)):(0,l.h)(e,t,[])}const a=this.$slots.default?{default:this.$slots.default}:{};return this.$slots.default&&(this.transitionMode=Jb((typeof this.$slots.default=="function"?this.$slots.default():null)||[])),(0,l.h)(e,t,a)}}),uD=["title"],ZD={class:"table-side-scroll"},bD={class:"table-header"},hD={class:"table-reorder"},pD={class:"table-action"},WD=(0,l.defineComponent)({__name:"TableField",props:{description:{default:""},meta:{},fieldname:{},bagelApp:{default:void 0},modelValue:{},frame:{type:Boolean},outline:{type:Boolean},minWidth:{},maxWidth:{},labelColor:{},labelActiveColor:{}},emits:["update:modelValue"],setup(e,{emit:t}){const a=e,n=t;let i,c;const d=(0,l.ref)(a.modelValue),o=a.meta.doc_meta.fields.find(b=>b.fieldname===a.fieldname),s=a.meta.links.find(b=>b.id===o?.options);function m(b,y,W){const G=[...a.modelValue];G[y][W]=b,n("update:modelValue",G)}function r(){const b=[...a.modelValue],y={idx:b.length};s?.fields.forEach(W=>{W.default&&(W.fieldtype==="Check"?y[W.fieldname]=Number.parseInt(W.default):y[W.fieldname]=W.default)}),b.push(y),n("update:modelValue",b)}function u(b){const y=[...a.modelValue];y.splice(b,1),n("update:modelValue",y)}function Z(){d.value.forEach((b,y)=>{b.idx=y+1}),n("update:modelValue",d.value)}const{shellClass:h,shellStyle:p}=Lt(a);return(0,l.onMounted)(()=>{i=a.bagelApp||c}),(b,y)=>{const W=(0,l.resolveComponent)("BagelInput");return(0,l.openBlock)(),(0,l.createElementBlock)("div",{class:"table-field-wrap",title:e.description},[(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)(["bagel-input",(0,l.unref)(h)]),style:(0,l.normalizeStyle)((0,l.unref)(p))},[(0,l.createElementVNode)("label",null,(0,l.toDisplayString)((0,l.unref)(o)?.label),1)],6),(0,l.createElementVNode)("div",ZD,[(0,l.createElementVNode)("div",bD,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)((0,l.unref)(s)?.fields,G=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:`${G.fieldname}header`,class:(0,l.normalizeClass)(["header-col",(0,l.unref)(Gu)(G.fieldtype,"pascal")])},(0,l.toDisplayString)(G.label),3))),128))]),(0,l.createVNode)((0,l.unref)(rD),{modelValue:d.value,"onUpdate:modelValue":y[0]||(y[0]=G=>d.value=G),animation:"150",handle:".table-reorder",group:"mainGroup",easing:"cubic-bezier(1, 0, 0, 1)","ghost-class":"ghost",onEnd:Z},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(l.TransitionGroup,null,{default:(0,l.withCtx)(()=>[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e.modelValue,(G,N)=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:G.id,class:"flex table-row"},[(0,l.createElementVNode)("div",hD,[(0,l.createVNode)((0,l.unref)(Te),{icon:"more_vert"})]),((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)((0,l.unref)(s)?.fields,Y=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:`${Y.fieldname}${G.id}`,class:(0,l.normalizeClass)(["table-cell",(0,l.unref)(Gu)(Y.fieldtype,"pascal")])},[(0,l.createVNode)(W,{"no-label":"","field-meta":Y,"bagel-app":(0,l.unref)(i),"model-value":G[Y.fieldname],"onUpdate:modelValue":L=>m(L,N,Y.fieldname)},null,8,["field-meta","bagel-app","model-value","onUpdate:modelValue"])],2))),128)),(0,l.createElementVNode)("div",pD,[(0,l.createVNode)((0,l.unref)(Te),{icon:"delete",onClick:Y=>u(N)},null,8,["onClick"])])]))),128))]),_:1})]),_:1},8,["modelValue"])]),(0,l.createVNode)((0,l.unref)(ce),{thin:"",flat:"",icon:"add",color:"light",onClick:r},{default:(0,l.withCtx)(()=>[...y[1]||(y[1]=[(0,l.createTextVNode)(" New ",-1)])]),_:1})],8,uD)}}}),GD=Ie(WD,[["__scopeId","data-v-b9d0ba27"]]),OW={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[2-467])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28)|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[024-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|8)\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:2[7-9]|3[3-7]|5[12]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-7]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]|50"]],["(\\d{8})","$1",["[5-7]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|5[07]|[67]3)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","8776\\d{4}|(?:[27]\\d|61)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-8]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|3[13])"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,0,[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|3[01]|5[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","(?:400|[5-9]\\d\\d)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[4-9]"]]]],ET:["251","00","(?:11|[2-57-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,"0|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:694\\d|7093)\\d{5}|(?:59|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|80[6-9]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0|180020","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","[235]\\d{8}|800\\d{5,6}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2358]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[48]\\d{8}|[2-9]\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|4(?:[0-35]|4[16-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[48]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|80[6-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:59(?:0(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","[2-589]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1(?:05|[2-9]))","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0|180020","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-6]|80[2-46]","11|2[02]|33|4[04]|79[1-6]|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31)|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|8(?:16|2[014]|3[126]|6[136]|7[78]|83)(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|3[129]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7(?:[23569]|8[0-57-9])|8[1-6])|7(?:1(?:[013-8]|9[6-9])|3(?:17|2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["16|[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[06]0"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|180020","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[47]"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","8\\d{13}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["3"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["20"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["20"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{4})(\\d{5})","$1-$2",["892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],"0",0,0,0,0,"[5-8]"],MC:["377","00","(?:[3489]|[67]\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[67]"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["11|2[16]"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","7091\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-37-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85[02-46-9]"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["30|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","30|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[78]\\d{8}|[2-9]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["3[289]|4[246-8]|61|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["2631[0-6]\\d{4}|26(?:2\\d|30|88)\\d{5}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"[3489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","(?:[15]\\d|800|92)\\d{7}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[0-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[013]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|9[2-9]"]],["(\\d)(\\d{7})","$1 $2",["[267]|904"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[346-9]"]]],"0"],SR:["597","00","(?:[2-5]|[6-9]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-9]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[25-7]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[3689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","(?:[0-57-9]\\d|66)\\d{7}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["\\d"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","[1-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["826"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["83"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["82"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[25]0|37|49|8[09]"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-478])|7[1-9]","[23568]|4(?:0[2-48]|[1-478])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024","20240"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["20[0-35-7]|4(?:6[45]|[7-9])|[7-9]","20(?:[0135-7]|2[5-9])|4(?:6[45]|[7-9])|[7-9]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[2-4]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:472[2-47-9]|983[2-57-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[02469]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-2478]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{6,7}|7\\d{6}",[7,8,9,10],[["(\\d{4})(\\d{4,6})","$1 $2",["1(?:2[02]|[89])"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[26]|6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","(?:639\\d|7093)\\d{5}|(?:26|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["26(?:89\\d|9(?:0[0-467]|15|5[0-4]|6\\d|[78]0))\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","(?:13|8\\d{4})\\d{5}|[235-8]\\d{8}|[23568]\\d{6}",[7,9,10],[["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|29|58)|67[0-46-9]|(?:55|68)[0-69]"],"0$1"],["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|[27]|48)|37|675|(?:55|68)[78]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["548"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[256]|39|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["3"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|5[12]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|5(?:0\\d{3}|2[0-2]))\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function EW(e,t){var a=Array.prototype.slice.call(t);return a.push(OW),e.apply(this,a)}function Db(e,t){e=e.split("-"),t=t.split("-");for(var a=e[0].split("."),n=t[0].split("."),i=0;i<3;i++){var c=Number(a[i]),d=Number(n[i]);if(c>d)return 1;if(d>c)return-1;if(!isNaN(c)&&isNaN(d))return 1;if(isNaN(c)&&!isNaN(d))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var ND={}.constructor;function wn(e){return e!=null&&e.constructor===ND}var yD=/^\d+$/;function YD(e){return yD.test(e)}function Si(e){"@babel/helpers - typeof";return Si=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Si(e)}function ks(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ub(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,LD(n.key),n)}}function Fs(e,t,a){return t&&Ub(e.prototype,t),a&&Ub(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function LD(e){var t=XD(e,"string");return Si(t)=="symbol"?t:t+""}function XD(e,t){if(Si(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,t||"default");if(Si(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var MD="1.2.0",VD="1.7.35",Ob=" ext. ",Ut=(function(){function e(t){ks(this,e),BW(t),this.metadata=t,HW.call(this,t)}return Fs(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(a){return a!=="001"})}},{key:"getCountryMetadata",value:function(a){return this.metadata.countries[a]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(a){return this.getCountryMetadata(a)!==void 0}},{key:"hasCallingCode",value:function(a){if(this.getCountryCodesForCallingCode(a))return!0;if(this.nonGeographic()){if(this.nonGeographic()[a])return!0}else{var n=this.countryCallingCodes()[a];if(n&&n.length===1&&n[0]==="001")return!0}}},{key:"isNonGeographicCallingCode",value:function(a){return this.nonGeographic()?!!this.nonGeographic()[a]:!this.getCountryCodesForCallingCode(a)}},{key:"country",value:function(a){return this.selectNumberingPlan(a)}},{key:"selectNumberingPlan",value:function(a,n){var i,c;if(a&&(YD(a)?c=a:i=a),n&&(c=n),i&&i!=="001"){var d=this.getCountryMetadata(i);if(!d)throw new Error("Unknown country: ".concat(i));this.numberingPlan=new Eb(d,this)}else if(c){if(!this.hasCallingCode(c))throw new Error("Unknown calling code: ".concat(c));this.numberingPlan=new Eb(this.getNumberingPlanMetadata(c),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(a){var n=this.countryCallingCodes()[a];if(n)return n.length===1&&n[0].length===3?void 0:n}},{key:"getCountryCodeForCallingCode",value:function(a){var n=this.getCountryCodesForCallingCode(a);if(n)return n[0]}},{key:"getNumberingPlanMetadata",value:function(a){var n=this.getCountryCodeForCallingCode(a);if(n)return this.getCountryMetadata(n);if(this.nonGeographic()){var i=this.nonGeographic()[a];if(i)return i}else{var c=this.countryCallingCodes()[a];if(c&&c.length===1&&c[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(a){return this.numberingPlan.type(a)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(a){return this.selectNumberingPlan(a)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}])})(),Eb=(function(){function e(t,a){ks(this,e),this.globalMetadataObject=a,this.metadata=t,HW.call(this,a.metadata)}return Fs(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"_getDefaultCountryMetadataForThisCallingCode",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this._getDefaultCountryMetadataForThisCallingCode()}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(a){return a[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var a=this;return(this._getFormats(this.metadata)||this._getFormats(this._getDefaultCountryMetadataForThisCallingCode())||[]).map(function(n){return new TD(n,a)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(a){return a[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:"type",value:function(a){if(this.hasTypes()&&Bb(this.types(),a))return new xD(Bb(this.types(),a),this)}},{key:"ext",value:function(){return this.v1||this.v2?Ob:this.metadata[13]||Ob}}])})(),TD=(function(){function e(t,a){ks(this,e),this._format=t,this.metadata=a}return Fs(e,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!!(this.nationalPrefixFormattingRule()&&!ID.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])})(),ID=/^\(?\$1\)?$/,xD=(function(){function e(t,a){ks(this,e),this.type=t,this.metadata=a}return Fs(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}])})();function Bb(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function BW(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!wn(e)||!wn(e.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(wn(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+gD(e)+": "+e,"."))}var gD=function(t){return Si(t)};function KW(e,t){var a=new Ut(t);if(a.hasCountry(e))return a.selectNumberingPlan(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function zD(e,t){return t.countries.hasOwnProperty(e)}function HW(e){var t=e.version;typeof t=="number"?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?Db(t,MD)===-1?this.v2=!0:Db(t,VD)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function wD(e,t){var a=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a)return(a=a.call(e)).next.bind(a);if(Array.isArray(e)||(a=RD(e))||t&&e&&typeof e.length=="number"){a&&(e=a);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
544
517
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function RD(e,t){if(e){if(typeof e=="string")return Kb(e,t);var a={}.toString.call(e).slice(8,-1);return a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set"?Array.from(e):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Kb(e,t):void 0}}function Kb(e,t){(t==null||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function SD(e,t){for(var a=e.slice(),n=wD(t),i;!(i=n()).done;){var c=i.value;e.indexOf(c)<0&&a.push(c)}return a.sort(function(d,o){return d-o})}function Nd(e,t,a){return PW(e,void 0,t,a)}function PW(e,t,a,n){a&&(n=new Ut(n.metadata),n.selectNumberingPlan(a));var i=n.type(t),c=i&&i.possibleLengths()||n.possibleLengths();if(!c)return"IS_POSSIBLE";if(t==="FIXED_LINE_OR_MOBILE"){if(!n.type("FIXED_LINE"))return PW(e,"MOBILE",a,n);var d=n.type("MOBILE");d&&(c=SD(c,d.possibleLengths()))}else if(t&&!i)return"INVALID_LENGTH";var o=e.length,s=c[0];return s===o?"IS_POSSIBLE":s>o?"TOO_SHORT":c[c.length-1]<o?"TOO_LONG":c.indexOf(o,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function fD(e,t,a){t===void 0&&(t={});var n=new Ut(a);if(t.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.country||e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!n.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));n.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}}if(n.possibleLengths())return QW(e.phone||e.nationalNumber,n);if(e.countryCallingCode&&n.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function QW(e,t){return Nd(e,void 0,t)==="IS_POSSIBLE"}function fa(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function vD(e,t){var a=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a)return(a=a.call(e)).next.bind(a);if(Array.isArray(e)||(a=kD(e))||t&&e&&typeof e.length=="number"){a&&(e=a);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
545
518
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kD(e,t){if(e){if(typeof e=="string")return Hb(e,t);var a={}.toString.call(e).slice(8,-1);return a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set"?Array.from(e):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Hb(e,t):void 0}}function Hb(e,t){(t==null||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var FD=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function x0(e,t,a){if(t=t||{},!(!e.country&&!e.countryCallingCode)){var n=new Ut(a);n.selectNumberingPlan(e.country||e.countryCallingCode);var i=t.v2?e.nationalNumber:e.phone;if(fa(i,n.nationalNumberPattern())){if(Um(i,"FIXED_LINE",n))return n.type("MOBILE")&&n.type("MOBILE").pattern()===""||!n.type("MOBILE")||Um(i,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var c=vD(FD),d;!(d=c()).done;){var o=d.value;if(Um(i,o,n))return o}}}}function Um(e,t,a){var n=a.type(t);return!n||!n.pattern()||n.possibleLengths()&&n.possibleLengths().indexOf(e.length)<0?!1:fa(e,n.pattern())}function jD(e,t,a){t=t||{};var n=new Ut(a);return n.selectNumberingPlan(e.country||e.countryCallingCode),n.hasTypes()?x0(e,t,n.metadata)!==void 0:fa(t.v2?e.nationalNumber:e.phone,n.nationalNumberPattern())}var CD=/^[A-Z]{2}$/;function JD(e){return CD.test(e)}var DD=!1;function UD(e,t){var a,n,i=new Ut(t);return JD(e)?(a=e,i.selectNumberingPlan(a),n=i.countryCallingCode()):(n=e,DD&&i.isNonGeographicCallingCode(n)&&(a="001")),{country:a,callingCode:n}}function OD(e,t,a){var n=new Ut(a).getCountryCodesForCallingCode(e);return n?n.filter(function(i){return ED(t,i,a)}):[]}function ED(e,t,a){var n=new Ut(a);return n.selectNumberingPlan(t),n.numberingPlan.possibleLengths().indexOf(e.length)>=0}var el="0-90-9٠-٩۰-۹",BD="-‐-―−ー-",KD="//",HD="..",PD=" ",QD="()()[]\\[\\]",AD="~⁓∼~",Pl="".concat(BD).concat(KD).concat(HD).concat(PD).concat(QD).concat(AD),js="++",_D=new RegExp("(["+el+"])");function AW(e,t,a,n){if(t){var i=new Ut(n);i.selectNumberingPlan(t||a);var c=new RegExp(i.IDDPrefix());if(e.search(c)===0){e=e.slice(e.match(c)[0].length);var d=e.match(_D);if(!(d&&d[1]!=null&&d[1].length>0&&d[1]==="0"))return e}}}function nu(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var a=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),n=a.exec(e);if(n){var i,c,d=n.length-1,o=d>0&&n[d];if(t.nationalPrefixTransformRule()&&o)i=e.replace(a,t.nationalPrefixTransformRule()),d>1&&(c=n[1]);else{var s=n[0];i=e.slice(s.length),o&&(c=n[1])}var m;if(o){var r=e.indexOf(n[1]);e.slice(0,r)===t.numberingPlan.nationalPrefix()&&(m=t.numberingPlan.nationalPrefix())}else m=n[0];return{nationalNumber:i,nationalPrefix:m,carrierCode:c}}}return{nationalNumber:e}}function $D(e,t){var a=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a)return(a=a.call(e)).next.bind(a);if(Array.isArray(e)||(a=qD(e))||t&&e&&typeof e.length=="number"){a&&(e=a);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
546
519
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qD(e,t){if(e){if(typeof e=="string")return Pb(e,t);var a={}.toString.call(e).slice(8,-1);return a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set"?Array.from(e):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Pb(e,t):void 0}}function Pb(e,t){(t==null||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function _W(e,t,a){for(var n=new Ut(a),i=$D(t),c;!(c=i()).done;){var d=c.value;if(n.selectNumberingPlan(d),n.leadingDigits()){if(e&&e.search(n.leadingDigits())===0)return d}else if(x0({phone:e,country:d},void 0,n.metadata))return d}}var eU=!1;function g0(e,t){var a=t.nationalNumber,n=t.metadata;if(eU&&n.isNonGeographicCallingCode(e))return"001";var i=n.getCountryCodesForCallingCode(e);if(i)return i.length===1?i[0]:_W(a,i,n.metadata)}function iu(e,t,a){var n=nu(e,a),i=n.carrierCode,c=n.nationalNumber;if(c!==e){if(!tU(e,c,a))return{nationalNumber:e};if(a.numberingPlan.possibleLengths()&&(t||(t=g0(a.numberingPlan.callingCode(),{nationalNumber:c,metadata:a})),!lU(c,t,a)))return{nationalNumber:e}}return{nationalNumber:c,carrierCode:i}}function tU(e,t,a){return!(fa(e,a.nationalNumberPattern())&&!fa(t,a.nationalNumberPattern()))}function lU(e,t,a){switch(Nd(e,t,a)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function $W(e,t,a,n,i){if(!(t||a||n))return{number:e};var c=t||a?KW(t||a,i):n;if(e.indexOf(c)===0){var d=new Ut(i);d.selectNumberingPlan(t||a||n);var o=e.slice(c.length),s=iu(o,void 0,d).nationalNumber,m=iu(e,void 0,d).nationalNumber;if(!fa(m,d.nationalNumberPattern())&&fa(s,d.nationalNumberPattern())||Nd(m,void 0,d)==="TOO_LONG")return{countryCallingCode:c,number:o}}return{number:e}}function z0(e,t,a,n,i){if(!e)return{};var c;if(e[0]!=="+"){var d=AW(e,t||a,n,i);if(d&&d!==e)c=!0,e="+"+d;else{if(t||a||n){var o=$W(e,t,a,n,i),s=o.countryCallingCode,m=o.number;if(s)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:s,number:m}}return{number:e}}}if(e[1]==="0")return{};for(var r=new Ut(i),u=2;u-1<=3&&u<=e.length;){var Z=e.slice(1,u);if(r.hasCallingCode(Z))return r.selectNumberingPlan(Z),{countryCallingCodeSource:c?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:Z,number:e.slice(u)};u++}return{}}function qW(e){return e.replace(new RegExp("[".concat(Pl,"]+"),"g")," ").trim()}var eG=/(\$\d)/;function tG(e,t,a){var n=a.useInternationalFormat,i=a.withNationalPrefix;a.carrierCode,a.metadata;var c=e.replace(new RegExp(t.pattern()),n?t.internationalFormat():i&&t.nationalPrefixFormattingRule()?t.format().replace(eG,t.nationalPrefixFormattingRule()):t.format());return n?qW(c):c}var aU=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function nU(e,t,a){var n=new Ut(a);if(n.selectNumberingPlan(e||t),n.defaultIDDPrefix())return n.defaultIDDPrefix();if(aU.test(n.IDDPrefix()))return n.IDDPrefix()}var iU=";ext=",ai=function(t){return"([".concat(el,"]{1,").concat(t,"})")};function lG(e){var t="20",a="15",n="9",i="6",c="[ \\t,]*",d="[:\\..]?[ \\t,-]*",o="#?",s="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",m="(?:[xx##~~]|int|int)",r="[- ]+",u="[ \\t]*",Z="(?:,{2}|;)",h=iU+ai(t),p=c+s+d+ai(t)+o,b=c+m+d+ai(n)+o,y=r+ai(i)+"#",W=u+Z+d+ai(a)+o,G=u+"(?:,)+"+d+ai(n)+o;return h+"|"+p+"|"+b+"|"+y+"|"+W+"|"+G}var cU="["+el+"]{2}",dU="["+js+"]{0,1}(?:["+Pl+"]*["+el+"]){3,}["+Pl+el+"]*",oU=new RegExp("^["+js+"]{0,1}(?:["+Pl+"]*["+el+"]){1,2}$","i"),sU=dU+"(?:"+lG()+")?",mU=new RegExp("^"+cU+"$|^"+sU+"$","i");function rU(e){return e.length>=2&&mU.test(e)}function uU(e){return oU.test(e)}function ZU(e){var t=e.number,a=e.ext;if(!t)return"";if(t[0]!=="+")throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(t).concat(a?";ext="+a:"")}var Qb={formatExtension:function(t,a,n){return"".concat(t).concat(n.ext()).concat(a)}};function bU(e,t,a,n){a?a=WU({},Qb,a):a=Qb;var i=new Ut(n);if(e.country&&e.country!=="001"){if(!i.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));i.selectNumberingPlan(e.country)}else if(e.countryCallingCode)i.selectNumberingPlan(e.countryCallingCode);else return e.phone||"";var c=i.countryCallingCode(),d=a.v2?e.nationalNumber:e.phone,o;switch(t){case"NATIONAL":return d?(o=Qo(d,e.carrierCode,"NATIONAL",i,a),Om(o,e.ext,i,a.formatExtension)):"";case"INTERNATIONAL":return d?(o=Qo(d,null,"INTERNATIONAL",i,a),o="+".concat(c," ").concat(o),Om(o,e.ext,i,a.formatExtension)):"+".concat(c);case"E.164":return"+".concat(c).concat(d);case"RFC3966":return ZU({number:"+".concat(c).concat(d),ext:e.ext});case"IDD":if(!a.fromCountry)return;var s=pU(d,e.carrierCode,c,a.fromCountry,i);return s?Om(s,e.ext,i,a.formatExtension):void 0;default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function Qo(e,t,a,n,i){var c=hU(n.formats(),e);return c?tG(e,c,{useInternationalFormat:a==="INTERNATIONAL",withNationalPrefix:!(c.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&i&&i.nationalPrefix===!1),carrierCode:t,metadata:n}):e}function hU(e,t){return GU(e,function(a){if(a.leadingDigitsPatterns().length>0){var n=a.leadingDigitsPatterns()[a.leadingDigitsPatterns().length-1];if(t.search(n)!==0)return!1}return fa(t,a.pattern())})}function Om(e,t,a,n){return t?n(e,t,a):e}function pU(e,t,a,n,i){if(KW(n,i.metadata)===a){var c=Qo(e,t,"NATIONAL",i);return a==="1"?a+" "+c:c}var d=nU(n,void 0,i.metadata);if(d)return"".concat(d," ").concat(a," ").concat(Qo(e,null,"INTERNATIONAL",i))}function WU(){for(var e=1,t=arguments.length,a=new Array(t),n=0;n<t;n++)a[n]=arguments[n];for(;e<a.length;){if(a[e])for(var i in a[e])a[0][i]=a[e][i];e++}return a[0]}function GU(e,t){for(var a=0;a<e.length;){if(t(e[a]))return e[a];a++}}function jc(e){"@babel/helpers - typeof";return jc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jc(e)}function Ab(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function _b(e){for(var t=1;t<arguments.length;t++){var a=arguments[t]!=null?arguments[t]:{};t%2?Ab(Object(a),!0).forEach(function(n){NU(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ab(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function NU(e,t,a){return(t=aG(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function yU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $b(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,aG(n.key),n)}}function YU(e,t,a){return t&&$b(e.prototype,t),a&&$b(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function aG(e){var t=LU(e,"string");return jc(t)=="symbol"?t:t+""}function LU(e,t){if(jc(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,t||"default");if(jc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var w0=(function(){function e(t,a,n){if(yU(this,e),!t)throw new TypeError("First argument is required");if(typeof t!="string")throw new TypeError("First argument must be a string");if(t[0]==="+"&&!a)throw new TypeError("`metadata` argument not passed");if(wn(a)&&wn(a.countries)){n=a;var i=t;if(!XU.test(i))throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var c=z0(i,void 0,void 0,void 0,n),d=c.countryCallingCode;if(a=c.number,t=d,!a)throw new Error("Invalid `number` argument passed: too short")}if(!a)throw new TypeError("`nationalNumber` argument is required");if(typeof a!="string")throw new TypeError("`nationalNumber` argument must be a string");BW(n);var o=UD(t,n),s=o.country,m=o.callingCode;this.country=s,this.countryCallingCode=m,this.nationalNumber=a,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return n}}return YU(e,[{key:"setExt",value:function(a){this.ext=a}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:OD(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return fD(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return jD(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){return new Ut(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(a){return this.number===a.number&&this.ext===a.ext}},{key:"getType",value:function(){return x0(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(a,n){return bU(this,a,n?_b(_b({},n),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(a){return this.format("NATIONAL",a)}},{key:"formatInternational",value:function(a){return this.format("INTERNATIONAL",a)}},{key:"getURI",value:function(a){return this.format("RFC3966",a)}}])})(),XU=/^\+\d+$/;function fi(e){"@babel/helpers - typeof";return fi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fi(e)}function qb(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,VU(n.key),n)}}function MU(e,t,a){return t&&qb(e.prototype,t),a&&qb(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function VU(e){var t=TU(e,"string");return fi(t)=="symbol"?t:t+""}function TU(e,t){if(fi(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,t||"default");if(fi(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function IU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xU(e,t,a){return t=Jc(t),gU(e,R0()?Reflect.construct(t,a||[],Jc(e).constructor):t.apply(e,a))}function gU(e,t){if(t&&(fi(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return zU(e)}function zU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Cc(e,t)}function cu(e){var t=typeof Map=="function"?new Map:void 0;return cu=function(n){if(n===null||!SU(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return RU(n,arguments,Jc(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Cc(i,n)},cu(e)}function RU(e,t,a){if(R0())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var i=new(e.bind.apply(e,n));return a&&Cc(i,a.prototype),i}function R0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(R0=function(){return!!e})()}function SU(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function Cc(e,t){return Cc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,n){return a.__proto__=n,a},Cc(e,t)}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Jc(e)}var ya=(function(e){function t(a){var n;return IU(this,t),n=xU(this,t,[a]),Object.setPrototypeOf(n,t.prototype),n.name=n.constructor.name,n}return wU(t,e),MU(t)})(cu(Error)),e1=new RegExp("(?:"+lG()+")$","i");function fU(e){var t=e.search(e1);if(t<0)return{};for(var a=e.slice(0,t),n=e.match(e1),i=1;i<n.length;){if(n[i])return{number:a,ext:n[i]};i++}}function vU(e,t){var a=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a)return(a=a.call(e)).next.bind(a);if(Array.isArray(e)||(a=kU(e))||t&&e&&typeof e.length=="number"){a&&(e=a);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|