import { router, Link, usePage, createInertiaApp, Head } from "@inertiajs/vue3";
import createServer from "@inertiajs/vue3/server";
import { renderToString } from "@vue/server-renderer";
import Notifications$1, { notify } from "notiwind";
import { useSSRContext, mergeProps, withCtx, renderSlot, unref, createVNode, computed, ref, watch, nextTick, onMounted, onUnmounted, resolveComponent, openBlock, createBlock, reactive, createTextVNode, toDisplayString, withKeys, useSlots, createCommentVNode, onBeforeUnmount, withDirectives, vModelRadio, Fragment, renderList, createSSRApp, h as h$1 } from "vue";
import { createI18n, useI18n } from "vue-i18n";
import { ssrRenderAttrs, ssrRenderStyle, ssrRenderSlot, ssrRenderComponent, ssrRenderAttr, ssrLooseContain, ssrGetDynamicModelProps, ssrRenderTeleport, ssrRenderClass, ssrInterpolate, ssrRenderList, ssrGetDirectiveProps, ssrIncludeBooleanAttr, ssrLooseEqual } from "vue/server-renderer";
import "dayjs";
import debounce from "lodash/debounce.js";
import { VueDatePicker } from "@vuepic/vue-datepicker";
import isEqual from "lodash/isEqual.js";
import axios$2 from "axios";
import JsBarcode from "jsbarcode";
import QRCode from "qrcode";
const account = "account";
const Account = "Account";
const Accounting = "Accounting";
const Accounts = "Accounts";
const Action = "Action";
const Actions = "Actions";
const Active = "Active";
const Activities = "Activities";
const Add = "Add";
const add = "add";
const Addition = "Addition";
const Address = "Address";
const Addresses = "Addresses";
const ADJUSTMENT = "ADJUSTMENT";
const Adjustment = "Adjustment";
const adjustment = "adjustment";
const Adjustments = "Adjustments";
const Adv = "Adv";
const Advance = "Advance";
const After = "After";
const All = "All";
const Allowed = "Allowed";
const Amount = "Amount";
const and = "and";
const Annually = "Annually";
const Application = "Application";
const Apply = "Apply";
const Asset = "Asset";
const asset = "asset";
const Assets = "Assets";
const attachment = "attachment";
const Attachments = "Attachments";
const Attn = "Attn";
const Availabilty = "Availabilty";
const Available = "Available";
const Bad = "Bad";
const Balance = "Balance";
const barcode = "barcode";
const Batch = "Batch";
const Before = "Before";
const Bill = "Bill";
const Billing = "Billing";
const Body = "Body";
const Bookings = "Bookings";
const brand = "brand";
const Brand = "Brand";
const Brands = "Brands";
const BXGY = "BXGY";
const By = "By";
const Calendar = "Calendar";
const Cancel = "Cancel";
const Captcha = "Captcha";
const Cart = "Cart";
const Cash = "Cash";
const Categories = "Categories";
const category = "category";
const Category = "Category";
const Causer = "Causer";
const Chanelog = "Chanelog";
const changed = "changed";
const Changelog = "Changelog";
const Charges = "Charges";
const Checkbox = "Checkbox";
const Checkout = "Checkout";
const City = "City";
const Close = "Close";
const Code = "Code";
const Color = "Color";
const color = "color";
const Combo = "Combo";
const Comment = "Comment";
const Company = "Company";
const Complete = "Complete";
const complete = "complete";
const Compound = "Compound";
const Condition = "Condition";
const Confirm = "Confirm";
const Contact = "Contact";
const Cost = "Cost";
const Country = "Country";
const Coupon = "Coupon";
const Coupons = "Coupons";
const Create = "Create";
const Created = "Created";
const created = "created";
const Credit = "Credit";
const CTA = "CTA";
const Currencies = "Currencies";
const Currency = "Currency";
const Custom = "Custom";
const Customer = "Customer";
const Customers = "Customers";
const Customize = "Customize";
const CVV = "CVV";
const Dark = "Dark";
const Dashboard = "Dashboard";
const Data = "Data";
const Database = "Database";
const Debit = "Debit";
const Default = "Default";
const Delete = "Delete";
const Deleted = "Deleted";
const deleted = "deleted";
const delete_text = "delete_text";
const Deliveries = "Deliveries";
const Delivery = "Delivery";
const delivery = "delivery";
const Description = "Description";
const Design = "Design";
const Details = "Details";
const Difference = "Difference";
const Digital = "Digital";
const Dimensions = "Dimensions";
const Disable = "Disable";
const Disabled = "Disabled";
const Discount = "Discount";
const Divide = "Divide";
const Docs = "Docs";
const Download = "Download";
const Due = "Due";
const Edit = "Edit";
const edit = "edit";
const email = "email";
const Email = "Email";
const Enable = "Enable";
const Enabled = "Enabled";
const Encryption = "Encryption";
const Event = "Event";
const Exclusive = "Exclusive";
const Expanse = "Expanse";
const Expected = "Expected";
const expense = "expense";
const Expense = "Expense";
const Expenses = "Expenses";
const Expiry = "Expiry";
const Facebook = "Facebook";
const Failed = "Failed";
const failed = "failed";
const Feature = "Feature";
const Featured = "Featured";
const Features = "Features";
const Fees = "Fees";
const File = "File";
const Filters = "Filters";
const Finalize = "Finalize";
const Fixed = "Fixed";
const For = "For";
const Forbidden = "Forbidden";
const Form = "Form";
const Formula = "Formula";
const Four = "Four";
const Fraction = "Fraction";
const Free = "Free";
const From = "From";
const Full = "Full";
const General = "General";
const Generate = "Generate";
const Get = "Get";
const GiftCard = "GiftCard";
const Good = "Good";
const Great = "Great";
const Guide = "Guide";
const Hall = "Hall";
const halls = "halls";
const Heading = "Heading";
const Hello = "Hello";
const Hide = "Hide";
const Hold = "Hold";
const Home = "Home";
const Host = "Host";
const Icon = "Icon";
const ID = "ID";
const Id = "Id";
const Image = "Image";
const Impersonate = "Impersonate";
const Impersonated = "Impersonated";
const Impersonation = "Impersonation";
const Import = "Import";
const Inactive = "Inactive";
const Included = "Included";
const Inclusive = "Inclusive";
const Income = "Income";
const income = "income";
const Incomes = "Incomes";
const Information = "Information";
const Ingredient = "Ingredient";
const Initiate = "Initiate";
const Instagram = "Instagram";
const Invoice = "Invoice";
const item = "item";
const Item = "Item";
const items = "items";
const Items = "Items";
const Keywords = "Keywords";
const Labels = "Labels";
const Language = "Language";
const Leave = "Leave";
const Light = "Light";
const LinkedIn = "LinkedIn";
const Load = "Load";
const Local = "Local";
const Login = "Login";
const Logo = "Logo";
const Mail = "Mail";
const Main = "Main";
const Maintenance = "Maintenance";
const Manage = "Manage";
const Maximum = "Maximum";
const Menu = "Menu";
const Message = "Message";
const Method = "Method";
const Minimal = "Minimal";
const Minimum = "Minimum";
const Minus = "Minus";
const Models = "Models";
const Modern = "Modern";
const Month = "Month";
const Monthly = "Monthly";
const more = "more";
const Multiple = "Multiple";
const Name = "Name";
const New = "New";
const NewLine = "NewLine";
const Next = "Next";
const No = "No";
const Nofollow = "Nofollow";
const Noindex = "Noindex";
const None = "None";
const Note = "Note";
const Notes = "Notes";
const Notifications = "Notifications";
const Offline = "Offline";
const Okay = "Okay";
const One = "One";
const Open = "Open";
const Operator = "Operator";
const Option = "Option";
const optional = "optional";
const Options = "Options";
const OR = "OR";
const or = "or";
const Order = "Order";
const Orders = "Orders";
const Others = "Others";
const Outstanding = "Outstanding";
const Overdue = "Overdue";
const Overview = "Overview";
const Page = "Page";
const Pages = "Pages";
const Paid = "Paid";
const Partial = "Partial";
const password = "password";
const Password = "Password";
const Payable = "Payable";
const payment = "payment";
const Payment = "Payment";
const Payments = "Payments";
const PayPal = "PayPal";
const Pending = "Pending";
const People = "People";
const Percentage = "Percentage";
const Permissions = "Permissions";
const Phone = "Phone";
const Photo = "Photo";
const Photos = "Photos";
const Pinterest = "Pinterest";
const Plus = "Plus";
const points = "points";
const Points = "Points";
const Port = "Port";
const Portion = "Portion";
const POS = "POS";
const Previous = "Previous";
const Price = "Price";
const Print = "Print";
const Priority = "Priority";
const Private = "Private";
const Problem = "Problem";
const product = "product";
const Product = "Product";
const Products = "Products";
const Profile = "Profile";
const Profit = "Profit";
const Progress = "Progress";
const Promotion = "Promotion";
const Promotions = "Promotions";
const Properties = "Properties";
const Public = "Public";
const purchase = "purchase";
const Purchase = "Purchase";
const Purchased = "Purchased";
const Purchases = "Purchases";
const Qty = "Qty";
const quantity = "quantity";
const Quantity = "Quantity";
const Quotation = "Quotation";
const quotation = "quotation";
const Quotations = "Quotations";
const Rack = "Rack";
const Radio = "Radio";
const Rate = "Rate";
const Receipt = "Receipt";
const Received = "Received";
const Recipe = "Recipe";
const Record = "Record";
const record = "record";
const Recoverable = "Recoverable";
const Ref = "Ref";
const reference = "reference";
const Reference = "Reference";
const Regards = "Regards";
const Regenerate = "Regenerate";
const Region = "Region";
const Register = "Register";
const Registers = "Registers";
const Remove = "Remove";
const RepairOrder = "RepairOrder";
const Reports = "Reports";
const Required = "Required";
const Reset = "Reset";
const Resetting = "Resetting";
const Restaurant = "Restaurant";
const return_order = "return_order";
const Revenue = "Revenue";
const Role = "Role";
const Roles = "Roles";
const Rounding = "Rounding";
const sale = "sale";
const Sale = "Sale";
const Sales = "Sales";
const Save = "Save";
const saved = "saved";
const Search = "Search";
const seats = "seats";
const Seats = "Seats";
const Secret = "Secret";
const Section = "Section";
const Select = "Select";
const Sent = "Sent";
const SequenceNumber = "SequenceNumber";
const Serial = "Serial";
const Service = "Service";
const Services = "Services";
const service_type = "service_type";
const Settings = "Settings";
const Shipping = "Shipping";
const Shop = "Shop";
const Sidebar = "Sidebar";
const Signin = "Signin";
const Simple = "Simple";
const Size = "Size";
const size = "size";
const Skills = "Skills";
const Skipped = "Skipped";
const SKU = "SKU";
const Slide = "Slide";
const Slug = "Slug";
const Sold = "Sold";
const SSL = "SSL";
const Staff = "Staff";
const Standard = "Standard";
const start = "start";
const started = "started";
const state$2 = "state";
const State = "State";
const Status = "Status";
const Stock = "Stock";
const stopped = "stopped";
const Store = "Store";
const store = "store";
const Stores = "Stores";
const Street = "Street";
const Sub = "Sub";
const Subcategories = "Subcategories";
const Subcategory = "Subcategory";
const Subject = "Subject";
const Submit = "Submit";
const Subscribe = "Subscribe";
const Subtotal = "Subtotal";
const Subtraction = "Subtraction";
const Success = "Success";
const Supplier = "Supplier";
const Suppliers = "Suppliers";
const Support = "Support";
const Surcharge = "Surcharge";
const SXGD = "SXGD";
const Symbology = "Symbology";
const Syncing = "Syncing";
const System = "System";
const Table = "Table";
const Tables = "Tables";
const tables = "tables";
const Tax = "Tax";
const tax = "tax";
const Taxes = "Taxes";
const technician = "technician";
const Technician = "Technician";
const Technicians = "Technicians";
const Telegram = "Telegram";
const Template = "Template";
const Terrible = "Terrible";
const Text = "Text";
const Textarea = "Textarea";
const The = "The";
const Three = "Three";
const Till = "Till";
const Time = "Time";
const Timeline = "Timeline";
const Timezone = "Timezone";
const Title = "Title";
const TLS = "TLS";
const To = "To";
const Total = "Total";
const Totals = "Totals";
const Transaction = "Transaction";
const transaction = "transaction";
const Transactions = "Transactions";
const transfer = "transfer";
const Transfer = "Transfer";
const Transfers = "Transfers";
const Trashed = "Trashed";
const Twitter = "Twitter";
const Two = "Two";
const Type = "Type";
const Unauthorized = "Unauthorized";
const Unit = "Unit";
const unit = "unit";
const Units = "Units";
const Unknown = "Unknown";
const Update = "Update";
const updated = "updated";
const Url = "URL";
const Used = "Used";
const User = "User";
const username = "username";
const Username = "Username";
const Users = "Users";
const Variant = "Variant";
const Variants = "Variants";
const Variation = "Variation";
const variation = "variation";
const variations = "variations";
const Variations = "Variations";
const View = "View";
const Weight = "Weight";
const Wishlist = "Wishlist";
const Year = "Year";
const YearMonthSequenceNumber = "YearMonthSequenceNumber";
const YearSequenceNumber = "YearSequenceNumber";
const Yes = "Yes";
const YouTube = "YouTube";
const Youtube = "Youtube";
const en = {
  "0": "0",
  "+15551234567": "+15551234567",
  "10 per sheet (4in x 2in)": "10 per sheet (4in x 2in)",
  "12 per sheet (A4) (2.5in x 2.834in)": "12 per sheet (A4) (2.5in x 2.834in)",
  "18 per sheet (A4) (2.5in x 1.835in)": "18 per sheet (A4) (2.5in x 1.835in)",
  "20 per sheet (4in x 1in)": "20 per sheet (4in x 1in)",
  "24 per sheet (A4) (2.48in x 1.334in)": "24 per sheet (A4) (2.48in x 1.334in)",
  "30 per sheet (2.625in x 1in)": "30 per sheet (2.625in x 1in)",
  "40 per sheet (A4) (1.799in x 1.003in)": "40 per sheet (A4) (1.799in x 1.003in)",
  "403: Forbidden": "403: Forbidden",
  "404: Page Not Found": "404: Page Not Found",
  "500: Server Error": "500: Server Error",
  "503: Service Unavailable": "503: Service Unavailable",
  ":discount off": ":discount off",
  ":item (:type) do not have :ordering quantity in stock but only :available.": ":item (:type) do not have :ordering quantity in stock but only :available.",
  ":item (:type) do not have more stock": ":item (:type) do not have more stock",
  ":item (:type) is out of stock.": ":item (:type) is out of stock.",
  ":items items with total quantity of :quantity": ":items items with total quantity of :quantity",
  ":Method payment failed, :error": ":Method payment failed, :error",
  ":model has been :action": ":model has been :action",
  ":product (:type) do not have :ordering quantity in stock but only :available.": ":product (:type) do not have :ordering quantity in stock but only :available.",
  ":product (:type) do not have more stock": ":product (:type) do not have more stock",
  ":product (:type) is out of stock.": ":product (:type) is out of stock.",
  "Accept Invitation": "Accept Invitation",
  account,
  Account,
  Accounting,
  "Account is not active!": "Account is not active!",
  Accounts,
  "Account SID": "Account SID",
  "Account Statement": "Account Statement",
  "Account Transactions": "Account Transactions",
  "Account Type": "Account Type",
  "account type": "account type",
  "Account Types": "Account Types",
  Action,
  Actions,
  Active,
  Activities,
  "Activity Details": "Activity Details",
  "Activity Logs": "Activity Logs",
  "Actual Cost": "Actual Cost",
  Add,
  add,
  "Add Account": "Add Account",
  "Add additional security to your account using two factor authentication.": "Add additional security to your account using two factor authentication.",
  "Add Address": "Add Address",
  "Add again to select variation": "Add again to select variation",
  "Add a new team member to your team, allowing them to collaborate with you.": "Add a new team member to your team, allowing them to collaborate with you.",
  "Add another Payment": "Add another Payment",
  "add balance to": "add balance to",
  "Add Brand": "Add Brand",
  "Add Category": "Add Category",
  "Added.": "Added.",
  "Adding items to order": "Adding items to order",
  "Add Items to Order": "Add Items to Order",
  Addition,
  "Addition/Extra/Found": "Addition/Extra/Found",
  "Additional details": "Additional details",
  "Add Menu": "Add Menu",
  "Add More Items": "Add More Items",
  "Add More Payment": "Add More Payment",
  "Add New": "Add New",
  "Add New Address": "Add New Address",
  "Add new sale": "Add new sale",
  "Add New {x}": "Add New {x}",
  "Add page break after each label": "Add page break after each label",
  Address,
  Addresses,
  "Address has been updated": "Address has been updated",
  "Address Line 1": "Address Line 1",
  "Address Line 2": "Address Line 2",
  "Address name with email already exists": "Address name with email already exists",
  "Address name with phone already exists": "Address name with phone already exists",
  "Add something to make me happy": "Add something to make me happy",
  "Add Team Member": "Add Team Member",
  "Add to bag": "Add to bag",
  "Add to Cart": "Add to Cart",
  "Add to Order": "Add to Order",
  "Add to wishlist": "Add to wishlist",
  "Add {x}": "Add {x}",
  ADJUSTMENT,
  Adjustment,
  adjustment,
  "Adjustment Items": "Adjustment Items",
  "Adjustment No. {x}": "Adjustment No. {x}",
  Adjustments,
  "Adjust Store Stock?": "Adjust Store Stock?",
  "Admin Settings": "Admin Settings",
  Adv,
  Advance,
  "Advance Payment": "Advance Payment",
  After,
  "after all payments": "after all payments",
  "Alert (Low Stock) Quantity": "Alert (Low Stock) Quantity",
  All,
  "All-time": "All-time",
  "All Employees": "All Employees",
  "All Halls": "All Halls",
  "All Non Employees": "All Non Employees",
  "Allocated By": "Allocated By",
  "Allocated Date": "Allocated Date",
  "Allocated To": "Allocated To",
  "All of the people that are part of this team.": "All of the people that are part of this team.",
  "All of your data will be permanently changed.": "All of your data will be permanently changed.",
  Allowed,
  "Allow overselling": "Allow overselling",
  "Allow sale without payment": "Allow sale without payment",
  "Allow to change price": "Allow to change price",
  "Allow to change price while selling": "Allow to change price while selling",
  "All Priorities": "All Priorities",
  "All Products": "All Products",
  "All Service Types": "All Service Types",
  "All Statuses": "All Statuses",
  "All Technicians": "All Technicians",
  "All Variations": "All Variations",
  "Already registered?": "Already registered?",
  Amount,
  "Amount Paid": "Amount Paid",
  "Amount to spend": "Amount to spend",
  "Amount Value": "Amount Value",
  and,
  "A new verification link has been sent to the email address you provided in your profile settings.": "A new verification link has been sent to the email address you provided in your profile settings.",
  "A new verification link has been sent to your email address.": "A new verification link has been sent to your email address.",
  Annually,
  "Any Notes": "Any Notes",
  "Any sale details": "Any sale details",
  "API Token": "API Token",
  "API Token Permissions": "API Token Permissions",
  "API Tokens": "API Tokens",
  "API tokens allow third-party services to authenticate with our application on your behalf.": "API tokens allow third-party services to authenticate with our application on your behalf.",
  Application,
  "Application Alerts": "Application Alerts",
  "Application Settings": "Application Settings",
  Apply,
  "Apply as discount": "Apply as discount",
  "Apply to": "Apply to",
  "Apply to same state customers": "Apply to same state customers",
  "Apply transaction fees": "Apply transaction fees",
  "Are you sure you want to delete all the records?": "Are you sure you want to delete all the records?",
  "Are you sure you want to delete order?": "Are you sure you want to delete order?",
  "Are you sure you want to delete the {record}?": "Are you sure you want to delete the {record}?",
  "Are you sure you want to delete this record?": "Are you sure you want to delete this record?",
  "Are you sure you want to delete this team? Once a team is deleted, all of its resources and data will be permanently deleted.": "Are you sure you want to delete this team? Once a team is deleted, all of its resources and data will be permanently deleted.",
  "Are you sure you want to delete your account? Once your account is deleted, all of its resources and data will be permanently deleted. Please enter your password to confirm you would like to permanently delete your account.": "Are you sure you want to delete your account? Once your account is deleted, all of its resources and data will be permanently deleted. Please enter your password to confirm you would like to permanently delete your account.",
  "Are you sure you want to empty your cart?": "Are you sure you want to empty your cart?",
  "Are you sure you want to perform stock adjustments?": "Are you sure you want to perform stock adjustments?",
  "Are you sure you would like to delete this API token?": "Are you sure you would like to delete this API token?",
  "Are you sure you would like to leave this team?": "Are you sure you would like to leave this team?",
  "Are you sure you would like to remove this person from the team?": "Are you sure you would like to remove this person from the team?",
  Asset,
  asset,
  "Asset Allocation": "Asset Allocation",
  "asset allocation": "asset allocation",
  "Asset Allocations": "Asset Allocations",
  "Asset Categories": "Asset Categories",
  "Asset Category": "Asset Category",
  "asset category": "asset category",
  "Asset Maintenance": "Asset Maintenance",
  "asset maintenance": "asset maintenance",
  "Asset Maintenances": "Asset Maintenances",
  Assets,
  "Assign to Technician": "Assign to Technician",
  "At least one brand or category should be selected for partial stock count.": "At least one brand or category should be selected for partial stock count.",
  "At least one Super Admin user is required. Please assign the Super Admin role to another user before deleting this account.": "At least one Super Admin user is required. Please assign the Super Admin role to another user before deleting this account.",
  attachment,
  "Attachment deleted!": "Attachment deleted!",
  "Attachment has been successfully deleted.": "Attachment has been successfully deleted.",
  Attachments,
  Attn,
  "Authorize.net Login": "Authorize.net Login",
  "Authorize.net Transaction Key": "Authorize.net Transaction Key",
  "Auth Token": "Auth Token",
  "Auto-generated if empty": "Auto-generated if empty",
  "Auto open first order on POS": "Auto open first order on POS",
  "Auto open new order after hold and sale": "Auto open new order after hold and sale",
  "Auto print or open browser print dialog": "Auto print or open browser print dialog",
  "Auto Update": "Auto Update",
  Availabilty,
  Available,
  "Available Points": "Available Points",
  "Available Products": "Available Products",
  "Available Short Codes:": "Available Short Codes:",
  "Awarded points for {sale}": "Awarded points for {sale}",
  "Award Point": "Award Point",
  "Award Points": "Award Points",
  "AWS SES Key": "AWS SES Key",
  "AWS SES Region": "AWS SES Region",
  "AWS SES Secret": "AWS SES Secret",
  "Background Image": "Background Image",
  "Back to Homepage": "Back to Homepage",
  "Back to Login": "Back to Login",
  Bad,
  Balance,
  "Balance Amount": "Balance Amount",
  "Balance Due": "Balance Due",
  "Banner Settings": "Banner Settings",
  barcode,
  "Barcode/Labels": "Barcode/Labels",
  "Barcode Contains": "Barcode Contains",
  "Barcode Height": "Barcode Height",
  "Barcode Length": "Barcode Length",
  "Base Unit": "Base Unit",
  Batch,
  "Batch No.": "Batch No.",
  Before,
  "Before continuing, could you verify your email address by clicking on the link we just emailed to you? If you didn't receive the email, we will gladly send you another.": "Before continuing, could you verify your email address by clicking on the link we just emailed to you? If you didn't receive the email, we will gladly send you another.",
  Bill,
  Billing,
  "Billing Address": "Billing Address",
  "Billing City": "Billing City",
  "Billing Country": "Billing Country",
  "Billing Details": "Billing Details",
  "Billing Postal Code": "Billing Postal Code",
  "Billing State": "Billing State",
  "Bill to": "Bill to",
  Body,
  Bookings,
  "Both (credit & debit)": "Both (credit & debit)",
  "Bot Token": "Bot Token",
  brand,
  Brand,
  "Brand ID": "Brand ID",
  Brands,
  "Brands Count": "Brands Count",
  "Brands Ids": "Brands Ids",
  "Browse Products": "Browse Products",
  "Browser Sessions": "Browser Sessions",
  "Bulk Action": "Bulk Action",
  "Bulk actions": "Bulk actions",
  "Button Link": "Button Link",
  "Button Text": "Button Text",
  "Buy X get Y (BXGY)": "Buy X get Y (BXGY)",
  "Buy {quantity} to get {discount} off": "Buy {quantity} to get {discount} off",
  BXGY,
  By,
  "Calculated tax amount": "Calculated tax amount",
  Calendar,
  "Call to Action Settings": "Call to Action Settings",
  "Can be impersonated": "Can be impersonated",
  Cancel,
  "Can remove order items": "Can remove order items",
  Captcha,
  "Captcha is required.": "Captcha is required.",
  "Captcha Provider": "Captcha Provider",
  "Captcha Secret Key": "Captcha Secret Key",
  "Captcha Site Key": "Captcha Site Key",
  "Card Number": "Card Number",
  "Card Terminal": "Card Terminal",
  Cart,
  "Cart has been updated.": "Cart has been updated.",
  Cash,
  "Cash Amount": "Cash Amount",
  "Cash in Hand": "Cash in Hand",
  "Cash in hand": "Cash in hand",
  "Cash in register": "Cash in register",
  "Cash on Delivery": "Cash on Delivery",
  "Cash Register": "Cash Register",
  "Cash Submitted": "Cash Submitted",
  Categories,
  "Categories Count": "Categories Count",
  "Categories Ids": "Categories Ids",
  category,
  Category,
  "Category ID": "Category ID",
  Causer,
  "CC Amount": "CC Amount",
  Chanelog,
  changed,
  "Change file": "Change file",
  Changelog,
  "Changes are not allowed in demo mode.": "Changes are not allowed in demo mode.",
  "Charge Amount": "Charge Amount",
  "Charge for weight": "Charge for weight",
  Charges,
  "Check/Uncheck All": "Check/Uncheck All",
  Checkbox,
  "Check for Promotions": "Check for Promotions",
  "Check if the price/actual cost already includes taxes": "Check if the price/actual cost already includes taxes",
  Checkout,
  "Check Repair Status": "Check Repair Status",
  "Check Status": "Check Status",
  "Choose which data types you want to import from the old database. Existing records will be skipped.": "Choose which data types you want to import from the old database. Existing records will be skipped.",
  City,
  "Click an order to accept and load it into POS.": "Click an order to accept and load it into POS.",
  "Click here to re-send the verification email.": "Click here to re-send the verification email.",
  Close,
  "Closed at": "Closed at",
  "Closed by": "Closed by",
  "close notification": "close notification",
  "Close Register": "Close Register",
  "Close sidebar": "Close sidebar",
  "CloudFlare Turnstile": "CloudFlare Turnstile",
  Code,
  Color,
  color,
  Combo,
  "Combo Products": "Combo Products",
  "Coming Soon": "Coming Soon",
  Comment,
  Company,
  "Company already exists": "Company already exists",
  Complete,
  complete,
  "Completed at": "Completed at",
  "Completed by": "Completed by",
  "Completed Date": "Completed Date",
  "Complete Stock Count": "Complete Stock Count",
  Compound,
  "Compound: this tax should be applied after other taxes": "Compound: this tax should be applied after other taxes",
  Condition,
  "Configure notification channels for sending alerts via Telegram and SMS.": "Configure notification channels for sending alerts via Telegram and SMS.",
  "Configure the integration used for fiscal reporting.": "Configure the integration used for fiscal reporting.",
  Confirm,
  "Confirm Newsletter Subscription": "Confirm Newsletter Subscription",
  "Confirm Password": "Confirm Password",
  "Confirm Subscription": "Confirm Subscription",
  "Connection closed, please make sure POS server is running.": "Connection closed, please make sure POS server is running.",
  "Connection failed": "Connection failed",
  "Connection failed: :error": "Connection failed: :error",
  "Connection successful! Database is accessible.": "Connection successful! Database is accessible.",
  Contact,
  "Contact Information": "Contact Information",
  "Continue as guest": "Continue as guest",
  "Continue Shopping": "Continue Shopping",
  "Continuous Feed": "Continuous Feed",
  "Conversion Rate": "Conversion Rate",
  "Converted at": "Converted at",
  Cost,
  "Cost Information": "Cost Information",
  "Cost of Goods": "Cost of Goods",
  Country,
  Coupon,
  "Coupon Code": "Coupon Code",
  "Coupon has been applied.": "Coupon has been applied.",
  "Coupon has been removed.": "Coupon has been removed.",
  "Coupon has expired.": "Coupon has expired.",
  "Coupon not found, please try again with correct code.": "Coupon not found, please try again with correct code.",
  Coupons,
  Create,
  "Create Account": "Create Account",
  "Create All": "Create All",
  "Create an account": "Create an account",
  "Create a new team to collaborate with others on projects.": "Create a new team to collaborate with others on projects.",
  "Create API Token": "Create API Token",
  "create Currency": "create Currency",
  Created,
  created,
  "Created.": "Created.",
  "Created at": "Created at",
  "Created  by": "Created  by",
  "Created by": "Created by",
  "Create Halls": "Create Halls",
  "create Shipping Method": "create Shipping Method",
  "Create Tables": "Create Tables",
  "Create Team": "Create Team",
  "Create {x}": "Create {x}",
  Credit,
  "Credit Card": "Credit Card",
  "Credit Card Amount": "Credit Card Amount",
  "Credit Card Gateway": "Credit Card Gateway",
  "Credit Card Number": "Credit Card Number",
  "Credit Card Value": "Credit Card Value",
  CTA,
  Currencies,
  Currency,
  "Current items": "Current items",
  "Current Password": "Current Password",
  Custom,
  "Custom Code": "Custom Code",
  "Custom CSS & JS": "Custom CSS & JS",
  Customer,
  "Customer group": "Customer group",
  "Customer Group": "Customer Group",
  "Customer Group Price Group": "Customer Group Price Group",
  "Customer Groups": "Customer Groups",
  "Customer Information": "Customer Information",
  "Customer name with email already exists": "Customer name with email already exists",
  "Customer name with phone already exists": "Customer name with phone already exists",
  "Customer Notes": "Customer Notes",
  "Customer Not Found!": "Customer Not Found!",
  Customers,
  "Customers also bought": "Customers also bought",
  "Customers Due": "Customers Due",
  "Customer Statement": "Customer Statement",
  "Customer View": "Customer View",
  "Customer View Screen Heading": "Customer View Screen Heading",
  "Customer View Screen Message": "Customer View Screen Message",
  "Custom field": "Custom field",
  "Custom Field": "Custom Field",
  "Custom Fieldes": "Custom Fieldes",
  "Custom Fields": "Custom Fields",
  Customize,
  "Customize Report": "Customize Report",
  CVV,
  "Daily Sales": "Daily Sales",
  "Daily transaction entries": "Daily transaction entries",
  Dark,
  "Dark Mode Icon": "Dark Mode Icon",
  "Dark Mode Logo": "Dark Mode Logo",
  "Dark side bar": "Dark side bar",
  "Dark top bar": "Dark top bar",
  Dashboard,
  Data,
  Database,
  "Database Connection": "Database Connection",
  "Date": "Date",
  "Date & Number Locale": "Date & Number Locale",
  "Date Format": "Date Format",
  Debit,
  "Decimal Places": "Decimal Places",
  Default,
  "Default Account": "Default Account",
  "Default Category": "Default Category",
  "Default Currency": "Default Currency",
  "Default Customer": "Default Customer",
  "Default Product Taxes": "Default Product Taxes",
  "Default Store": "Default Store",
  Delete,
  "Delete :Model!": "Delete :Model!",
  "Delete Account": "Delete Account",
  "Delete All": "Delete All",
  "Delete API Token": "Delete API Token",
  Deleted,
  deleted,
  "Delete Halls": "Delete Halls",
  "Delete Order": "Delete Order",
  "Delete Order?": "Delete Order?",
  "Delete Tables": "Delete Tables",
  "Delete Team": "Delete Team",
  delete_text,
  "Delete {x}": "Delete {x}",
  "Delivered at": "Delivered at",
  "Delivered by": "Delivered by",
  Deliveries,
  "Deliver To": "Deliver To",
  Delivery,
  delivery,
  "Delivery Order": "Delivery Order",
  "Delivery Order No. {x}": "Delivery Order No. {x}",
  "Describe the issue reported by customer": "Describe the issue reported by customer",
  Description,
  "Description (optional)": "Description (optional)",
  "Description/Summary": "Description/Summary",
  Design,
  "Detailed Summary": "Detailed Summary",
  Details,
  "Device Condition": "Device Condition",
  "Device Password/PIN": "Device Password/PIN",
  "Device Pattern": "Device Pattern",
  "Device serial number or IMEI": "Device serial number or IMEI",
  Difference,
  Digital,
  Dimensions,
  "Dimension Unit": "Dimension Unit",
  Disable,
  "Disable Cart": "Disable Cart",
  Disabled,
  "Disable RTL": "Disable RTL",
  Discount,
  "Display feature product on brands menu": "Display feature product on brands menu",
  "Display newsletter subscription": "Display newsletter subscription",
  Divide,
  Docs,
  "Don't have an account?": "Don't have an account?",
  "Don't have an account yet?": "Don't have an account yet?",
  "Done.": "Done.",
  "Do not track stock for this product": "Do not track stock for this product",
  Download,
  "Download excel file to complete": "Download excel file to complete",
  "Download final excel file": "Download final excel file",
  "Download {x}": "Download {x}",
  Due,
  "Due Amount": "Due Amount",
  "Due Date": "Due Date",
  "Due Limit": "Due Limit",
  "Each sale amounting to": "Each sale amounting to",
  Edit,
  edit,
  "Edit Account": "Edit Account",
  "Edit Address": "Edit Address",
  "Edit all": "Edit all",
  "Edit all records": "Edit all records",
  "Edit Billing Details": "Edit Billing Details",
  "Edit Brand": "Edit Brand",
  "Edit Category": "Edit Category",
  "Editing payment": "Editing payment",
  "Edit Profile": "Edit Profile",
  "Edit {x}": "Edit {x}",
  "Electronic Invoicing": "Electronic Invoicing",
  email,
  Email,
  "Email:": "Email:",
  "Email address": "Email address",
  "Email Address": "Email Address",
  "Emailed at": "Emailed at",
  "Email Password Reset Link": "Email Password Reset Link",
  "Email Verification": "Email Verification",
  "Email {x}": "Email {x}",
  "Employees are not allowed to place order from shop. If you are not staff member, please contact site admin.": "Employees are not allowed to place order from shop. If you are not staff member, please contact site admin.",
  "Empty :Model!": "Empty :Model!",
  "Empty Cart": "Empty Cart",
  "Empty Wishlist": "Empty Wishlist",
  Enable,
  Enabled,
  "Enable impersonation": "Enable impersonation",
  "Enable onscreen keyboard": "Enable onscreen keyboard",
  "Enable PayPal Payments": "Enable PayPal Payments",
  "Enable restaurant feature for POS i.e, halls, tables & recipes": "Enable restaurant feature for POS i.e, halls, tables & recipes",
  "Enable restaurant features for POS i.e, halls, tables & recipes": "Enable restaurant features for POS i.e, halls, tables & recipes",
  "Enable RTL": "Enable RTL",
  "Enable Stripe Terminal": "Enable Stripe Terminal",
  Encryption,
  "End Date": "End Date",
  "Ensure your account is using a long, random password to stay secure.": "Ensure your account is using a long, random password to stay secure.",
  "Enter description (optional)": "Enter description (optional)",
  "Enter one method per line. These will appear in the payment method dropdown.": "Enter one method per line. These will appear in the payment method dropdown.",
  "Enter payment methods, one per line": "Enter payment methods, one per line",
  "Enter quick cash values separated by pipe (|)": "Enter quick cash values separated by pipe (|)",
  "Enter reference or device serial number": "Enter reference or device serial number",
  "Enter service type name": "Enter service type name",
  "Enter the connection details for your old V3 database. Test the connection before proceeding with the import.": "Enter the connection details for your old V3 database. Test the connection before proceeding with the import.",
  "Enter your name": "Enter your name",
  "Enter your repair order reference or device serial number": "Enter your repair order reference or device serial number",
  "Enter your repair order secret hash": "Enter your repair order secret hash",
  "Enter your Telegram Bot Token": "Enter your Telegram Bot Token",
  "Error": "Error",
  "Error!": "Error!",
  "Estimated Completion": "Estimated Completion",
  "Estimated Cost": "Estimated Cost",
  "Estimated Profit": "Estimated Profit",
  Event,
  "Excel File": "Excel File",
  "Excel file should have name & parent_category columns.": "Excel file should have name & parent_category columns.",
  "Excel file should have name, phone, email, company, due_limit, lot_no, street, address_line_1, address_line_2, city, postal_code, state and country columns.": "Excel file should have name, phone, email, company, due_limit, lot_no, street, address_line_1, address_line_2, city, postal_code, state and country columns.",
  "Excel file should have name, phone, email, company, due_limit, price_group, customer_group, lot_no, street, address_line_1, address_line_2, city, postal_code, state and country columns.": "Excel file should have name, phone, email, company, due_limit, price_group, customer_group, lot_no, street, address_line_1, address_line_2, city, postal_code, state and country columns.",
  "Excel file should have name column.": "Excel file should have name column.",
  "Excel file should have {x} columns.": "Excel file should have {x} columns.",
  "Exchange Rate": "Exchange Rate",
  Exclusive,
  "Existing Attachments": "Existing Attachments",
  Expanse,
  Expected,
  expense,
  Expense,
  "Expense No. {x}": "Expense No. {x}",
  Expenses,
  Expiry,
  "Expiry date": "Expiry date",
  "Expiry Date": "Expiry Date",
  "Expiry date has wrong format.": "Expiry date has wrong format.",
  "Expiry Month": "Expiry Month",
  "Export {x}": "Export {x}",
  Facebook,
  Failed,
  failed,
  "Failed to accept the order. Please try again.": "Failed to accept the order. Please try again.",
  "Failed to check table availability. Please try again.": "Failed to check table availability. Please try again.",
  "Failed to save settings!": "Failed to save settings!",
  Feature,
  Featured,
  "Featured Product": "Featured Product",
  "Featured Products": "Featured Products",
  Features,
  Fees,
  File,
  "file selected": "file selected",
  "files selected": "files selected",
  Filters,
  "Filters Applied": "Filters Applied",
  "Final File": "Final File",
  Finalize,
  "Finalize Sale": "Finalize Sale",
  "Finish enabling two factor authentication.": "Finish enabling two factor authentication.",
  "First Name": "First Name",
  "Fiscal Service": "Fiscal Service",
  "Fiscal Service Description": "Select the service that will receive fiscal reports.",
  "Fiscal service processing is pending for this sale.": "Fiscal service processing is pending for this sale.",
  "Fiscal Service Settings": "Fiscal Service Settings",
  Fixed,
  "Fixed Fee Amount": "Fixed Fee Amount",
  "Fixed Fees": "Fixed Fees",
  "Flag Characters Length": "Flag Characters Length",
  "Footer Custom Code": "Footer Custom Code",
  "Footer Menus": "Footer Menus",
  For,
  "For AI/MCP Server": "For AI/MCP Server",
  Forbidden,
  "For Customers": "For Customers",
  "Forget Password?": "Forget Password?",
  "Forgot Password": "Forgot Password",
  "Forgot Password?": "Forgot Password?",
  "Forgot your password?": "Forgot your password?",
  "Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one.": "Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one.",
  Form,
  "Form Page": "Form Page",
  Formula,
  "For phone/tablet unlock": "For phone/tablet unlock",
  "For Staff": "For Staff",
  "For takeaway or delivery": "For takeaway or delivery",
  "For your security, please confirm your password to continue.": "For your security, please confirm your password to continue.",
  Four,
  Fraction,
  Free,
  "Free :itemToGet with purchase of :quantity :itemToBuy": "Free :itemToGet with purchase of :quantity :itemToBuy",
  "Free :productToGet with purchase of :quantity :productToBuy": "Free :productToGet with purchase of :quantity :productToBuy",
  "Free Item": "Free Item",
  "Free Shipping for Orders Over [Amount]": "Free Shipping for Orders Over [Amount]",
  "Free with purchase of :quantity :itemToBuy": "Free with purchase of :quantity :itemToBuy",
  "Free with purchase of :quantity :productToBuy": "Free with purchase of :quantity :productToBuy",
  From,
  "From Account": "From Account",
  "From Number": "From Number",
  "From Store": "From Store",
  Full,
  "Full Name": "Full Name",
  "Full Stock Count": "Full Stock Count",
  General,
  "General Ledger": "General Ledger",
  "General Ledger & Financial Summary": "General Ledger & Financial Summary",
  "General Settings": "General Settings",
  "General settings for the application use and views": "General settings for the application use and views",
  Generate,
  "Generate and print QR codes for restaurant tables": "Generate and print QR codes for restaurant tables",
  "Generate Invoice": "Generate Invoice",
  "Generate Variations": "Generate Variations",
  Get,
  "Get your bot token from {x} on Telegram.": "Get your bot token from {x} on Telegram.",
  "Get your credentials from the Twilio Console.": "Get your credentials from the Twilio Console.",
  "Gift Card": "Gift Card",
  GiftCard,
  "gift card": "gift card",
  "Gift card already exists": "Gift card already exists",
  "Gift Card Amount": "Gift Card Amount",
  "Gift card balance is not enough.": "Gift card balance is not enough.",
  "Gift card does not belong to this customer.": "Gift card does not belong to this customer.",
  "Gift card does not have enough balance.": "Gift card does not have enough balance.",
  "Gift Card Logs": "Gift Card Logs",
  "gift card number": "gift card number",
  "Gift Card Number": "Gift Card Number",
  "Gift Cards": "Gift Cards",
  "Gift card used to make payment": "Gift card used to make payment",
  Good,
  "Google Recaptcha": "Google Recaptcha",
  "Go to Home": "Go to Home",
  "Go to Orders": "Go to Orders",
  "Go to {x}": "Go to {x}",
  "Grand Total": "Grand Total",
  Great,
  "Gross Profit": "Gross Profit",
  "Guest Checkout": "Guest Checkout",
  Guide,
  Hall,
  "Hall Name": "Hall Name",
  halls,
  "Has expiry date": "Has expiry date",
  "Header Custom Code": "Header Custom Code",
  Heading,
  Hello,
  "Hello {x},": "Hello {x},",
  "Hi! {x}": "Hi! {x}",
  Hide,
  "Hide ID": "Hide ID",
  "Hide in POS": "Hide in POS",
  "Hide in Shop": "Hide in Shop",
  "Hide out of stock products in store": "Hide out of stock products in store",
  "Hide Price": "Hide Price",
  Hold,
  Home,
  "Homepage Description": "Homepage Description",
  "Homepage Title": "Homepage Title",
  Host,
  "House/Lot No.": "House/Lot No.",
  "House No.": "House No.",
  "HSN Number": "HSN Number",
  "I agree to the": "I agree to the",
  "I agree to the :terms_of_service and :privacy_policy": "I agree to the :terms_of_service and :privacy_policy",
  Icon,
  ID,
  Id,
  "If necessary, you may log out of all of your other browser sessions across all of your devices. Some of your recent sessions are listed below; however, this list may not be exhaustive. If you feel your account has been compromised, you should also update your password.": "If necessary, you may log out of all of your other browser sessions across all of your devices. Some of your recent sessions are listed below; however, this list may not be exhaustive. If you feel your account has been compromised, you should also update your password.",
  "If you already have an account, you may accept this invitation by clicking the button below:": "If you already have an account, you may accept this invitation by clicking the button below:",
  "If you did not expect to receive an invitation to this team, you may discard this email.": "If you did not expect to receive an invitation to this team, you may discard this email.",
  "If you did not subscribe to the newsletter, you can ignore this email.": "If you did not subscribe to the newsletter, you can ignore this email.",
  "If you do not have an account, you may create one by clicking the button below. After creating an account, you may click the invitation acceptance button in this email to accept the team invitation:": "If you do not have an account, you may create one by clicking the button below. After creating an account, you may click the invitation acceptance button in this email to accept the team invitation:",
  "If your country have electronic invoicing requirements, please let us know on support portal.": "If your country have electronic invoicing requirements, please let us know on support portal.",
  "I have collected payment & saved receipt": "I have collected payment & saved receipt",
  Image,
  Impersonate,
  Impersonated,
  Impersonation,
  Import,
  "Import/Export": "Import/Export",
  "Import completed successfully.": "Import completed successfully.",
  "Import Data": "Import Data",
  "Import Data from SMA v3": "Import Data from SMA v3",
  "Import failed": "Import failed",
  "Import failed: :error": "Import failed: :error",
  "Import Logs": "Import Logs",
  "Import Results": "Import Results",
  "Import {x}": "Import {x}",
  Inactive,
  "In Browser (Javascript)": "In Browser (Javascript)",
  Included,
  Inclusive,
  "Inclusive Tax Calculation Formula": "Inclusive Tax Calculation Formula",
  Income,
  income,
  Incomes,
  Information,
  Ingredient,
  "Initial stock on adjustment": "Initial stock on adjustment",
  Initiate,
  "Initiate Adjustments": "Initiate Adjustments",
  Instagram,
  "In Stock": "In Stock",
  "In Store": "In Store",
  "Instruction for Seller": "Instruction for Seller",
  "Internal Notes": "Internal Notes",
  "Internal notes (not visible to customer)": "Internal notes (not visible to customer)",
  "Invalid PIN code!": "Invalid PIN code!",
  "Invalid pin code!": "Invalid pin code!",
  "Inventory Accounting Method": "Inventory Accounting Method",
  Invoice,
  "Invoice can only be generated for completed repair orders without existing invoices.": "Invoice can only be generated for completed repair orders without existing invoices.",
  "Invoice Generated": "Invoice Generated",
  "Invoice has been successfully generated.": "Invoice has been successfully generated.",
  item,
  Item,
  "Item Code Characters Length": "Item Code Characters Length",
  "Item Code Start Position": "Item Code Start Position",
  "Item has been added to the cart.": "Item has been added to the cart.",
  "Item has been added to the wishlist.": "Item has been added to the wishlist.",
  "Item has been removed from your cart.": "Item has been removed from your cart.",
  "Item has been removed from your wishlist.": "Item has been removed from your wishlist.",
  items,
  Items,
  Keywords,
  "Label Height": "Label Height",
  Labels,
  "Label Width": "Label Width",
  Language,
  "Language has been changed.": "Language has been changed.",
  "Language is not available yet.": "Language is not available yet.",
  "Last 7 days": "Last 7 days",
  "Last 30 days": "Last 30 days",
  "Last 60 days": "Last 60 days",
  "Last active": "Last active",
  "Last Name": "Last Name",
  "Last used": "Last used",
  "Latest Products": "Latest Products",
  Leave,
  "Leave Team": "Leave Team",
  Light,
  LinkedIn,
  "List Addresses": "List Addresses",
  "List All {x}": "List All {x}",
  "List Open Orders": "List Open Orders",
  "List Orders": "List Orders",
  "List Page": "List Page",
  "List POS Orders": "List POS Orders",
  "List Sales": "List Sales",
  "List {x}": "List {x}",
  Load,
  Local,
  Login,
  "Log In": "Log In",
  "Log in": "Log in",
  "Log Name": "Log Name",
  Logo,
  "Log Out": "Log Out",
  "Log Out Other Browser Sessions": "Log Out Other Browser Sessions",
  "Lot No.": "Lot No.",
  "Low Stock": "Low Stock",
  "Loyalty Points": "Loyalty Points",
  "L x  W x H": "L x  W x H",
  Mail,
  "Mail Driver": "Mail Driver",
  "MailerSend API Key": "MailerSend API Key",
  "Mail From Email Address": "Mail From Email Address",
  "Mail From Name": "Mail From Name",
  "Mailgun Domain": "Mailgun Domain",
  "Mailgun Endpoint": "Mailgun Endpoint",
  "Mailgun Secret": "Mailgun Secret",
  "Mail Settings": "Mail Settings",
  "Mail settings successfully saved.": "Mail settings successfully saved.",
  Main,
  Maintenance,
  "Maintenance Mode": "Maintenance Mode",
  "Make it default": "Make it default",
  "Make Payment": "Make Payment",
  Manage,
  "Manage Account": "Manage Account",
  "Manage all repair orders": "Manage all repair orders",
  "Manage and log out your active sessions on other browsers and devices.": "Manage and log out your active sessions on other browsers and devices.",
  "Manage API Tokens": "Manage API Tokens",
  "Manage dining halls and areas": "Manage dining halls and areas",
  "Manage dining tables and seating arrangements": "Manage dining tables and seating arrangements",
  "Manage Modules": "Manage Modules",
  "Manage repair service types": "Manage repair service types",
  "Manage repair technicians": "Manage repair technicians",
  "Manage Role": "Manage Role",
  "Mark as delivered": "Mark as delivered",
  "Max.": "Max.",
  "Max. Discount": "Max. Discount",
  "Max. Price": "Max. Price",
  "Max 2MB per file. Images and PDF only.": "Max 2MB per file. Images and PDF only.",
  Maximum,
  "Maximum 1000 labels can be printed at a time!": "Maximum 1000 labels can be printed at a time!",
  "Maximum Discount": "Maximum Discount",
  "Maximum Price": "Maximum Price",
  "Max Unpaid Orders": "Max Unpaid Orders",
  Menu,
  "Menu Label": "Menu Label",
  "Menu Link": "Menu Link",
  "Menu {x}": "Menu {x}",
  Message,
  "Messaging Service SID": "Messaging Service SID",
  Method,
  "Method Details": "Method Details",
  "Min.": "Min.",
  "Min. Price": "Min. Price",
  Minimal,
  Minimum,
  "Minimum Price": "Minimum Price",
  Minus,
  "Miscellaneous Settings": "Miscellaneous Settings",
  Models,
  Modern,
  Month,
  Monthly,
  "Monthly Sales": "Monthly Sales",
  more,
  Multiple,
  "Multiple options": "Multiple options",
  "My Orders": "My Orders",
  "My Payments": "My Payments",
  "N/A": "N/A",
  Name,
  "Net Profit": "Net Profit",
  New,
  "New Account Email Confirmation": "New Account Email Confirmation",
  "New Attachments": "New Attachments",
  NewLine,
  "New Password": "New Password",
  "New QR Order!": "New QR Order!",
  Next,
  No,
  "No, Cancel": "No, Cancel",
  "No data available for the selected period": "No data available for the selected period",
  "No data found, the record might not belong to the selected store.": "No data found, the record might not belong to the selected store.",
  "No data to display!": "No data to display!",
  "No fiscal service drivers are available yet.": "No fiscal service drivers are available yet.",
  Nofollow,
  "No Follow": "No Follow",
  "No halls or tables found. Please create halls and tables first.": "No halls or tables found. Please create halls and tables first.",
  Noindex,
  "No Index": "No Index",
  None,
  "No product found with code {code}": "No product found with code {code}",
  "No products in this category": "No products in this category",
  "No QR Orders": "No QR Orders",
  "No recently viewed products": "No recently viewed products",
  "No register is open!": "No register is open!",
  "No repair order found with the provided information.": "No repair order found with the provided information.",
  "No results found": "No results found",
  "No states available": "No states available",
  "No subscription found for this email.": "No subscription found for this email.",
  "No suggestions to list.": "No suggestions to list.",
  "No Suspended Orders": "No Suspended Orders",
  "No tables in this hall": "No tables in this hall",
  "Not Assigned": "Not Assigned",
  Note,
  Notes,
  "Notes from the technician": "Notes from the technician",
  "Notes visible to customer on status page": "Notes visible to customer on status page",
  "Not Found": "Not Found",
  Notifications,
  "Notification Settings": "Notification Settings",
  "Not Trashed": "Not Trashed",
  "No users found for this customer.": "No users found for this customer.",
  "No users found for this supplier.": "No users found for this supplier.",
  "Number": "Number",
  "Number of Seats": "Number of Seats",
  "Official receipt will be issued after receiving payment.": "Official receipt will be issued after receiving payment.",
  Offline,
  "Offline & other payment method": "Offline & other payment method",
  "Offline & Others": "Offline & Others",
  "Offline Payment Account": "Offline Payment Account",
  "Offline Payments": "Offline Payments",
  Okay,
  "Once a team is deleted, all of its resources and data will be permanently deleted. Before deleting this team, please download any data or information regarding this team that you wish to retain.": "Once a team is deleted, all of its resources and data will be permanently deleted. Before deleting this team, please download any data or information regarding this team that you wish to retain.",
  "Once your account is deleted, all of its resources and data will be permanently deleted. Before deleting your account, please download any data or information that you wish to retain.": "Once your account is deleted, all of its resources and data will be permanently deleted. Before deleting your account, please download any data or information that you wish to retain.",
  One,
  "Only :quantity quantity available.": "Only :quantity quantity available.",
  "Only :quantity quantity available for :product.": "Only :quantity quantity available for :product.",
  "Only set if you want to change the current pin code.": "Only set if you want to change the current pin code.",
  "Only Shop Sales": "Only Shop Sales",
  "Only Trashed": "Only Trashed",
  "On Promo": "On Promo",
  "On Server Side (PHP)": "On Server Side (PHP)",
  Open,
  "Opened at": "Opened at",
  "Opened by": "Opened by",
  "Opened Orders": "Opened Orders",
  "Opening Balance": "Opening Balance",
  "Open menu": "Open menu",
  "Open New Order": "Open New Order",
  "Open Orders": "Open Orders",
  "Open Orders (on hold)": "Open Orders (on hold)",
  "Open POS Orders": "Open POS Orders",
  "Open Register": "Open Register",
  "Open Sidebar": "Open Sidebar",
  "Open user menu": "Open user menu",
  "Operating Expenses": "Operating Expenses",
  "Operation Value": "Operation Value",
  Operator,
  Option,
  optional,
  "Optional but recommended": "Optional but recommended",
  "Optional description for this hall": "Optional description for this hall",
  "Optional description for this table": "Optional description for this table",
  "Optional reference number": "Optional reference number",
  Options,
  "Option {x}": "Option {x}",
  OR,
  or,
  Order,
  "Order Confirmed": "Order Confirmed",
  "Order Details": "Order Details",
  "Order Discount": "Order Discount",
  "Order No.": "Order No.",
  "Order No. {x}": "Order No. {x}",
  "Order Number": "Order Number",
  "Order Placed!": "Order Placed!",
  "Order Ref": "Order Ref",
  "Order Reference": "Order Reference",
  Orders,
  "Order Summary": "Order Summary",
  "Order To": "Order To",
  "or drag and drop": "or drag and drop",
  "Other Amount": "Other Amount",
  "Other Countries Percentage": "Other Countries Percentage",
  "Other Payment Amount": "Other Payment Amount",
  "Other Payment Methods": "Other Payment Methods",
  "Other Payments Value": "Other Payments Value",
  "Other Purchases (Expenses)": "Other Purchases (Expenses)",
  Others,
  "Other Settigns": "Other Settigns",
  "Other Shop Settings": "Other Shop Settings",
  "OTP Code": "OTP Code",
  Outstanding,
  Overdue,
  "Overdue {x}": "Overdue {x}",
  Overview,
  "Over {x} products for {n} brands.": "Over {x} products for {n} brands.",
  "Over {x} products for {n} categories.": "Over {x} products for {n} categories.",
  "Packing List": "Packing List",
  Page,
  "Page Expired": "Page Expired",
  Pages,
  "Pages Menu Settings": "Pages Menu Settings",
  Paid,
  "Paid Amount": "Paid Amount",
  "Paid sales are reported at the end of the day.": "Paid sales are reported at the end of the day.",
  "Parent Category": "Parent Category",
  "parent_category is the name of the parent category.": "parent_category is the name of the parent category.",
  Partial,
  "Partial Stock Count": "Partial Stock Count",
  password,
  Password,
  "Pattern lock description": "Pattern lock description",
  Payable,
  "Payable Amount": "Payable Amount",
  payment,
  Payment,
  "Payment deleted!": "Payment deleted!",
  "Payment Form": "Payment Form",
  "Payment Gateways": "Payment Gateways",
  "Payment is already marked as received.": "Payment is already marked as received.",
  "Payment is due for this sale, please make payment to complete your order.": "Payment is due for this sale, please make payment to complete your order.",
  "Payment Method": "Payment Method",
  "Payment Methods": "Payment Methods",
  "Payment No.": "Payment No.",
  "Payment No. {x}": "Payment No. {x}",
  "Payment Note": "Payment Note",
  "Payment Receipt": "Payment Receipt",
  "Payment Received": "Payment Received",
  "Payment Request": "Payment Request",
  "Payment Requested": "Payment Requested",
  "Payment Requests": "Payment Requests",
  "Payment Required": "Payment Required",
  "Payment restored!": "Payment restored!",
  Payments,
  "Payment Settings": "Payment Settings",
  "Payment settings successfully saved.": "Payment settings successfully saved.",
  "Payment settlement": "Payment settlement",
  "Payments Sent": "Payments Sent",
  "Payment Status": "Payment Status",
  "Payment successful, your order has been updated.": "Payment successful, your order has been updated.",
  "Payments {x}": "Payments {x}",
  "Paymes Public Key": "Paymes Public Key",
  "Paymes Secret Key": "Paymes Secret Key",
  "Pay Now": "Pay Now",
  PayPal,
  "PayPal Client Id": "PayPal Client Id",
  "PayPal payment failed, :error": "PayPal payment failed, :error",
  "PayPal Secret": "PayPal Secret",
  "Pay with": "Pay with",
  "Pay with Balance": "Pay with Balance",
  "Pay with Card": "Pay with Card",
  "Pay with Credit Card": "Pay with Credit Card",
  "Pay with Credit Cart": "Pay with Credit Cart",
  "Pay with PayPal": "Pay with PayPal",
  Pending,
  "Pending Team Invitations": "Pending Team Invitations",
  People,
  Percentage,
  "Percentage Fees": "Percentage Fees",
  "Perform bulk actions": "Perform bulk actions",
  "Perform Bulk Actions": "Perform Bulk Actions",
  "Permanently delete this team.": "Permanently delete this team.",
  "Permanently delete your account.": "Permanently delete your account.",
  Permissions,
  Phone,
  Photo,
  Photos,
  "Photo width & height must be equal (ratio 1:1).": "Photo width & height must be equal (ratio 1:1).",
  "Pin Code": "Pin Code",
  "Pin Code Required": "Pin Code Required",
  "Pin code should be between 4 to 8 characters.": "Pin code should be between 4 to 8 characters.",
  "PIN code verified successfully!": "PIN code verified successfully!",
  Pinterest,
  "Place an Order": "Place an Order",
  "Place Order": "Place Order",
  "Play sound on order item": "Play sound on order item",
  "Please add address first.": "Please add address first.",
  "Please add at least one item to form.": "Please add at least one item to form.",
  "Please add at least one item to the order.": "Please add at least one item to the order.",
  "Please add at least one product!": "Please add at least one product!",
  "Please add at least one product.": "Please add at least one product.",
  "Please add card details below.": "Please add card details below.",
  "Please add products the below to print label.": "Please add products the below to print label.",
  "Please check our products below, you can filter them for your choice.": "Please check our products below, you can filter them for your choice.",
  "Please check the brands below, you can click any brand to load products.": "Please check the brands below, you can click any brand to load products.",
  "Please check the categories below, you can click any category to load products.": "Please check the categories below, you can click any category to load products.",
  "Please check your reference or serial number and try again.": "Please check your reference or serial number and try again.",
  "Please choose the payment option above.": "Please choose the payment option above.",
  "Please click any brand or category below to load the products.": "Please click any brand or category below to load the products.",
  "Please click the button below to make a payment with one of the other available methods.": "Please click the button below to make a payment with one of the other available methods.",
  "Please click the button below to make pay with PayPal.": "Please click the button below to make pay with PayPal.",
  "Please click the order below to load it.": "Please click the order below to load it.",
  "Please click the order below to load or trash icon to delete.": "Please click the order below to load or trash icon to delete.",
  "Please configure the mail driver and settings.": "Please configure the mail driver and settings.",
  "Please configure the payment settings.": "Please configure the payment settings.",
  "Please configure the settings to parse scale barcodes.": "Please configure the settings to parse scale barcodes.",
  "Please confirm access to your account by entering one of your emergency recovery codes.": "Please confirm access to your account by entering one of your emergency recovery codes.",
  "Please confirm access to your account by entering the authentication code provided by your authenticator application.": "Please confirm access to your account by entering the authentication code provided by your authenticator application.",
  "Please confirm that you would like to delete the record?": "Please confirm that you would like to delete the record?",
  "Please confirm your subscription by clicking the button below:": "Please confirm your subscription by clicking the button below:",
  "Please contact us for more information.": "Please contact us for more information.",
  "Please contact us to arrange pickup at your convenience.": "Please contact us to arrange pickup at your convenience.",
  "Please copy your new API token. For your security, it won't be shown again.": "Please copy your new API token. For your security, it won't be shown again.",
  "Please edit the order item data below.": "Please edit the order item data below.",
  "Please edit to complete the stock count with checked excel file.": "Please edit to complete the stock count with checked excel file.",
  "Please enter your password to confirm you would like to log out of your other browser sessions across all of your devices.": "Please enter your password to confirm you would like to log out of your other browser sessions across all of your devices.",
  "Please fill in the form below to create an account.": "Please fill in the form below to create an account.",
  "Please fill in the form below to login.": "Please fill in the form below to login.",
  "Please fill in the form to confirm your password.": "Please fill in the form to confirm your password.",
  "Please fill in the form to get reset password link.": "Please fill in the form to get reset password link.",
  "Please fill in the form to login.": "Please fill in the form to login.",
  "Please fill in the form to register.": "Please fill in the form to register.",
  "Please fill in the form to reset your password.": "Please fill in the form to reset your password.",
  "Please fill the card details and submit the form.": "Please fill the card details and submit the form.",
  "Please fill the discount below to apply to form.": "Please fill the discount below to apply to form.",
  "Please fill the form below to add new record.": "Please fill the form below to add new record.",
  "Please fill the form below to make pay using card.": "Please fill the form below to make pay using card.",
  "Please fill the form below to send us message.": "Please fill the form below to send us message.",
  "Please fill the form below to {action} record.": "Please fill the form below to {action} record.",
  "Please fill the form below to {action} {record}.": "Please fill the form below to {action} {record}.",
  "Please fill the form to add record.": "Please fill the form to add record.",
  "Please fill the form to edit record.": "Please fill the form to edit record.",
  "Please fill the form to update record.": "Please fill the form to update record.",
  "Please fill the payment details to finalize.": "Please fill the payment details to finalize.",
  "Please go to payments to make payment.": "Please go to payments to make payment.",
  "Please login to access the shop.": "Please login to access the shop.",
  "Please login to make order.": "Please login to make order.",
  "Please login to use this payment method.": "Please login to use this payment method.",
  "Please make payment to complete the order.": "Please make payment to complete the order.",
  "Please make payment to complete your order.": "Please make payment to complete your order.",
  "Please navigate to the pages.": "Please navigate to the pages.",
  "Please open a register first!": "Please open a register first!",
  "Please prefer store name and email": "Please prefer store name and email",
  "Please provide coupon code.": "Please provide coupon code.",
  "Please provide pin code to remove item from order": "Please provide pin code to remove item from order",
  "Please provide shipping address, method and payment information to complete your order.": "Please provide shipping address, method and payment information to complete your order.",
  "Please provide the email address of the person you would like to add to this team.": "Please provide the email address of the person you would like to add to this team.",
  "Please Rate!": "Please Rate!",
  "Please review the data below": "Please review the data below",
  "Please review the day data below": "Please review the day data below",
  "Please review the details below.": "Please review the details below.",
  "Please review the records in the section.": "Please review the records in the section.",
  "Please review the year data below": "Please review the year data below",
  "Please select :choosable": "Please select :choosable",
  "Please select :variant": "Please select :variant",
  "Please select a store first!": "Please select a store first!",
  "Please select a table or enter reference number for takeaway/delivery.": "Please select a table or enter reference number for takeaway/delivery.",
  "Please select at least one data type to import": "Please select at least one data type to import",
  "Please select portion": "Please select portion",
  "Please select template!": "Please select template!",
  "Please select the category to load products": "Please select the category to load products",
  "Please select the desired filters below.": "Please select the desired filters below.",
  "Please select the variant to add item to order list.": "Please select the variant to add item to order list.",
  "Please select variant & click add": "Please select variant & click add",
  "Please set the settings to parse scale barcodes.": "Please set the settings to parse scale barcodes.",
  "Please test the connection first": "Please test the connection first",
  "Please type one time password below to login.": "Please type one time password below to login.",
  "Please type the cash in hand to open register.": "Please type the cash in hand to open register.",
  "Please type the pin code to perform this action.": "Please type the pin code to perform this action.",
  "Please type the reference to open form.": "Please type the reference to open form.",
  "Please type to quickly search for products.": "Please type to quickly search for products.",
  "Please type to search": "Please type to search",
  "Please update billing address first.": "Please update billing address first.",
  "Please update custom code for shop layout as you want": "Please update custom code for shop layout as you want",
  "Please update links for social media pages": "Please update links for social media pages",
  "Please update menus for footer section": "Please update menus for footer section",
  "Please update product shipping and return policies below": "Please update product shipping and return policies below",
  "Please update section menus below": "Please update section menus below",
  "Please update section {x} menus below": "Please update section {x} menus below",
  "Please update setting as you desire": "Please update setting as you desire",
  "Please update setting for banner": "Please update setting for banner",
  "Please update setting for homepage call to action section": "Please update setting for homepage call to action section",
  "Please update setting for homepage slider": "Please update setting for homepage slider",
  "Please update setting for pages menu in header": "Please update setting for pages menu in header",
  "Please update setting for SEO": "Please update setting for SEO",
  "Please update setting for shop": "Please update setting for shop",
  "Please update shop settings below": "Please update shop settings below",
  "Please update slide details below": "Please update slide details below",
  "Please update slide {x} details below": "Please update slide {x} details below",
  "Please update the details below": "Please update the details below",
  "Please update your billing address first.": "Please update your billing address first.",
  "Please upload the excel file to import records.": "Please upload the excel file to import records.",
  "Please use same image dimensions and content length for best results.": "Please use same image dimensions and content length for best results.",
  "Please verify your email address.": "Please verify your email address.",
  "Please view the app alerts below": "Please view the app alerts below",
  "Please view the customer users below.": "Please view the customer users below.",
  "Please view the details below": "Please view the details below",
  "Please view the payment by clicking the link below.": "Please view the payment by clicking the link below.",
  "Please view the purchase order by clicking the link below.": "Please view the purchase order by clicking the link below.",
  "Please view the quotation by clicking the link below.": "Please view the quotation by clicking the link below.",
  "Please view the register details below.": "Please view the register details below.",
  "Please view the return order by clicking the link below.": "Please view the return order by clicking the link below.",
  "Please view the supplier users below.": "Please view the supplier users below.",
  "Please view the transfer order by clicking the link below.": "Please view the transfer order by clicking the link below.",
  "Please view your sale by clicking the link below.": "Please view your sale by clicking the link below.",
  "Please view your sales, payments, purchases & expenses data in the chart below.": "Please view your sales, payments, purchases & expenses data in the chart below.",
  "Please view your transfer by clicking the link below.": "Please view your transfer by clicking the link below.",
  Plus,
  "PNG, JPG, JPEG, PDF up to 2MB": "PNG, JPG, JPEG, PDF up to 2MB",
  "Point of Sale": "Point of Sale",
  points,
  Points,
  Port,
  Portion,
  "Portion quantity change is not allowed. Please click the item name to add from item page.": "Portion quantity change is not allowed. Please click the item name to add from item page.",
  POS,
  "POS Orders": "POS Orders",
  "POS Sale": "POS Sale",
  "POS Screen": "POS Screen",
  "POS Settings": "POS Settings",
  "POS settings successfully saved.": "POS settings successfully saved.",
  "Postal / ZIP": "Postal / ZIP",
  "Postal/ZIP Code": "Postal/ZIP Code",
  "Postal Code": "Postal Code",
  "Postal Code/ZIP": "Postal Code/ZIP",
  "Postmark Token": "Postmark Token",
  Previous,
  Price,
  "Price * Tax Rate / (100 + Tax Rate) = Tax Amount": "Price * Tax Rate / (100 + Tax Rate) = Tax Amount",
  "Price * Tax Rate / 100 = Tax Amount": "Price * Tax Rate / 100 = Tax Amount",
  "Price Characters Length": "Price Characters Length",
  "Price Divide by": "Price Divide by",
  "Price group": "Price group",
  "Price Group": "Price Group",
  "Price Groups": "Price Groups",
  "Price Start Position": "Price Start Position",
  Print,
  "Print All": "Print All",
  "Print Bill": "Print Bill",
  "Printed at": "Printed at",
  "Printed by": "Printed by",
  "Print Order": "Print Order",
  "Print Receipt": "Print Receipt",
  "Print using POS Print Server": "Print using POS Print Server",
  "Print {x}": "Print {x}",
  Priority,
  "Privacy Policy": "Privacy Policy",
  Private,
  "Private Mode": "Private Mode",
  Problem,
  "Problem Description": "Problem Description",
  product,
  Product,
  "Product Code": "Product Code",
  "Product Details": "Product Details",
  "Product Features": "Product Features",
  "Product has been added to your cart.": "Product has been added to your cart.",
  "Product has been added to your wishlist.": "Product has been added to your wishlist.",
  "Product has been removed from your wishlist.": "Product has been removed from your wishlist.",
  "Product information": "Product information",
  "Product Labels": "Product Labels",
  "Product quantity sync for adjustment item.": "Product quantity sync for adjustment item.",
  Products,
  "Products Count": "Products Count",
  "Products Ids": "Products Ids",
  "Products in :category": "Products in :category",
  "Products of :brand": "Products of :brand",
  "Products Page Description": "Products Page Description",
  "Products Per Page": "Products Per Page",
  "Products Title": "Products Title",
  "Product to buy": "Product to buy",
  "Product to get": "Product to get",
  "Product Tracks": "Product Tracks",
  Profile,
  "Profile Information": "Profile Information",
  Profit,
  "Profit & Loss": "Profit & Loss",
  "Profit & Loss Report": "Profit & Loss Report",
  "Profit Margin": "Profit Margin",
  Progress,
  Promotion,
  "Promotional Products": "Promotional Products",
  "Promotion has expired or changed for free item named :item and removed from cart.": "Promotion has expired or changed for free item named :item and removed from cart.",
  Promotions,
  Properties,
  "Provider Name": "Provider Name",
  Public,
  purchase,
  Purchase,
  "Purchase Cost": "Purchase Cost",
  Purchased,
  "Purchase Date": "Purchase Date",
  "Purchase From": "Purchase From",
  "Purchase Items": "Purchase Items",
  "Purchase items are loaded, please choose only return ones.": "Purchase items are loaded, please choose only return ones.",
  "Purchase No. {x}": "Purchase No. {x}",
  "Purchase No/Ref": "Purchase No/Ref",
  "Purchase not found with No./ref {x}.": "Purchase not found with No./ref {x}.",
  "Purchase Order": "Purchase Order",
  "Purchase Return Orders": "Purchase Return Orders",
  "Purchase Returns": "Purchase Returns",
  Purchases,
  "Purchases Amount": "Purchases Amount",
  "Purchase Unit": "Purchase Unit",
  "QR code has been regenerated.": "QR code has been regenerated.",
  "QR Code Orders": "QR Code Orders",
  "QR Codes": "QR Codes",
  Qty,
  "Qty/Weight": "Qty/Weight",
  "Qty:": "Qty:",
  quantity,
  Quantity,
  "Quantity/Weight": "Quantity/Weight",
  "Quantity Fraction": "Quantity Fraction",
  "Quantity to buy": "Quantity to buy",
  "Quantity to get": "Quantity to get",
  "Quick Cash": "Quick Cash",
  "Quick Links": "Quick Links",
  Quotation,
  quotation,
  "Quotation Items": "Quotation Items",
  "Quotation No. {x}": "Quotation No. {x}",
  Quotations,
  "Quote To": "Quote To",
  Rack,
  "Rack Location": "Rack Location",
  Radio,
  Rate,
  "reached due limit": "reached due limit",
  "Read all records": "Read all records",
  "Read All Records": "Read All Records",
  "Recaptcha Key": "Recaptcha Key",
  "Recaptcha Secret": "Recaptcha Secret",
  Receipt,
  "Receipt/Sale View": "Receipt/Sale View",
  "Receipt Footer": "Receipt Footer",
  "Receipt Header": "Receipt Header",
  Received,
  "Received/Sent": "Received/Sent",
  "Received Amount": "Received Amount",
  "Received by": "Received by",
  "Received Date": "Received Date",
  "Received from": "Received from",
  "Recently Viewed": "Recently Viewed",
  Recipe,
  "Recipe Ingredients": "Recipe Ingredients",
  Record,
  record,
  Recoverable,
  "Recovery Code": "Recovery Code",
  Ref,
  reference,
  Reference,
  "Reference Number": "Reference Number",
  "Reference or Serial Number": "Reference or Serial Number",
  Regards,
  Regenerate,
  "Regenerate Recovery Codes": "Regenerate Recovery Codes",
  Region,
  Register,
  "Register already opened!": "Register already opened!",
  "Register an account": "Register an account",
  "Register Details": "Register Details",
  "Register Now": "Register Now",
  Registers,
  "Registration Number": "Registration Number",
  "Related Products": "Related Products",
  "Remember Me": "Remember Me",
  "Remember me": "Remember me",
  Remove,
  "Remove all items?": "Remove all items?",
  "Removed from adjustment": "Removed from adjustment",
  "Remove Icon": "Remove Icon",
  "Remove Logo": "Remove Logo",
  "Remove Photo": "Remove Photo",
  "Remove Team Member": "Remove Team Member",
  "Remove {x}": "Remove {x}",
  "Repair Order": "Repair Order",
  RepairOrder,
  "repair order": "repair order",
  "Repair Order Details": "Repair Order Details",
  "Repair Orders": "Repair Orders",
  "Repair Services": "Repair Services",
  "Report all sales at the end of day": "Report all sales at the end of day",
  Reports,
  "Report when sales are paid": "Report when sales are paid",
  "Require Country & State": "Require Country & State",
  Required,
  "Require this field": "Require this field",
  "Resend Key": "Resend Key",
  "Resend Verification Email": "Resend Verification Email",
  Reset,
  "Reset balance for deleting {payment}": "Reset balance for deleting {payment}",
  "Reset balance for Purchase #{id}": "Reset balance for Purchase #{id}",
  "Reset balance for restoring {payment}": "Reset balance for restoring {payment}",
  "Reset balance for Return Order #{id}": "Reset balance for Return Order #{id}",
  "Reset balance for {expense}": "Reset balance for {expense}",
  "Reset balance for {income}": "Reset balance for {income}",
  "Reset balance for {payment}": "Reset balance for {payment}",
  "Reset balance for {purchase}": "Reset balance for {purchase}",
  "Reset balance for {return_order}": "Reset balance for {return_order}",
  "Reset balance for {sale}": "Reset balance for {sale}",
  "Reset Filters": "Reset Filters",
  "Reset Password": "Reset Password",
  "Reset store stock for {stock_count}": "Reset store stock for {stock_count}",
  Resetting,
  Restaurant,
  "Restaurant Halls": "Restaurant Halls",
  "Restaurant Tables": "Restaurant Tables",
  "Return Amount": "Return Amount",
  "Return Date": "Return Date",
  "Returned From": "Returned From",
  "Returned To": "Returned To",
  "Return From": "Return From",
  "return order": "return order",
  "Return Order": "Return Order",
  "Return Order for Purchase": "Return Order for Purchase",
  "Return Order for Sale": "Return Order for Sale",
  "Return Order Items": "Return Order Items",
  "Return Order No. {x}": "Return Order No. {x}",
  "return orders": "return orders",
  "Return Orders": "Return Orders",
  "Return Policy": "Return Policy",
  "Return To": "Return To",
  return_order,
  Revenue,
  Role,
  "Role can not be modified.": "Role can not be modified.",
  Roles,
  Rounding,
  "Row Per Page": "Row Per Page",
  "RTL Support": "RTL Support",
  "RTL support has been changed.": "RTL support has been changed.",
  "SAC Number": "SAC Number",
  sale,
  Sale,
  "Sale has been saved, please proceed to payment.": "Sale has been saved, please proceed to payment.",
  "Sale has been saved, we are redirecting you to PayPal.": "Sale has been saved, we are redirecting you to PayPal.",
  "Sale Id": "Sale Id",
  "Sale is reported once payment is received.": "Sale is reported once payment is received.",
  "Sale is reported once saved.": "Sale is reported once saved.",
  "Sale Items": "Sale Items",
  "Sale items are loaded, please choose only return ones.": "Sale items are loaded, please choose only return ones.",
  "Sale No.": "Sale No.",
  "Sale No. {x}": "Sale No. {x}",
  "Sale No/Ref": "Sale No/Ref",
  "Sale not found with No./ref {x}.": "Sale not found with No./ref {x}.",
  "Sale Order": "Sale Order",
  "Sale Orders": "Sale Orders",
  "Sale Reference": "Sale Reference",
  "Sale Return Orders": "Sale Return Orders",
  "Sale Returns": "Sale Returns",
  Sales,
  "Sales & Orders": "Sales & Orders",
  "Sales & Purchases": "Sales & Purchases",
  "Sales Amount": "Sales Amount",
  "Sales are reported at the end of the day.": "Sales are reported at the end of the day.",
  "Sale Template": "Sale Template",
  "Sale Unit": "Sale Unit",
  "Same Country Percentage": "Same Country Percentage",
  "Same State": "Same State",
  Save,
  "Save & Close": "Save & Close",
  "Save & go to listing": "Save & go to listing",
  saved,
  "Saved.": "Saved.",
  "Scale Barcdoe Settings": "Scale Barcdoe Settings",
  "Scale Barcode": "Scale Barcode",
  "Scale Barcode Settings": "Scale Barcode Settings",
  "Scale barcode settings successfully saved.": "Scale barcode settings successfully saved.",
  "Scan barcode or search items for next": "Scan barcode or search items for next",
  "Scan Barcode or Search Product": "Scan Barcode or Search Product",
  "Scan barcode or type the variation code": "Scan barcode or type the variation code",
  "Scan barcode or type to search": "Scan barcode or type to search",
  "Scan barcode or type to search ingredient products": "Scan barcode or type to search ingredient products",
  "Scan barcode or type to search ingredients": "Scan barcode or type to search ingredients",
  "Scan to Order": "Scan to Order",
  "Scroll to view on menu & page change": "Scroll to view on menu & page change",
  Search,
  "Search Delay": "Search Delay",
  "Searching for results": "Searching for results",
  "Search Products": "Search Products",
  seats,
  Seats,
  "Secondary Name": "Secondary Name",
  Secret,
  Section,
  "Section Title": "Section Title",
  "Section {x}": "Section {x}",
  "Secure Area": "Secure Area",
  Select,
  "Select a fiscal service to configure.": "Select a fiscal service to configure.",
  "Select A New Icon": "Select A New Icon",
  "Select A New Logo": "Select A New Logo",
  "Select A New Photo": "Select A New Photo",
  "Select a tab": "Select a tab",
  "Select Currency": "Select Currency",
  "Select Data to Import": "Select Data to Import",
  "Selected File": "Selected File",
  "Selected table is not available. It is already assigned to Order #: {order_number}": "Selected table is not available. It is already assigned to Order #: {order_number}",
  "Select file": "Select file",
  "Select hall": "Select hall",
  "Select Service Type": "Select Service Type",
  "Select Shop Mode": "Select Shop Mode",
  "Select Store": "Select Store",
  "Select table or leave empty": "Select table or leave empty",
  "Select Taxes": "Select Taxes",
  "Select Technician": "Select Technician",
  "Select Variant": "Select Variant",
  "Select {x}": "Select {x}",
  "Sell Gift Card": "Sell Gift Card",
  "Selling Price": "Selling Price",
  "Sell To": "Sell To",
  "SendMail Path": "SendMail Path",
  "Send us message": "Send us message",
  Sent,
  "Sent at": "Sent at",
  "Sent by": "Sent by",
  "Sent to": "Sent to",
  "SEO Fields": "SEO Fields",
  "SEO Settings": "SEO Settings",
  SequenceNumber,
  Serial,
  "Serial No": "Serial No",
  "Serial Number": "Serial Number",
  "Serial Numbers": "Serial Numbers",
  "Server Error": "Server Error",
  Service,
  "Service Information": "Service Information",
  Services,
  "Service Type": "Service Type",
  "Service Types": "Service Types",
  "Service Unavailable": "Service Unavailable",
  service_type,
  "Set different price, quantity & taxes per stores": "Set different price, quantity & taxes per stores",
  "Set store stock for {stock_count}": "Set store stock for {stock_count}",
  Settings,
  "Settle unpaid order": "Settle unpaid order",
  "Setup Key": "Setup Key",
  Shipping,
  "Shipping & Return Policies": "Shipping & Return Policies",
  "Shipping Address": "Shipping Address",
  "Shipping and taxes calculated at checkout.": "Shipping and taxes calculated at checkout.",
  "Shipping Method": "Shipping Method",
  "Shipping Methods": "Shipping Methods",
  "Shipping Policy": "Shipping Policy",
  "Ship To": "Ship To",
  Shop,
  "Shop by": "Shop by",
  "Shop by Categories": "Shop by Categories",
  "Shop Custom Code": "Shop Custom Code",
  "Shop Home": "Shop Home",
  "Shop Mode": "Shop Mode",
  "Shop Module": "Shop Module",
  "Shopping Cart": "Shopping Cart",
  "Shop Sales": "Shop Sales",
  "Shop Settings": "Shop Settings",
  "Shop settings successfully saved.": "Shop settings successfully saved.",
  "Short Name": "Short Name",
  "Show code as QRCode": "Show code as QRCode",
  "Show discount column": "Show discount column",
  "show expiry date input while purchasing": "show expiry date input while purchasing",
  "Show Filters": "Show Filters",
  "Show image": "Show image",
  "Show in details": "Show in details",
  "Showing from {from} to {to} of total {total} records": "Showing from {from} to {to} of total {total} records",
  "Show in POS": "Show in POS",
  "Show in Shop": "Show in Shop",
  "Show menus as dropdown": "Show menus as dropdown",
  "Show on details view": "Show on details view",
  "Show order by default on small screens": "Show order by default on small screens",
  "Show Product Image": "Show Product Image",
  "Show Product Name": "Show Product Name",
  "Show Product Price": "Show Product Price",
  "Show Recovery Codes": "Show Recovery Codes",
  "Show Site Name": "Show Site Name",
  "Show Symbol": "Show Symbol",
  "Show symbol after amount": "Show symbol after amount",
  "Show tax column": "Show tax column",
  "Show taxes with zero value": "Show taxes with zero value",
  "Show tax summary": "Show tax summary",
  "Show this in offline payments": "Show this in offline payments",
  Sidebar,
  "Sign In": "Sign In",
  Signin,
  "Sign in": "Sign in",
  "Sign out": "Sign out",
  "Sign Up": "Sign Up",
  "Sign up": "Sign up",
  "Sign up for our newsletter": "Sign up for our newsletter",
  Simple,
  "Site is under maintenance, please visit us after few days.": "Site is under maintenance, please visit us after few days.",
  Size,
  size,
  Skills,
  "Skills (optional)": "Skills (optional)",
  Skipped,
  SKU,
  Slide,
  "Slider Settings": "Slider Settings",
  "Slide {x}": "Slide {x}",
  Slug,
  "SMTP Encryption": "SMTP Encryption",
  "SMTP Host": "SMTP Host",
  "SMTP Password": "SMTP Password",
  "SMTP Port": "SMTP Port",
  "SMTP Username": "SMTP Username",
  "Social Links": "Social Links",
  Sold,
  "Something went wrong! please try again.": "Something went wrong! please try again.",
  "Sorry!": "Sorry!",
  "Sorry, the page you are looking for could not be found.": "Sorry, the page you are looking for could not be found.",
  "Sorry, we are doing some maintenance. Please check back soon.": "Sorry, we are doing some maintenance. Please check back soon.",
  "Sorry, you are forbidden from accessing this page.": "Sorry, you are forbidden from accessing this page.",
  "Sort Order": "Sort Order",
  "So the net price will be 100 - 9.09 = 90.91": "So the net price will be 100 - 9.09 = 90.91",
  "So the net price will be 100 - 10 = 90.00": "So the net price will be 100 - 10 = 90.00",
  "Special requests, allergies, etc.": "Special requests, allergies, etc.",
  "Spend X Get Discount (SXGD)": "Spend X Get Discount (SXGD)",
  "Spend {amount} to get {discount} off": "Spend {amount} to get {discount} off",
  SSL,
  Staff,
  Standard,
  start,
  "Start Date": "Start Date",
  started,
  "Start Import": "Start Import",
  "Start Stock Count": "Start Stock Count",
  state: state$2,
  State,
  "Statistics Chart": "Statistics Chart",
  Status,
  Stock,
  "Stock Count": "Stock Count",
  "stock count": "stock count",
  "Stock count has already completed.": "Stock count has already completed.",
  "Stock Count No. {x}": "Stock Count No. {x}",
  "Stock Counts": "Stock Counts",
  "Stock Tracking": "Stock Tracking",
  "Stop Impersonating": "Stop Impersonating",
  stopped,
  Store,
  store,
  "Store Account": "Store Account",
  "Store has been selected.": "Store has been selected.",
  "Store has been unselected.": "Store has been unselected.",
  "Store Price Group": "Store Price Group",
  Stores,
  "Store these recovery codes in a secure password manager. They can be used to recover access to your account if your two factor authentication device is lost.": "Store these recovery codes in a secure password manager. They can be used to recover access to your account if your two factor authentication device is lost.",
  Street,
  "Street Address": "Street Address",
  "Street No.": "Street No.",
  "Stripe Amount": "Stripe Amount",
  "Stripe payment failed, :error": "Stripe payment failed, :error",
  "Stripe Payments Value": "Stripe Payments Value",
  "Stripe Publishable Key": "Stripe Publishable Key",
  "Stripe Secret Key": "Stripe Secret Key",
  "Stripe Terminal": "Stripe Terminal",
  "Stripe Terminal Amount": "Stripe Terminal Amount",
  Sub,
  Subcategories,
  Subcategory,
  Subject,
  Submit,
  Subscribe,
  Subtotal,
  Subtraction,
  "Subtraction/Damage/Expired/Lost": "Subtraction/Damage/Expired/Lost",
  Success,
  "Super Admin role can not be modified.": "Super Admin role can not be modified.",
  Supplier,
  "Supplier Group": "Supplier Group",
  "Supplier group": "Supplier group",
  "Supplier name with email already exists": "Supplier name with email already exists",
  "Supplier name with phone already exists": "Supplier name with phone already exists",
  "Supplier Part Id": "Supplier Part Id",
  Suppliers,
  "Suppliers Due": "Suppliers Due",
  "Supplier Statement": "Supplier Statement",
  Support,
  "Support Links": "Support Links",
  Surcharge,
  "Sure?": "Sure?",
  SXGD,
  "Symbol": "Symbol",
  Symbology,
  "Sync balance for Purchase #{id}": "Sync balance for Purchase #{id}",
  "Sync balance for Return Order #{id}": "Sync balance for Return Order #{id}",
  "Sync balance for {expense}": "Sync balance for {expense}",
  "Sync balance for {income}": "Sync balance for {income}",
  "Sync balance for {payment}": "Sync balance for {payment}",
  "Sync balance for {purchase}": "Sync balance for {purchase}",
  "Sync balance for {return_order}": "Sync balance for {return_order}",
  "Sync balance for {sale}": "Sync balance for {sale}",
  Syncing,
  "Sync {x} quantity for adjustment {id} item {i}": "Sync {x} quantity for adjustment {id} item {i}",
  System,
  "System will update the customer if it has the same name, phone and email otherwise new customer will be added.": "System will update the customer if it has the same name, phone and email otherwise new customer will be added.",
  "System will update the supplier if it has the same name, phone and email otherwise new supplier will be added.": "System will update the supplier if it has the same name, phone and email otherwise new supplier will be added.",
  Table,
  "Table Name": "Table Name",
  "Table QR Codes": "Table QR Codes",
  Tables,
  tables,
  Tax,
  tax,
  "Tax (Purchase Return)": "Tax (Purchase Return)",
  "Tax (Sale Return)": "Tax (Sale Return)",
  "Tax Amount": "Tax Amount",
  Taxes,
  "Taxes are included in price": "Taxes are included in price",
  "Tax Excl. amount": "Tax Excl. amount",
  "Tax Included in Price": "Tax Included in Price",
  "Tax is included in price": "Tax is included in price",
  "Tax Summary": "Tax Summary",
  "Team Details": "Team Details",
  "Team Members": "Team Members",
  "Team Name": "Team Name",
  "Team Owner": "Team Owner",
  "Team Settings": "Team Settings",
  technician,
  Technician,
  "Technician Comment": "Technician Comment",
  Technicians,
  "Tel:": "Tel:",
  Telegram,
  "Telegram User ID": "Telegram User ID",
  Template,
  "Template {x}": "Template {x}",
  "Tender Amount": "Tender Amount",
  "Terms of Service": "Terms of Service",
  Terrible,
  "Test Connection": "Test Connection",
  Text,
  Textarea,
  "Thank you!": "Thank you!",
  "Thank you for choosing our service.": "Thank you for choosing our service.",
  "Thank you for confirming your newsletter subscription!": "Thank you for confirming your newsletter subscription!",
  "Thank you for message! We will get back to you shortly.": "Thank you for message! We will get back to you shortly.",
  "Thank you very much!": "Thank you very much!",
  The,
  "The :attribute is required.": "The :attribute is required.",
  "The :attribute should be alphanumeric and may include dots, underscores, hyphens, and colons.": "The :attribute should be alphanumeric and may include dots, underscores, hyphens, and colons.",
  "The :attribute width & height must be equal (ratio 1:1).": "The :attribute width & height must be equal (ratio 1:1).",
  "The :product is out of stock.": "The :product is out of stock.",
  "The award points cannot be more than customer points.": "The award points cannot be more than customer points.",
  "The captcha is invalid. Please try again.": "The captcha is invalid. Please try again.",
  "The dark icon must be at least 48x48 pixels with a 1:1 ratio.": "The dark icon must be at least 48x48 pixels with a 1:1 ratio.",
  "The dark logo must be at least 180x60 pixels with a 3:1 ratio.": "The dark logo must be at least 180x60 pixels with a 3:1 ratio.",
  "The gift card amount is required.": "The gift card amount is required.",
  "The gift card number is required.": "The gift card number is required.",
  "The icon must be at least 48x48 pixels with a 1:1 ratio.": "The icon must be at least 48x48 pixels with a 1:1 ratio.",
  "The latest deals and savings, sent to your inbox weekly.": "The latest deals and savings, sent to your inbox weekly.",
  "The locale length should be 2 or 5 characters e.g. en or en-US.": "The locale length should be 2 or 5 characters e.g. en or en-US.",
  "The logo must be at least 180x60 pixels with a 3:1 ratio.": "The logo must be at least 180x60 pixels with a 3:1 ratio.",
  "The name has already been taken.": "The name has already been taken.",
  "The order has been deleted!": "The order has been deleted!",
  "The order has been saved!": "The order has been saved!",
  "The phone number is invalid.": "The phone number is invalid.",
  "The provided password does not match your current password.": "The provided password does not match your current password.",
  "The quantity is invalid.": "The quantity is invalid.",
  "The quantity is not available.": "The quantity is not available.",
  "There are no pending QR code orders at the moment.": "There are no pending QR code orders at the moment.",
  "The record can not be deleted.": "The record can not be deleted.",
  "The register has been closed!": "The register has been closed!",
  "There is no data to display!": "There is no data to display!",
  "There is no product to display": "There is no product to display",
  "There is no suspended order to display.": "There is no suspended order to display.",
  "The selected product is invalid.": "The selected product is invalid.",
  "These people have been invited to your team and have been sent an invitation email. They may join the team by accepting the email invitation.": "These people have been invited to your team and have been sent an invitation email. They may join the team by accepting the email invitation.",
  "These values will be used for quick cash buttons in POS.": "These values will be used for quick cash buttons in POS.",
  "The source and destination accounts must be different.": "The source and destination accounts must be different.",
  "The store has been selected!": "The store has been selected!",
  "The task has completed, {count} deleted and {failed} failed.": "The task has completed, {count} deleted and {failed} failed.",
  "The variation is not found.": "The variation is not found.",
  "This action cannot be undone.": "This action cannot be undone.",
  "This action is not reversible!": "This action is not reversible!",
  "This action will delete the data permanently.": "This action will delete the data permanently.",
  "This combination is not available.": "This combination is not available.",
  "This could result in email failure depending on your mail server and biller email address.": "This could result in email failure depending on your mail server and biller email address.",
  "This device": "This device",
  "This discount will override any products discount.": "This discount will override any products discount.",
  "This feature is disabled on demo.": "This feature is disabled on demo.",
  "This feature is not yet tested, please help us test in sandbox/test environment only.": "This feature is not yet tested, please help us test in sandbox/test environment only.",
  "This is a computer-generated document. No signature is required.": "This is a computer-generated document. No signature is required.",
  "This is a secure area of the application. Please confirm your password before continuing.": "This is a secure area of the application. Please confirm your password before continuing.",
  "This is not receipt but the bill to collect payment.": "This is not receipt but the bill to collect payment.",
  "This is not receipt but the bill to collect payment. Official receipt will be issued after receiving payment.": "This is not receipt but the bill to collect payment. Official receipt will be issued after receiving payment.",
  "This is state tax": "This is state tax",
  "This order cannot be accepted.": "This order cannot be accepted.",
  "This password does not match our records.": "This password does not match our records.",
  "This payment is not yet received": "This payment is not yet received",
  "This product has expiry date": "This product has expiry date",
  "This product has serial numbers": "This product has serial numbers",
  "This product has variants": "This product has variants",
  "This purchase has attached to return orders.": "This purchase has attached to return orders.",
  "This quotation has {x}": "This quotation has {x}",
  "This repair order has been cancelled": "This repair order has been cancelled",
  "This return order has attached to a purchase.": "This return order has attached to a purchase.",
  "This return order has attached to a sale.": "This return order has attached to a sale.",
  "This sale has attached to return orders.": "This sale has attached to return orders.",
  "This sale has {x}": "This sale has {x}",
  "This sale was added from shop module": "This sale was added from shop module",
  "This should be equal to 1 :currecny.": "This should be equal to 1 :currecny.",
  "This should be equal to one (1) {currency}.": "This should be equal to one (1) {currency}.",
  "This tax is recoverable": "This tax is recoverable",
  Three,
  Till,
  Time,
  Timeline,
  Timezone,
  Title,
  TLS,
  To,
  "To Account": "To Account",
  "To Buy": "To Buy",
  "To finish enabling two factor authentication, scan the following QR code using your phone's authenticator application or enter the setup key and provide the generated OTP code.": "To finish enabling two factor authentication, scan the following QR code using your phone's authenticator application or enter the setup key and provide the generated OTP code.",
  "To Get": "To Get",
  "Token Name": "Token Name",
  "Too Many Requests": "Too Many Requests",
  "Top Brands & Categories": "Top Brands & Categories",
  "Topup Gift Card": "Topup Gift Card",
  "To Store": "To Store",
  Total,
  "Total Amount": "Total Amount",
  "Total Discount Amount": "Total Discount Amount",
  "Total Items": "Total Items",
  "Total Payment": "Total Payment",
  "Total Payment Amount": "Total Payment Amount",
  "Total Purchases": "Total Purchases",
  "Total Quantity": "Total Quantity",
  "Total quantity": "Total quantity",
  Totals,
  "Total Sales": "Total Sales",
  "Total Sales Tax": "Total Sales Tax",
  "Total Tax Amount": "Total Tax Amount",
  "Track stock": "Track stock",
  Transaction,
  transaction,
  "Transaction Id": "Transaction Id",
  Transactions,
  transfer,
  Transfer,
  "Transfer Items": "Transfer Items",
  "Transfer No. {x}": "Transfer No. {x}",
  "Transfer Order": "Transfer Order",
  Transfers,
  "Transfer To": "Transfer To",
  Trashed,
  "Turnstile Key": "Turnstile Key",
  "Turnstile Secret": "Turnstile Secret",
  "Twilio SMS": "Twilio SMS",
  Twitter,
  "Twitter/X": "Twitter/X",
  Two,
  "Two-factor Confirmation": "Two-factor Confirmation",
  "Two Factor Authentication": "Two Factor Authentication",
  "Two factor authentication is now enabled. Scan the following QR code using your phone's authenticator application or enter the setup key.": "Two factor authentication is now enabled. Scan the following QR code using your phone's authenticator application or enter the setup key.",
  Type,
  "Type to search products": "Type to search products",
  "Unable to close register!": "Unable to close register!",
  "Unable to delete attachment!": "Unable to delete attachment!",
  Unauthorized,
  Unit,
  unit,
  "Unit Cost": "Unit Cost",
  "Unit Price": "Unit Price",
  Units,
  Unknown,
  "Unpaid {x}": "Unpaid {x}",
  "Unselect {x}": "Unselect {x}",
  Update,
  "Update All": "Update All",
  "Update all records": "Update all records",
  "Update All Records": "Update All Records",
  "Update Billing": "Update Billing",
  "Update Billing Address": "Update Billing Address",
  updated,
  "Update Halls": "Update Halls",
  "Update Password": "Update Password",
  "Update Tables": "Update Tables",
  "Update your account's profile information and email address.": "Update your account's profile information and email address.",
  "Update {x}": "Update {x}",
  Url,
  "Use an authentication code": "Use an authentication code",
  "Use a recovery code": "Use a recovery code",
  "Use Award Points": "Use Award Points",
  Used,
  User,
  "User :username has been logged in.": "User :username has been logged in.",
  "User cannot be deleted because they have associated records. Please reassign or delete those records first.": "User cannot be deleted because they have associated records. Please reassign or delete those records first.",
  "User is an Employee of {x}?": "User is an Employee of {x}?",
  "User Menu": "User Menu",
  "user menu": "user menu",
  username,
  Username,
  "Username or email address": "Username or email address",
  "User Registration": "User Registration",
  Users,
  "Use {x}": "Use {x}",
  Variant,
  Variants,
  "Variant {x}": "Variant {x}",
  Variation,
  variation,
  "Variation Code": "Variation Code",
  variations,
  Variations,
  "Verify Email": "Verify Email",
  "Video URL": "Video URL",
  View,
  "View Alerts": "View Alerts",
  "View All": "View All",
  "View all": "View all",
  "View all brands": "View all brands",
  "View all categories": "View all categories",
  "View all records": "View all records",
  "View Cart": "View Cart",
  "View Details": "View Details",
  "View Halls": "View Halls",
  "View notifications": "View notifications",
  "View Open Orders": "View Open Orders",
  "View Order": "View Order",
  "View Orders": "View Orders",
  "View Register Details": "View Register Details",
  "View Sales": "View Sales",
  "View Shopping Cart": "View Shopping Cart",
  "View Tables": "View Tables",
  "View {x}": "View {x}",
  "Waiting for parts": "Waiting for parts",
  "Warehouses → Stores": "Warehouses → Stores",
  "Warranty Expiry": "Warranty Expiry",
  "We are unable to process your request, :error": "We are unable to process your request, :error",
  "We are unable to process your request, token is missing.": "We are unable to process your request, token is missing.",
  "We are waiting for replacement parts to arrive. We will notify you once work resumes.": "We are waiting for replacement parts to arrive. We will notify you once work resumes.",
  "We couldn't find anything with term ':term'. Please try again.": "We couldn't find anything with term ':term'. Please try again.",
  "We have sent you a confirmation email. Please check your inbox to confirm your subscription.": "We have sent you a confirmation email. Please check your inbox to confirm your subscription.",
  "We have {p} products for {b} brands and {c} categories.": "We have {p} products for {b} brands and {c} categories.",
  Weight,
  "Weight Characters Length": "Weight Characters Length",
  "Weight Divide by": "Weight Divide by",
  "Weight Start Position": "Weight Start Position",
  "Weight Unit": "Weight Unit",
  "We will update the payment status after reviewing the submitted receipt.": "We will update the payment status after reviewing the submitted receipt.",
  "When two factor authentication is enabled, you will be prompted for a secure, random token during authentication. You may retrieve this token from your phone's Google Authenticator application.": "When two factor authentication is enabled, you will be prompted for a secure, random token during authentication. You may retrieve this token from your phone's Google Authenticator application.",
  "Whoops! Something went wrong.": "Whoops! Something went wrong.",
  "Whoops, something went wrong on our servers.": "Whoops, something went wrong on our servers.",
  "will earn": "will earn",
  "WIP: This page is still under development.": "WIP: This page is still under development.",
  Wishlist,
  "with purchase of :quantity": "with purchase of :quantity",
  "with purchase of :quantity :itemToBuy": "with purchase of :quantity :itemToBuy",
  "with purchase worth :amount": "with purchase worth :amount",
  "With Roles": "With Roles",
  "With Trashed": "With Trashed",
  "Work in progress": "Work in progress",
  Year,
  "Year-Month-SequenceNumber": "Year-Month-SequenceNumber",
  "Year-SequenceNumber": "Year-SequenceNumber",
  "Year/Month/SequenceNumber": "Year/Month/SequenceNumber",
  "Year/SequenceNumber": "Year/SequenceNumber",
  YearMonthSequenceNumber,
  "Year Overview": "Year Overview",
  YearSequenceNumber,
  Yes,
  "Yes, Delete": "Yes, Delete",
  "Yes, delete": "Yes, delete",
  "You already have opened register at {x}.": "You already have opened register at {x}.",
  "You are already subscribed to the newsletter.": "You are already subscribed to the newsletter.",
  "You are impersonating as {x}": "You are impersonating as {x}",
  "You are logged in successfully.": "You are logged in successfully.",
  "You are not allowed to update yourself. Please use profile to update your account OR login with different user to update this account.": "You are not allowed to update yourself. Please use profile to update your account OR login with different user to update this account.",
  "You are not authorized to perform this action.": "You are not authorized to perform this action.",
  "You are now impersonating as {x}.": "You are now impersonating as {x}.",
  "You can cover this area with advertisements.": "You can cover this area with advertisements.",
  "You can make payment to any of the following.": "You can make payment to any of the following.",
  "You cannot apply discount more than {x}%": "You cannot apply discount more than {x}%",
  "You cannot delete your own account while logged in.": "You cannot delete your own account while logged in.",
  "You cannot impersonate a Super Admin user.": "You cannot impersonate a Super Admin user.",
  "You can only have 5 addresses.": "You can only have 5 addresses.",
  "You can use markdown here.": "You can use markdown here.",
  "You do not have any order yet.": "You do not have any order yet.",
  "You do not have any payment yet.": "You do not have any payment yet.",
  "You do not have balance to make this payment.": "You do not have balance to make this payment.",
  "You do not have permission to delete order items.": "You do not have permission to delete order items.",
  "You do not have permission to delete orders.": "You do not have permission to delete orders.",
  "You have :items items with total quantity of :quantity in your cart.": "You have :items items with total quantity of :quantity in your cart.",
  "You have already added maximum number of variants.": "You have already added maximum number of variants.",
  "You have already opened register at another store.!": "You have already opened register at another store.!",
  "You have been invited to join the :team team!": "You have been invited to join the :team team!",
  "You have enabled two factor authentication.": "You have enabled two factor authentication.",
  "You have not enabled two factor authentication.": "You have not enabled two factor authentication.",
  "You have reached maximum unpaid orders limit.": "You have reached maximum unpaid orders limit.",
  "You have reached maximum unpaid orders limit. Please settle your unpaid orders first by visiting orders menu.": "You have reached maximum unpaid orders limit. Please settle your unpaid orders first by visiting orders menu.",
  "You have received this message from :name <:email>": "You have received this message from :name <:email>",
  "You have subscribed to the newsletter with the email: :email": "You have subscribed to the newsletter with the email: :email",
  "You have successfully registered, please check your email to verify your account.": "You have successfully registered, please check your email to verify your account.",
  "You have successfully unsubscribed from the newsletter.": "You have successfully unsubscribed from the newsletter.",
  "You may accept this invitation by clicking the button below:": "You may accept this invitation by clicking the button below:",
  "You may delete any of your existing tokens if they are no longer needed.": "You may delete any of your existing tokens if they are no longer needed.",
  "You must add your default currency :code": "You must add your default currency :code",
  "you must enable if you have state level taxes": "you must enable if you have state level taxes",
  "You must fill the name column.": "You must fill the name column.",
  "You must fill the {x} columns.": "You must fill the {x} columns.",
  "Your cart is empty!": "Your cart is empty!",
  "Your cart is empty.": "Your cart is empty.",
  "Your device has been delivered!": "Your device has been delivered!",
  "Your device is ready for pickup!": "Your device is ready for pickup!",
  "Your email address is unverified.": "Your email address is unverified.",
  "Your Name": "Your Name",
  "Your Order": "Your Order",
  "Your order has been submitted.": "Your order has been submitted.",
  "Your payment from {site} is ready. View it here: {url}": "Your payment from {site} is ready. View it here: {url}",
  "Your purchase order from {site} is ready. View it here: {url}": "Your purchase order from {site} is ready. View it here: {url}",
  "Your quotation from {site} is ready. View it here: {url}": "Your quotation from {site} is ready. View it here: {url}",
  "Your return order from {site} is ready. View it here: {url}": "Your return order from {site} is ready. View it here: {url}",
  "Your sale from {site} is ready. View it here: {url}": "Your sale from {site} is ready. View it here: {url}",
  "Your shopping cart has been cleared.": "Your shopping cart has been cleared.",
  "Your transfer order from {site} is ready. View it here: {url}": "Your transfer order from {site} is ready. View it here: {url}",
  "Your wishlist has been cleared.": "Your wishlist has been cleared.",
  YouTube,
  Youtube,
  "{a} {x} quantity for {id} item {i}": "{a} {x} quantity for {id} item {i}",
  "{discount} off": "{discount} off",
  "{models} have imported or updated.": "{models} have imported or updated.",
  "{model} cannot be {action}.": "{model} cannot be {action}.",
  "{model} cannot be {action}. It has an associated invoice.": "{model} cannot be {action}. It has an associated invoice.",
  "{model} cannot be {action}. It has associated repair orders.": "{model} cannot be {action}. It has associated repair orders.",
  "{model} cannot be {action}. The record is being used for relationships.": "{model} cannot be {action}. The record is being used for relationships.",
  "{model} has been successfully {action}.": "{model} has been successfully {action}.",
  "{name} does not have {quantity} in stock, available quantity {available}.": "{name} does not have {quantity} in stock, available quantity {available}.",
  "{name} have only {available} quantity available.": "{name} have only {available} quantity available.",
  "{record} has been {action}.": "{record} has been {action}.",
  "{record} has permanently deleted.": "{record} has permanently deleted.",
  "{x} added to order.": "{x} added to order.",
  "{x} Button Link": "{x} Button Link",
  "{x} Button Text": "{x} Button Text",
  "{x} Description": "{x} Description",
  "{x} Details": "{x} Details",
  "{x} Expenses": "{x} Expenses",
  "{x} Heading": "{x} Heading",
  "{x} Label": "{x} Label",
  "{x} Link": "{x} Link",
  "{x} No.": "{x} No.",
  "{x} pending QR order(s)": "{x} pending QR order(s)",
  "{x} products matched search term `{query}`, please view them below": "{x} products matched search term `{query}`, please view them below",
  "{x} Purchases": "{x} Purchases",
  "{x} Report": "{x} Report",
  "{x} Sales": "{x} Sales",
  "{x} Settings": "{x} Settings",
  "{x} Title": "{x} Title",
  "{x} will be deleted permanently from system.": "{x} will be deleted permanently from system."
};
const available = [{ "value": "ar", "label": "Arabic", "flag": "SA", "rtl": true }, { "value": "en", "label": "English", "flag": "US", "rtl": false }, { "value": "es", "label": "Spanish", "flag": "ES", "rtl": false }, { "value": "fr", "label": "French", "flag": "FR", "rtl": false }];
const languages = {
  available
};
const messages = { en };
const LANGUAGES = languages.available;
languages.available.map((l2) => l2.value).filter((l2) => l2 != "en");
const RTL_LOCALES = languages.available.filter((l2) => l2.rtl).map((l2) => l2.value);
const isRtlLocale = (locale) => RTL_LOCALES.includes(locale);
const getDocumentDirection = (locale) => isRtlLocale(locale) ? "rtl" : "ltr";
const i18n = createI18n({
  messages,
  legacy: false,
  missingWarn: false,
  mode: "composition",
  fallbackWarn: false,
  fallbackLocale: "en",
  warnHtmlMessage: false,
  locale: typeof window === "undefined" ? "en" : window.Locale || "en",
  missing: async (locale, key) => {
    console.log("Add to " + locale + '.json => "' + key + '": "' + key + '",');
  }
});
function t() {
  return t = Object.assign ? Object.assign.bind() : function(t3) {
    for (var e2 = 1; e2 < arguments.length; e2++) {
      var o2 = arguments[e2];
      for (var n2 in o2) ({}).hasOwnProperty.call(o2, n2) && (t3[n2] = o2[n2]);
    }
    return t3;
  }, t.apply(null, arguments);
}
const e = String.prototype.replace, o = /%20/g, n = { RFC1738: function(t3) {
  return e.call(t3, o, "+");
}, RFC3986: function(t3) {
  return String(t3);
} };
var r = "RFC3986";
const i = Object.prototype.hasOwnProperty, s = Array.isArray, u = /* @__PURE__ */ new WeakMap();
var l = function(t3, e2) {
  return u.set(t3, e2), t3;
};
function c(t3) {
  return u.has(t3);
}
var a = function(t3) {
  return u.get(t3);
}, f = function(t3, e2) {
  u.set(t3, e2);
};
const p = (function() {
  const t3 = [];
  for (let e2 = 0; e2 < 256; ++e2) t3.push("%" + ((e2 < 16 ? "0" : "") + e2.toString(16)).toUpperCase());
  return t3;
})(), y = function(t3, e2) {
  const o2 = e2 && e2.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
  for (let e3 = 0; e3 < t3.length; ++e3) void 0 !== t3[e3] && (o2[e3] = t3[e3]);
  return o2;
}, d = function t2(e2, o2, n2) {
  if (!o2) return e2;
  if ("object" != typeof o2) {
    if (s(e2)) e2.push(o2);
    else {
      if (!e2 || "object" != typeof e2) return [e2, o2];
      if (c(e2)) {
        var r2 = a(e2) + 1;
        e2[r2] = o2, f(e2, r2);
      } else (n2 && (n2.plainObjects || n2.allowPrototypes) || !i.call(Object.prototype, o2)) && (e2[o2] = true);
    }
    return e2;
  }
  if (!e2 || "object" != typeof e2) {
    if (c(o2)) {
      for (var u2 = Object.keys(o2), p2 = n2 && n2.plainObjects ? { __proto__: null, 0: e2 } : { 0: e2 }, d2 = 0; d2 < u2.length; d2++) p2[parseInt(u2[d2], 10) + 1] = o2[u2[d2]];
      return l(p2, a(o2) + 1);
    }
    return [e2].concat(o2);
  }
  let h2 = e2;
  return s(e2) && !s(o2) && (h2 = y(e2, n2)), s(e2) && s(o2) ? (o2.forEach(function(o3, r3) {
    if (i.call(e2, r3)) {
      const i2 = e2[r3];
      i2 && "object" == typeof i2 && o3 && "object" == typeof o3 ? e2[r3] = t2(i2, o3, n2) : e2.push(o3);
    } else e2[r3] = o3;
  }), e2) : Object.keys(o2).reduce(function(e3, r3) {
    const s2 = o2[r3];
    return e3[r3] = i.call(e3, r3) ? t2(e3[r3], s2, n2) : s2, e3;
  }, h2);
}, h = 1024, b = function(t3, e2, o2, n2) {
  if (c(t3)) {
    var r2 = a(t3) + 1;
    return t3[r2] = e2, f(t3, r2), t3;
  }
  var i2 = [].concat(t3, e2);
  return i2.length > o2 ? l(y(i2, { plainObjects: n2 }), i2.length - 1) : i2;
}, m = function(t3, e2) {
  if (s(t3)) {
    const o2 = [];
    for (let n2 = 0; n2 < t3.length; n2 += 1) o2.push(e2(t3[n2]));
    return o2;
  }
  return e2(t3);
}, g = Object.prototype.hasOwnProperty, w = { brackets: function(t3) {
  return t3 + "[]";
}, comma: "comma", indices: function(t3, e2) {
  return t3 + "[" + e2 + "]";
}, repeat: function(t3) {
  return t3;
} }, v = Array.isArray, j = Array.prototype.push, $ = function(t3, e2) {
  j.apply(t3, v(e2) ? e2 : [e2]);
}, E = Date.prototype.toISOString, O = { addQueryPrefix: false, allowDots: false, allowEmptyArrays: false, arrayFormat: "indices", charset: "utf-8", charsetSentinel: false, delimiter: "&", encode: true, encodeDotInKeys: false, encoder: function(t3, e2, o2, n2, r2) {
  if (0 === t3.length) return t3;
  let i2 = t3;
  if ("symbol" == typeof t3 ? i2 = Symbol.prototype.toString.call(t3) : "string" != typeof t3 && (i2 = String(t3)), "iso-8859-1" === o2) return escape(i2).replace(/%u[0-9a-f]{4}/gi, function(t4) {
    return "%26%23" + parseInt(t4.slice(2), 16) + "%3B";
  });
  let s2 = "";
  for (let t4 = 0; t4 < i2.length; t4 += h) {
    const e3 = i2.length >= h ? i2.slice(t4, t4 + h) : i2, o3 = [];
    for (let t5 = 0; t5 < e3.length; ++t5) {
      let n3 = e3.charCodeAt(t5);
      45 === n3 || 46 === n3 || 95 === n3 || 126 === n3 || n3 >= 48 && n3 <= 57 || n3 >= 65 && n3 <= 90 || n3 >= 97 && n3 <= 122 || "RFC1738" === r2 && (40 === n3 || 41 === n3) ? o3[o3.length] = e3.charAt(t5) : n3 < 128 ? o3[o3.length] = p[n3] : n3 < 2048 ? o3[o3.length] = p[192 | n3 >> 6] + p[128 | 63 & n3] : n3 < 55296 || n3 >= 57344 ? o3[o3.length] = p[224 | n3 >> 12] + p[128 | n3 >> 6 & 63] + p[128 | 63 & n3] : (t5 += 1, n3 = 65536 + ((1023 & n3) << 10 | 1023 & e3.charCodeAt(t5)), o3[o3.length] = p[240 | n3 >> 18] + p[128 | n3 >> 12 & 63] + p[128 | n3 >> 6 & 63] + p[128 | 63 & n3]);
    }
    s2 += o3.join("");
  }
  return s2;
}, encodeValuesOnly: false, format: r, formatter: n[r], indices: false, serializeDate: function(t3) {
  return E.call(t3);
}, skipNulls: false, strictNullHandling: false }, T = {}, R = function(t3, e2, o2, n2, r2, i2, s2, u2, l2, c2, a2, f2, p2, y2, d2, h2, b2, g2) {
  let w2 = t3, j2 = g2, E2 = 0, _2 = false;
  for (; void 0 !== (j2 = j2.get(T)) && !_2; ) {
    const e3 = j2.get(t3);
    if (E2 += 1, void 0 !== e3) {
      if (e3 === E2) throw new RangeError("Cyclic object value");
      _2 = true;
    }
    void 0 === j2.get(T) && (E2 = 0);
  }
  if ("function" == typeof c2 ? w2 = c2(e2, w2) : w2 instanceof Date ? w2 = p2(w2) : "comma" === o2 && v(w2) && (w2 = m(w2, function(t4) {
    return t4 instanceof Date ? p2(t4) : t4;
  })), null === w2) {
    if (i2) return l2 && !h2 ? l2(e2, O.encoder, b2, "key", y2) : e2;
    w2 = "";
  }
  if ("string" == typeof (I2 = w2) || "number" == typeof I2 || "boolean" == typeof I2 || "symbol" == typeof I2 || "bigint" == typeof I2 || (function(t4) {
    return !(!t4 || "object" != typeof t4 || !(t4.constructor && t4.constructor.isBuffer && t4.constructor.isBuffer(t4)));
  })(w2)) return l2 ? [d2(h2 ? e2 : l2(e2, O.encoder, b2, "key", y2)) + "=" + d2(l2(w2, O.encoder, b2, "value", y2))] : [d2(e2) + "=" + d2(String(w2))];
  var I2;
  const S2 = [];
  if (void 0 === w2) return S2;
  let A2;
  if ("comma" === o2 && v(w2)) h2 && l2 && (w2 = m(w2, l2)), A2 = [{ value: w2.length > 0 ? w2.join(",") || null : void 0 }];
  else if (v(c2)) A2 = c2;
  else {
    const t4 = Object.keys(w2);
    A2 = a2 ? t4.sort(a2) : t4;
  }
  const D2 = u2 ? e2.replace(/\./g, "%2E") : e2, k2 = n2 && v(w2) && 1 === w2.length ? D2 + "[]" : D2;
  if (r2 && v(w2) && 0 === w2.length) return k2 + "[]";
  for (let e3 = 0; e3 < A2.length; ++e3) {
    const m2 = A2[e3], j3 = "object" == typeof m2 && void 0 !== m2.value ? m2.value : w2[m2];
    if (s2 && null === j3) continue;
    const O2 = f2 && u2 ? m2.replace(/\./g, "%2E") : m2, _3 = v(w2) ? "function" == typeof o2 ? o2(k2, O2) : k2 : k2 + (f2 ? "." + O2 : "[" + O2 + "]");
    g2.set(t3, E2);
    const I3 = /* @__PURE__ */ new WeakMap();
    I3.set(T, g2), $(S2, R(j3, _3, o2, n2, r2, i2, s2, u2, "comma" === o2 && h2 && v(w2) ? null : l2, c2, a2, f2, p2, y2, d2, h2, b2, I3));
  }
  return S2;
}, _ = Object.prototype.hasOwnProperty, I = Array.isArray, S = { allowDots: false, allowEmptyArrays: false, allowPrototypes: false, allowSparse: false, arrayLimit: 20, charset: "utf-8", charsetSentinel: false, comma: false, decodeDotInKeys: false, decoder: function(t3, e2, o2) {
  const n2 = t3.replace(/\+/g, " ");
  if ("iso-8859-1" === o2) return n2.replace(/%[0-9a-f]{2}/gi, unescape);
  try {
    return decodeURIComponent(n2);
  } catch (t4) {
    return n2;
  }
}, delimiter: "&", depth: 5, duplicates: "combine", ignoreQueryPrefix: false, interpretNumericEntities: false, parameterLimit: 1e3, parseArrays: true, plainObjects: false, strictNullHandling: false }, A = function(t3) {
  return t3.replace(/&#(\d+);/g, function(t4, e2) {
    return String.fromCharCode(parseInt(e2, 10));
  });
}, D = function(t3, e2) {
  return t3 && "string" == typeof t3 && e2.comma && t3.indexOf(",") > -1 ? t3.split(",") : t3;
}, k = function(t3, e2, o2, n2) {
  if (!t3) return;
  const r2 = o2.allowDots ? t3.replace(/\.([^.[]+)/g, "[$1]") : t3, i2 = /(\[[^[\]]*])/g;
  let s2 = o2.depth > 0 && /(\[[^[\]]*])/.exec(r2);
  const u2 = s2 ? r2.slice(0, s2.index) : r2, l2 = [];
  if (u2) {
    if (!o2.plainObjects && _.call(Object.prototype, u2) && !o2.allowPrototypes) return;
    l2.push(u2);
  }
  let a2 = 0;
  for (; o2.depth > 0 && null !== (s2 = i2.exec(r2)) && a2 < o2.depth; ) {
    if (a2 += 1, !o2.plainObjects && _.call(Object.prototype, s2[1].slice(1, -1)) && !o2.allowPrototypes) return;
    l2.push(s2[1]);
  }
  return s2 && l2.push("[" + r2.slice(s2.index) + "]"), (function(t4, e3, o3, n3) {
    let r3 = n3 ? e3 : D(e3, o3);
    for (let e4 = t4.length - 1; e4 >= 0; --e4) {
      let n4;
      const i3 = t4[e4];
      if ("[]" === i3 && o3.parseArrays) n4 = c(r3) ? r3 : o3.allowEmptyArrays && ("" === r3 || o3.strictNullHandling && null === r3) ? [] : b([], r3, o3.arrayLimit, o3.plainObjects);
      else {
        n4 = o3.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
        const t5 = "[" === i3.charAt(0) && "]" === i3.charAt(i3.length - 1) ? i3.slice(1, -1) : i3, e5 = o3.decodeDotInKeys ? t5.replace(/%2E/g, ".") : t5, s3 = parseInt(e5, 10);
        o3.parseArrays || "" !== e5 ? !isNaN(s3) && i3 !== e5 && String(s3) === e5 && s3 >= 0 && o3.parseArrays && s3 <= o3.arrayLimit ? (n4 = [], n4[s3] = r3) : "__proto__" !== e5 && (n4[e5] = r3) : n4 = { 0: r3 };
      }
      r3 = n4;
    }
    return r3;
  })(l2, e2, o2, n2);
};
function N(t3, e2) {
  const o2 = /* @__PURE__ */ (function(t4) {
    return S;
  })();
  if ("" === t3 || null == t3) return o2.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
  const n2 = "string" == typeof t3 ? (function(t4, e3) {
    const o3 = { __proto__: null }, n3 = (e3.ignoreQueryPrefix ? t4.replace(/^\?/, "") : t4).split(e3.delimiter, Infinity === e3.parameterLimit ? void 0 : e3.parameterLimit);
    let r3, i3 = -1, s2 = e3.charset;
    if (e3.charsetSentinel) for (r3 = 0; r3 < n3.length; ++r3) 0 === n3[r3].indexOf("utf8=") && ("utf8=%E2%9C%93" === n3[r3] ? s2 = "utf-8" : "utf8=%26%2310003%3B" === n3[r3] && (s2 = "iso-8859-1"), i3 = r3, r3 = n3.length);
    for (r3 = 0; r3 < n3.length; ++r3) {
      if (r3 === i3) continue;
      const t5 = n3[r3], u2 = t5.indexOf("]="), l2 = -1 === u2 ? t5.indexOf("=") : u2 + 1;
      let c2, a2;
      -1 === l2 ? (c2 = e3.decoder(t5, S.decoder, s2, "key"), a2 = e3.strictNullHandling ? null : "") : (c2 = e3.decoder(t5.slice(0, l2), S.decoder, s2, "key"), a2 = m(D(t5.slice(l2 + 1), e3), function(t6) {
        return e3.decoder(t6, S.decoder, s2, "value");
      })), a2 && e3.interpretNumericEntities && "iso-8859-1" === s2 && (a2 = A(a2)), t5.indexOf("[]=") > -1 && (a2 = I(a2) ? [a2] : a2);
      const f2 = _.call(o3, c2);
      f2 && "combine" === e3.duplicates ? o3[c2] = b(o3[c2], a2, e3.arrayLimit, e3.plainObjects) : f2 && "last" !== e3.duplicates || (o3[c2] = a2);
    }
    return o3;
  })(t3, o2) : t3;
  let r2 = o2.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
  const i2 = Object.keys(n2);
  for (let e3 = 0; e3 < i2.length; ++e3) {
    const s2 = i2[e3], u2 = k(s2, n2[s2], o2, "string" == typeof t3);
    r2 = d(r2, u2, o2);
  }
  return true === o2.allowSparse ? r2 : (function(t4) {
    const e3 = [{ obj: { o: t4 }, prop: "o" }], o3 = [];
    for (let t5 = 0; t5 < e3.length; ++t5) {
      const n3 = e3[t5], r3 = n3.obj[n3.prop], i3 = Object.keys(r3);
      for (let t6 = 0; t6 < i3.length; ++t6) {
        const n4 = i3[t6], s2 = r3[n4];
        "object" == typeof s2 && null !== s2 && -1 === o3.indexOf(s2) && (e3.push({ obj: r3, prop: n4 }), o3.push(s2));
      }
    }
    return (function(t5) {
      for (; t5.length > 1; ) {
        const e4 = t5.pop(), o4 = e4.obj[e4.prop];
        if (s(o4)) {
          const t6 = [];
          for (let e5 = 0; e5 < o4.length; ++e5) void 0 !== o4[e5] && t6.push(o4[e5]);
          e4.obj[e4.prop] = t6;
        }
      }
    })(e3), t4;
  })(r2);
}
class x {
  constructor(t3, e2, o2) {
    var n2, r2;
    this.name = t3, this.definition = e2, this.bindings = null != (n2 = e2.bindings) ? n2 : {}, this.wheres = null != (r2 = e2.wheres) ? r2 : {}, this.config = o2;
  }
  get template() {
    const t3 = `${this.origin}/${this.definition.uri}`.replace(/\/+$/, "");
    return "" === t3 ? "/" : t3;
  }
  get origin() {
    return this.config.absolute ? this.definition.domain ? `${this.config.url.match(/^\w+:\/\//)[0]}${this.definition.domain}${this.config.port ? `:${this.config.port}` : ""}` : this.config.url : "";
  }
  get parameterSegments() {
    var t3, e2;
    return null != (t3 = null == (e2 = this.template.match(/{[^}?]+\??}/g)) ? void 0 : e2.map((t4) => ({ name: t4.replace(/{|\??}/g, ""), required: !/\?}$/.test(t4) }))) ? t3 : [];
  }
  matchesUrl(t3) {
    var e2;
    if (!this.definition.methods.includes("GET")) return false;
    const o2 = this.template.replace(/[.*+$()[\]]/g, "\\$&").replace(/(\/?){([^}?]*)(\??)}/g, (t4, e3, o3, n3) => {
      var r3;
      const i3 = `(?<${o3}>${(null == (r3 = this.wheres[o3]) ? void 0 : r3.replace(/(^\^)|(\$$)/g, "")) || "[^/?]+"})`;
      return n3 ? `(${e3}${i3})?` : `${e3}${i3}`;
    }).replace(/^\w+:\/\//, ""), [n2, r2] = t3.replace(/^\w+:\/\//, "").split("?"), i2 = null != (e2 = new RegExp(`^${o2}/?$`).exec(n2)) ? e2 : new RegExp(`^${o2}/?$`).exec(decodeURI(n2));
    if (i2) {
      for (const t4 in i2.groups) i2.groups[t4] = "string" == typeof i2.groups[t4] ? decodeURIComponent(i2.groups[t4]) : i2.groups[t4];
      return { params: i2.groups, query: N(r2) };
    }
    return false;
  }
  compile(t3) {
    return this.parameterSegments.length ? this.template.replace(/{([^}?]+)(\??)}/g, (e2, o2, n2) => {
      var r2, i2;
      if (!n2 && [null, void 0].includes(t3[o2])) throw new Error(`Ziggy error: '${o2}' parameter is required for route '${this.name}'.`);
      if (this.wheres[o2] && !new RegExp(`^${n2 ? `(${this.wheres[o2]})?` : this.wheres[o2]}$`).test(null != (i2 = t3[o2]) ? i2 : "")) throw new Error(`Ziggy error: '${o2}' parameter '${t3[o2]}' does not match required format '${this.wheres[o2]}' for route '${this.name}'.`);
      return encodeURI(null != (r2 = t3[o2]) ? r2 : "").replace(/%7C/g, "|").replace(/%25/g, "%").replace(/\$/g, "%24");
    }).replace(this.config.absolute ? /(\.[^/]+?)(\/\/)/ : /(^)(\/\/)/, "$1/").replace(/\/+$/, "") : this.template;
  }
}
class C extends String {
  constructor(e2, o2, n2 = true, r2) {
    if (super(), this.t = null != r2 ? r2 : "undefined" != typeof Ziggy ? Ziggy : null == globalThis ? void 0 : globalThis.Ziggy, !this.t && "undefined" != typeof document && document.getElementById("ziggy-routes-json") && (globalThis.Ziggy = JSON.parse(document.getElementById("ziggy-routes-json").textContent), this.t = globalThis.Ziggy), this.t = t({}, this.t, { absolute: n2 }), e2) {
      if (!this.t.routes[e2]) throw new Error(`Ziggy error: route '${e2}' is not in the route list.`);
      this.i = new x(e2, this.t.routes[e2], this.t), this.u = this.l(o2);
    }
  }
  toString() {
    const e2 = Object.keys(this.u).filter((t3) => !this.i.parameterSegments.some(({ name: e3 }) => e3 === t3)).filter((t3) => "_query" !== t3).reduce((e3, o2) => t({}, e3, { [o2]: this.u[o2] }), {});
    return this.i.compile(this.u) + (function(t3, e3) {
      let o2 = t3;
      const i2 = (function(t4) {
        if (!t4) return O;
        if (void 0 !== t4.allowEmptyArrays && "boolean" != typeof t4.allowEmptyArrays) throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
        if (void 0 !== t4.encodeDotInKeys && "boolean" != typeof t4.encodeDotInKeys) throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
        if (null != t4.encoder && "function" != typeof t4.encoder) throw new TypeError("Encoder has to be a function.");
        const e4 = t4.charset || O.charset;
        if (void 0 !== t4.charset && "utf-8" !== t4.charset && "iso-8859-1" !== t4.charset) throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
        let o3 = r;
        if (void 0 !== t4.format) {
          if (!g.call(n, t4.format)) throw new TypeError("Unknown format option provided.");
          o3 = t4.format;
        }
        const i3 = n[o3];
        let s3, u3 = O.filter;
        if (("function" == typeof t4.filter || v(t4.filter)) && (u3 = t4.filter), s3 = t4.arrayFormat in w ? t4.arrayFormat : "indices" in t4 ? t4.indices ? "indices" : "repeat" : O.arrayFormat, "commaRoundTrip" in t4 && "boolean" != typeof t4.commaRoundTrip) throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
        return { addQueryPrefix: "boolean" == typeof t4.addQueryPrefix ? t4.addQueryPrefix : O.addQueryPrefix, allowDots: void 0 === t4.allowDots ? true === t4.encodeDotInKeys || O.allowDots : !!t4.allowDots, allowEmptyArrays: "boolean" == typeof t4.allowEmptyArrays ? !!t4.allowEmptyArrays : O.allowEmptyArrays, arrayFormat: s3, charset: e4, charsetSentinel: "boolean" == typeof t4.charsetSentinel ? t4.charsetSentinel : O.charsetSentinel, commaRoundTrip: t4.commaRoundTrip, delimiter: void 0 === t4.delimiter ? O.delimiter : t4.delimiter, encode: "boolean" == typeof t4.encode ? t4.encode : O.encode, encodeDotInKeys: "boolean" == typeof t4.encodeDotInKeys ? t4.encodeDotInKeys : O.encodeDotInKeys, encoder: "function" == typeof t4.encoder ? t4.encoder : O.encoder, encodeValuesOnly: "boolean" == typeof t4.encodeValuesOnly ? t4.encodeValuesOnly : O.encodeValuesOnly, filter: u3, format: o3, formatter: i3, serializeDate: "function" == typeof t4.serializeDate ? t4.serializeDate : O.serializeDate, skipNulls: "boolean" == typeof t4.skipNulls ? t4.skipNulls : O.skipNulls, sort: "function" == typeof t4.sort ? t4.sort : null, strictNullHandling: "boolean" == typeof t4.strictNullHandling ? t4.strictNullHandling : O.strictNullHandling };
      })(e3);
      let s2, u2;
      "function" == typeof i2.filter ? (u2 = i2.filter, o2 = u2("", o2)) : v(i2.filter) && (u2 = i2.filter, s2 = u2);
      const l2 = [];
      if ("object" != typeof o2 || null === o2) return "";
      const c2 = w[i2.arrayFormat], a2 = "comma" === c2 && i2.commaRoundTrip;
      s2 || (s2 = Object.keys(o2)), i2.sort && s2.sort(i2.sort);
      const f2 = /* @__PURE__ */ new WeakMap();
      for (let t4 = 0; t4 < s2.length; ++t4) {
        const e4 = s2[t4];
        i2.skipNulls && null === o2[e4] || $(l2, R(o2[e4], e4, c2, a2, i2.allowEmptyArrays, i2.strictNullHandling, i2.skipNulls, i2.encodeDotInKeys, i2.encode ? i2.encoder : null, i2.filter, i2.sort, i2.allowDots, i2.serializeDate, i2.format, i2.formatter, i2.encodeValuesOnly, i2.charset, f2));
      }
      const p2 = l2.join(i2.delimiter);
      let y2 = true === i2.addQueryPrefix ? "?" : "";
      return i2.charsetSentinel && (y2 += "iso-8859-1" === i2.charset ? "utf8=%26%2310003%3B&" : "utf8=%E2%9C%93&"), p2.length > 0 ? y2 + p2 : "";
    })(t({}, e2, this.u._query), { addQueryPrefix: true, arrayFormat: "indices", encodeValuesOnly: true, skipNulls: true, encoder: (t3, e3) => "boolean" == typeof t3 ? Number(t3) : e3(t3) });
  }
  p(e2) {
    e2 ? this.t.absolute && e2.startsWith("/") && (e2 = this.h().host + e2) : e2 = this.m();
    let o2 = {};
    const [n2, r2] = Object.entries(this.t.routes).find(([t3, n3]) => o2 = new x(t3, n3, this.t).matchesUrl(e2)) || [void 0, void 0];
    return t({ name: n2 }, o2, { route: r2 });
  }
  m() {
    const { host: t3, pathname: e2, search: o2 } = this.h();
    return (this.t.absolute ? t3 + e2 : e2.replace(this.t.url.replace(/^\w*:\/\/[^/]+/, ""), "").replace(/^\/+/, "/")) + o2;
  }
  current(e2, o2) {
    const { name: n2, params: r2, query: i2, route: s2 } = this.p();
    if (!e2) return n2;
    const u2 = new RegExp(`^${e2.replace(/\./g, "\\.").replace(/\*/g, ".*")}$`).test(n2);
    if ([null, void 0].includes(o2) || !u2) return u2;
    const l2 = new x(n2, s2, this.t);
    o2 = this.l(o2, l2);
    const c2 = t({}, r2, i2);
    if (Object.values(o2).every((t3) => !t3) && !Object.values(c2).some((t3) => void 0 !== t3)) return true;
    const a2 = (t3, e3) => Object.entries(t3).every(([t4, o3]) => Array.isArray(o3) && Array.isArray(e3[t4]) ? o3.every((o4) => e3[t4].includes(o4) || e3[t4].includes(decodeURIComponent(o4))) : "object" == typeof o3 && "object" == typeof e3[t4] && null !== o3 && null !== e3[t4] ? a2(o3, e3[t4]) : e3[t4] == o3 || e3[t4] == decodeURIComponent(o3));
    return a2(o2, c2);
  }
  h() {
    var t3, e2, o2, n2, r2, i2;
    const { host: s2 = "", pathname: u2 = "", search: l2 = "" } = "undefined" != typeof window ? window.location : {};
    return { host: null != (t3 = null == (e2 = this.t.location) ? void 0 : e2.host) ? t3 : s2, pathname: null != (o2 = null == (n2 = this.t.location) ? void 0 : n2.pathname) ? o2 : u2, search: null != (r2 = null == (i2 = this.t.location) ? void 0 : i2.search) ? r2 : l2 };
  }
  get params() {
    const { params: e2, query: o2 } = this.p();
    return t({}, e2, o2);
  }
  get routeParams() {
    return this.p().params;
  }
  get queryParams() {
    return this.p().query;
  }
  has(t3) {
    return this.t.routes.hasOwnProperty(t3);
  }
  l(e2 = {}, o2 = this.i) {
    null != e2 || (e2 = {}), e2 = ["string", "number"].includes(typeof e2) ? [e2] : e2;
    const n2 = o2.parameterSegments.filter(({ name: t3 }) => !this.t.defaults[t3]);
    return Array.isArray(e2) ? e2 = e2.reduce((e3, o3, r2) => t({}, e3, n2[r2] ? { [n2[r2].name]: o3 } : "object" == typeof o3 ? o3 : { [o3]: "" }), {}) : 1 !== n2.length || e2[n2[0].name] || !e2.hasOwnProperty(Object.values(o2.bindings)[0]) && !e2.hasOwnProperty("id") || (e2 = { [n2[0].name]: e2 }), t({}, this.v(o2), this.j(e2, o2));
  }
  v(e2) {
    return e2.parameterSegments.filter(({ name: t3 }) => this.t.defaults[t3]).reduce((e3, { name: o2 }, n2) => t({}, e3, { [o2]: this.t.defaults[o2] }), {});
  }
  j(e2, { bindings: o2, parameterSegments: n2 }) {
    return Object.entries(e2).reduce((e3, [r2, i2]) => {
      if (!i2 || "object" != typeof i2 || Array.isArray(i2) || !n2.some(({ name: t3 }) => t3 === r2)) return t({}, e3, { [r2]: i2 });
      if (!i2.hasOwnProperty(o2[r2])) {
        if (!i2.hasOwnProperty("id")) throw new Error(`Ziggy error: object passed as '${r2}' parameter is missing route model binding key '${o2[r2]}'.`);
        o2[r2] = "id";
      }
      return t({}, e3, { [r2]: i2[o2[r2]] });
    }, {});
  }
  valueOf() {
    return this.toString();
  }
}
function P(t3, e2, o2, n2) {
  const r2 = new C(t3, e2, o2, n2);
  return t3 ? r2.toString() : r2;
}
const U = { install(t3, e2) {
  const o2 = (t4, o3, n2, r2 = e2) => P(t4, o3, n2, r2);
  parseInt(t3.version) > 2 ? (t3.config.globalProperties.route = o2, t3.provide("route", o2)) : t3.mixin({ methods: { route: o2 } });
} };
function shortcuts(e2) {
  if (e2.ctrlKey && e2.shiftKey) {
    switch (e2.code) {
      case "KeyS":
        router.visit(P("sales.index"));
        break;
      case "KeyC":
        router.visit(P("customers.index"));
        break;
    }
  } else if (e2.ctrlKey && e2.altKey) {
    switch (e2.code) {
      case "KeyX":
        router.visit(P("pos"));
        break;
      case "KeyS":
        router.visit(P("sales.create"));
        break;
      case "KeyC":
        router.visit(P("customers.index", { create: true }));
        break;
    }
  }
}
const _sfc_main$T = {
  __name: "ActionMessage",
  __ssrInlineRender: true,
  props: {
    on: Boolean
  },
  setup(__props) {
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<div${ssrRenderAttrs(_attrs)}><div class="text-sm text-gray-600 dark:text-gray-400" style="${ssrRenderStyle(__props.on ? null : { display: "none" })}">`);
      ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
      _push(`</div></div>`);
    };
  }
};
const _sfc_setup$T = _sfc_main$T.setup;
_sfc_main$T.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/ActionMessage.vue");
  return _sfc_setup$T ? _sfc_setup$T(props, ctx) : void 0;
};
const _export_sfc = (sfc, props) => {
  const target = sfc.__vccOpts || sfc;
  for (const [key, val] of props) {
    target[key] = val;
  }
  return target;
};
const _sfc_main$S = {};
function _sfc_ssrRender$5(_ctx, _push, _parent, _attrs) {
  _push(`<div${ssrRenderAttrs(mergeProps({ class: "md:col-span-1 lg:flex lg:justify-between" }, _attrs))}><div class="px-4 sm:px-0"><h3 class="text-lg font-medium text-gray-900 dark:text-gray-100">`);
  ssrRenderSlot(_ctx.$slots, "title", {}, null, _push, _parent);
  _push(`</h3><p class="mt-1 text-sm text-gray-600 dark:text-gray-400">`);
  ssrRenderSlot(_ctx.$slots, "description", {}, null, _push, _parent);
  _push(`</p></div><div class="px-4 sm:px-0">`);
  ssrRenderSlot(_ctx.$slots, "aside", {}, null, _push, _parent);
  _push(`</div></div>`);
}
const _sfc_setup$S = _sfc_main$S.setup;
_sfc_main$S.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/SectionTitle.vue");
  return _sfc_setup$S ? _sfc_setup$S(props, ctx) : void 0;
};
const SectionTitle = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["ssrRender", _sfc_ssrRender$5]]);
const _sfc_main$R = {
  __name: "ActionSection",
  __ssrInlineRender: true,
  setup(__props) {
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<div${ssrRenderAttrs(mergeProps({ class: "md:grid md:grid-cols-3 md:gap-6" }, _attrs))}>`);
      _push(ssrRenderComponent(SectionTitle, null, {
        title: withCtx((_2, _push2, _parent2, _scopeId) => {
          if (_push2) {
            ssrRenderSlot(_ctx.$slots, "title", {}, null, _push2, _parent2, _scopeId);
          } else {
            return [
              renderSlot(_ctx.$slots, "title")
            ];
          }
        }),
        description: withCtx((_2, _push2, _parent2, _scopeId) => {
          if (_push2) {
            ssrRenderSlot(_ctx.$slots, "description", {}, null, _push2, _parent2, _scopeId);
          } else {
            return [
              renderSlot(_ctx.$slots, "description")
            ];
          }
        }),
        _: 3
      }, _parent));
      _push(`<div class="mt-5 md:col-span-2 md:mt-0"><div class="bg-white px-4 py-5 shadow-sm sm:rounded-lg sm:p-6 dark:bg-gray-900">`);
      ssrRenderSlot(_ctx.$slots, "content", {}, null, _push, _parent);
      _push(`</div></div></div>`);
    };
  }
};
const _sfc_setup$R = _sfc_main$R.setup;
_sfc_main$R.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/ActionSection.vue");
  return _sfc_setup$R ? _sfc_setup$R(props, ctx) : void 0;
};
const _sfc_main$Q = {};
function _sfc_ssrRender$4(_ctx, _push, _parent, _attrs) {
  _push(`<!--[--><img${ssrRenderAttr("alt", _ctx.$page.props.settings.name || "SMA")}${ssrRenderAttr("src", _ctx.$page.props.settings.logo || "/img/sma.svg")} class="h-full max-h-16 min-h-5 max-w-52 dark:hidden"><img${ssrRenderAttr("alt", _ctx.$page.props.settings.name || "SMA")}${ssrRenderAttr("src", _ctx.$page.props.settings.logo_dark || "/img/sma-light.svg")} class="hidden h-full max-h-16 min-h-5 max-w-52 dark:block"><!--]-->`);
}
const _sfc_setup$Q = _sfc_main$Q.setup;
_sfc_main$Q.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/ApplicationLogo.vue");
  return _sfc_setup$Q ? _sfc_setup$Q(props, ctx) : void 0;
};
const ApplicationLogo = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["ssrRender", _sfc_ssrRender$4]]);
const _sfc_main$P = {};
function _sfc_ssrRender$3(_ctx, _push, _parent, _attrs) {
  _push(`<!--[--><img${ssrRenderAttr("alt", _ctx.$page.props.settings.short_name || "SMA")}${ssrRenderAttr("src", _ctx.$page.props.settings.icon || "/img/sma-icon.svg")} class="h-full max-h-16 min-h-5 dark:hidden"><img${ssrRenderAttr("alt", _ctx.$page.props.settings.short_name || "SMA")}${ssrRenderAttr("src", _ctx.$page.props.settings.icon_dark || "/img/sma-icon-light.svg")} class="hidden h-full max-h-16 min-h-5 dark:block"><!--]-->`);
}
const _sfc_setup$P = _sfc_main$P.setup;
_sfc_main$P.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/ApplicationMark.vue");
  return _sfc_setup$P ? _sfc_setup$P(props, ctx) : void 0;
};
const ApplicationMark = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["ssrRender", _sfc_ssrRender$3]]);
const _sfc_main$O = {};
function _sfc_ssrRender$2(_ctx, _push, _parent, _attrs) {
  _push(`<div${ssrRenderAttrs(mergeProps({ class: "flex min-h-screen flex-col items-center bg-gray-100 pt-6 sm:justify-center sm:pt-0 dark:bg-gray-900" }, _attrs))}><div class="h-16">`);
  ssrRenderSlot(_ctx.$slots, "logo", {}, null, _push, _parent);
  _push(`</div><div class="mt-6 w-full overflow-hidden bg-white px-6 py-4 shadow-md sm:max-w-md sm:rounded-lg dark:bg-gray-800">`);
  ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
  _push(`</div></div>`);
}
const _sfc_setup$O = _sfc_main$O.setup;
_sfc_main$O.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/AuthenticationCard.vue");
  return _sfc_setup$O ? _sfc_setup$O(props, ctx) : void 0;
};
const AuthenticationCard = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["ssrRender", _sfc_ssrRender$2]]);
const _sfc_main$N = {
  __name: "AuthenticationCardLogo",
  __ssrInlineRender: true,
  setup(__props) {
    return (_ctx, _push, _parent, _attrs) => {
      _push(ssrRenderComponent(unref(Link), mergeProps({ href: "/" }, _attrs), {
        default: withCtx((_2, _push2, _parent2, _scopeId) => {
          if (_push2) {
            _push2(ssrRenderComponent(ApplicationLogo, null, null, _parent2, _scopeId));
          } else {
            return [
              createVNode(ApplicationLogo)
            ];
          }
        }),
        _: 1
      }, _parent));
    };
  }
};
const _sfc_setup$N = _sfc_main$N.setup;
_sfc_main$N.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/AuthenticationCardLogo.vue");
  return _sfc_setup$N ? _sfc_setup$N(props, ctx) : void 0;
};
const _sfc_main$M = {
  __name: "Checkbox",
  __ssrInlineRender: true,
  props: {
    checked: {
      type: [Array, Boolean],
      default: false
    },
    value: {
      type: String,
      default: null
    }
  },
  emits: ["update:checked"],
  setup(__props, { emit: __emit }) {
    const emit = __emit;
    const props = __props;
    const proxyChecked = computed({
      get() {
        return props.checked;
      },
      set(val) {
        emit("update:checked", val);
      }
    });
    return (_ctx, _push, _parent, _attrs) => {
      let _temp0;
      _push(`<input${ssrRenderAttrs((_temp0 = mergeProps({
        value: __props.value,
        type: "checkbox",
        checked: Array.isArray(proxyChecked.value) ? ssrLooseContain(proxyChecked.value, __props.value) : proxyChecked.value,
        class: "rounded-sm border-gray-300 text-primary-600 shadow-xs focus:ring-primary-500 dark:border-gray-700 dark:bg-gray-900 dark:focus:ring-primary-600 dark:focus:ring-offset-gray-800"
      }, _attrs), mergeProps(_temp0, ssrGetDynamicModelProps(_temp0, proxyChecked.value))))}>`);
    };
  }
};
const _sfc_setup$M = _sfc_main$M.setup;
_sfc_main$M.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/Checkbox.vue");
  return _sfc_setup$M ? _sfc_setup$M(props, ctx) : void 0;
};
const _sfc_main$L = {
  __name: "Modal",
  __ssrInlineRender: true,
  props: {
    show: {
      type: Boolean,
      default: false
    },
    maxWidth: {
      type: String,
      default: "2xl"
    },
    closeable: {
      type: Boolean,
      default: true
    },
    backdrop: {
      type: Boolean,
      default: true
    },
    round: {
      type: Boolean,
      default: false
    },
    transparent: {
      type: Boolean,
      default: false
    },
    overflow: {
      type: Boolean,
      default: false
    }
  },
  emits: ["close"],
  setup(__props, { emit: __emit }) {
    const props = __props;
    const emit = __emit;
    ref(null);
    const showSlot = ref(props.show);
    watch(
      () => props.show,
      async () => {
        if (props.show) {
          document.body.classList.add("modal-open");
          document.body.style.overflow = "hidden";
          showSlot.value = true;
        } else {
          await nextTick();
          let rc = 0;
          document.querySelectorAll("body .modal").forEach((el) => {
            if (el.checkVisibility()) {
              rc++;
            }
          });
          if (rc <= 0) {
            document.body.style.overflow = null;
            document.body.classList.remove("modal-open");
          }
          setTimeout(() => {
            showSlot.value = false;
          }, 200);
        }
      }
    );
    const close = (backdrop) => {
      if (props.closeable) {
        emit("close");
      }
    };
    const closeOnEscape = (e2) => {
      if (e2.key === "Escape") {
        e2.preventDefault();
        if (props.show) {
          close();
        }
      }
    };
    onMounted(() => document.addEventListener("keydown", closeOnEscape));
    onUnmounted(() => {
      document.removeEventListener("keydown", closeOnEscape);
      document.body.style.overflow = null;
    });
    const maxWidthClass = computed(() => {
      return {
        sm: "sm:max-w-sm",
        md: "sm:max-w-md",
        lg: "sm:max-w-lg",
        xl: "sm:max-w-xl",
        "2xl": "sm:max-w-2xl",
        "3xl": "sm:max-w-3xl",
        "4xl": "sm:max-w-4xl"
      }[props.maxWidth];
    });
    return (_ctx, _push, _parent, _attrs) => {
      const _component_Icon = resolveComponent("Icon");
      ssrRenderTeleport(_push, (_push2) => {
        _push2(`<div class="modal m-0 min-h-full min-w-full overflow-y-auto bg-transparent backdrop:bg-transparent" style="${ssrRenderStyle(__props.show ? null : { display: "none" })}"><div class="fixed inset-0 z-50 overflow-y-auto px-4 py-6 sm:px-0 print:static" scroll-region><div class="fixed inset-0 transform backdrop-blur-xs transition-all print:hidden" style="${ssrRenderStyle(__props.show ? null : { display: "none" })}"><div class="absolute inset-0 bg-gray-100 opacity-75 dark:bg-gray-900"></div></div><div class="flex min-h-full items-center justify-center sm:px-4 lg:px-0 print:items-start sm:print:items-start" style="${ssrRenderStyle(__props.show ? null : { display: "none" })}"><div class="${ssrRenderClass([[
          { "overflow-hidden": !__props.overflow },
          __props.round ? "rounded-2xl" : "rounded-lg",
          __props.transparent ? "max-w-fit bg-transparent" : "bg-white shadow-xl dark:bg-gray-800 " + maxWidthClass.value
        ], "relative w-full transform transition-all sm:mx-auto print:shadow-none sm:print:w-full sm:print:max-w-full"])}" style="${ssrRenderStyle(__props.show ? null : { display: "none" })}">`);
        if (__props.closeable) {
          _push2(`<div class="absolute end-0 top-0 pe-4 pt-4 print:hidden"><button type="button" class="text-mute rounded-md hover:text-gray-700 focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 focus:outline-hidden dark:hover:text-gray-300"><span class="sr-only">${ssrInterpolate(_ctx.$t("Close"))}</span>`);
          _push2(ssrRenderComponent(_component_Icon, {
            name: "x",
            size: "size-6"
          }, null, _parent));
          _push2(`</button></div>`);
        } else {
          _push2(`<!---->`);
        }
        if (showSlot.value) {
          ssrRenderSlot(_ctx.$slots, "default", {}, null, _push2, _parent);
        } else {
          _push2(`<!---->`);
        }
        _push2(`</div></div></div></div>`);
      }, "body", false, _parent);
    };
  }
};
const _sfc_setup$L = _sfc_main$L.setup;
_sfc_main$L.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/Modal.vue");
  return _sfc_setup$L ? _sfc_setup$L(props, ctx) : void 0;
};
const _sfc_main$K = {
  __name: "ConfirmationModal",
  __ssrInlineRender: true,
  props: {
    show: {
      type: Boolean,
      default: false
    },
    maxWidth: {
      type: String,
      default: "2xl"
    },
    closeable: {
      type: Boolean,
      default: true
    }
  },
  emits: ["close"],
  setup(__props, { emit: __emit }) {
    const emit = __emit;
    const close = () => {
      emit("close");
    };
    return (_ctx, _push, _parent, _attrs) => {
      _push(ssrRenderComponent(_sfc_main$L, mergeProps({
        show: __props.show,
        "max-width": __props.maxWidth,
        closeable: __props.closeable,
        onClose: close
      }, _attrs), {
        default: withCtx((_2, _push2, _parent2, _scopeId) => {
          if (_push2) {
            _push2(`<div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4 dark:bg-gray-800"${_scopeId}><div class="sm:flex sm:items-start"${_scopeId}><div class="mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10"${_scopeId}><svg class="h-6 w-6 text-red-600 dark:text-red-400" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"${_scopeId}><path stroke-linecap="round" stroke-linejoin="round" d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"${_scopeId}></path></svg></div><div class="mt-3 text-center sm:ms-4 sm:mt-0 sm:text-start"${_scopeId}><h3 class="text-lg font-medium text-gray-900 dark:text-gray-100"${_scopeId}>`);
            ssrRenderSlot(_ctx.$slots, "title", {}, null, _push2, _parent2, _scopeId);
            _push2(`</h3><div class="mt-4 text-sm text-gray-600 dark:text-gray-400"${_scopeId}>`);
            ssrRenderSlot(_ctx.$slots, "content", {}, null, _push2, _parent2, _scopeId);
            _push2(`</div></div></div></div><div class="flex flex-row justify-end bg-gray-100 px-6 py-4 text-end dark:bg-gray-800"${_scopeId}>`);
            ssrRenderSlot(_ctx.$slots, "footer", {}, null, _push2, _parent2, _scopeId);
            _push2(`</div>`);
          } else {
            return [
              createVNode("div", { class: "bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4 dark:bg-gray-800" }, [
                createVNode("div", { class: "sm:flex sm:items-start" }, [
                  createVNode("div", { class: "mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10" }, [
                    (openBlock(), createBlock("svg", {
                      class: "h-6 w-6 text-red-600 dark:text-red-400",
                      xmlns: "http://www.w3.org/2000/svg",
                      fill: "none",
                      viewBox: "0 0 24 24",
                      "stroke-width": "1.5",
                      stroke: "currentColor"
                    }, [
                      createVNode("path", {
                        "stroke-linecap": "round",
                        "stroke-linejoin": "round",
                        d: "M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"
                      })
                    ]))
                  ]),
                  createVNode("div", { class: "mt-3 text-center sm:ms-4 sm:mt-0 sm:text-start" }, [
                    createVNode("h3", { class: "text-lg font-medium text-gray-900 dark:text-gray-100" }, [
                      renderSlot(_ctx.$slots, "title")
                    ]),
                    createVNode("div", { class: "mt-4 text-sm text-gray-600 dark:text-gray-400" }, [
                      renderSlot(_ctx.$slots, "content")
                    ])
                  ])
                ])
              ]),
              createVNode("div", { class: "flex flex-row justify-end bg-gray-100 px-6 py-4 text-end dark:bg-gray-800" }, [
                renderSlot(_ctx.$slots, "footer")
              ])
            ];
          }
        }),
        _: 3
      }, _parent));
    };
  }
};
const _sfc_setup$K = _sfc_main$K.setup;
_sfc_main$K.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/ConfirmationModal.vue");
  return _sfc_setup$K ? _sfc_setup$K(props, ctx) : void 0;
};
const _sfc_main$J = {
  __name: "DialogModal",
  __ssrInlineRender: true,
  props: {
    show: {
      type: Boolean,
      default: false
    },
    maxWidth: {
      type: String,
      default: "lg"
    },
    closeable: {
      type: Boolean,
      default: true
    },
    round: {
      type: Boolean,
      default: false
    }
  },
  emits: ["close"],
  setup(__props, { emit: __emit }) {
    const emit = __emit;
    const close = () => {
      emit("close");
    };
    return (_ctx, _push, _parent, _attrs) => {
      _push(ssrRenderComponent(_sfc_main$L, mergeProps({
        show: __props.show,
        "max-width": __props.maxWidth,
        round: __props.round,
        closeable: __props.closeable,
        onClose: close
      }, _attrs), {
        default: withCtx((_2, _push2, _parent2, _scopeId) => {
          if (_push2) {
            _push2(`<div class="px-6 py-4"${_scopeId}><div class="text-focus text-lg font-medium"${_scopeId}>`);
            ssrRenderSlot(_ctx.$slots, "title", {}, null, _push2, _parent2, _scopeId);
            _push2(`</div><div class="text-mute mt-4 text-sm"${_scopeId}>`);
            ssrRenderSlot(_ctx.$slots, "content", {}, null, _push2, _parent2, _scopeId);
            _push2(`</div></div><div class="flex flex-row justify-end bg-gray-100 px-6 py-4 text-end dark:bg-gray-950"${_scopeId}>`);
            ssrRenderSlot(_ctx.$slots, "footer", {}, null, _push2, _parent2, _scopeId);
            _push2(`</div>`);
          } else {
            return [
              createVNode("div", { class: "px-6 py-4" }, [
                createVNode("div", { class: "text-focus text-lg font-medium" }, [
                  renderSlot(_ctx.$slots, "title")
                ]),
                createVNode("div", { class: "text-mute mt-4 text-sm" }, [
                  renderSlot(_ctx.$slots, "content")
                ])
              ]),
              createVNode("div", { class: "flex flex-row justify-end bg-gray-100 px-6 py-4 text-end dark:bg-gray-950" }, [
                renderSlot(_ctx.$slots, "footer")
              ])
            ];
          }
        }),
        _: 3
      }, _parent));
    };
  }
};
const _sfc_setup$J = _sfc_main$J.setup;
_sfc_main$J.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/DialogModal.vue");
  return _sfc_setup$J ? _sfc_setup$J(props, ctx) : void 0;
};
const _sfc_main$I = {
  __name: "InputError",
  __ssrInlineRender: true,
  props: {
    message: String
  },
  setup(__props) {
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<div${ssrRenderAttrs(mergeProps(_attrs, {
        style: __props.message ? null : { display: "none" }
      }))}><p class="text-sm text-red-500 dark:text-red-500">${ssrInterpolate(__props.message)}</p></div>`);
    };
  }
};
const _sfc_setup$I = _sfc_main$I.setup;
_sfc_main$I.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/InputError.vue");
  return _sfc_setup$I ? _sfc_setup$I(props, ctx) : void 0;
};
const _sfc_main$H = {
  __name: "PrimaryButton",
  __ssrInlineRender: true,
  props: {
    type: {
      type: String,
      default: "submit"
    }
  },
  setup(__props) {
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<button${ssrRenderAttrs(mergeProps({
        type: __props.type,
        class: "btn-primary"
      }, _attrs))}>`);
      ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
      _push(`</button>`);
    };
  }
};
const _sfc_setup$H = _sfc_main$H.setup;
_sfc_main$H.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/PrimaryButton.vue");
  return _sfc_setup$H ? _sfc_setup$H(props, ctx) : void 0;
};
const _sfc_main$G = {
  __name: "SecondaryButton",
  __ssrInlineRender: true,
  props: {
    type: {
      type: String,
      default: "button"
    }
  },
  setup(__props) {
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<button${ssrRenderAttrs(mergeProps({
        type: __props.type,
        class: "btn-secondary"
      }, _attrs))}>`);
      ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
      _push(`</button>`);
    };
  }
};
const _sfc_setup$G = _sfc_main$G.setup;
_sfc_main$G.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/SecondaryButton.vue");
  return _sfc_setup$G ? _sfc_setup$G(props, ctx) : void 0;
};
const _sfc_main$F = {
  __name: "TextInput",
  __ssrInlineRender: true,
  props: {
    modelValue: String
  },
  emits: ["update:modelValue"],
  setup(__props, { expose: __expose }) {
    const input = ref(null);
    onMounted(() => {
      if (input.value.hasAttribute("autofocus")) {
        input.value.focus();
      }
    });
    __expose({ focus: () => input.value.focus() });
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<input${ssrRenderAttrs(mergeProps({
        ref_key: "input",
        ref: input,
        value: __props.modelValue,
        class: "rounded-md border-gray-300 shadow-xs focus:border-primary-500 focus:ring-primary-500 dark:border-gray-700 dark:bg-gray-900 dark:text-gray-300 dark:focus:border-primary-600 dark:focus:ring-primary-600"
      }, _attrs))}>`);
    };
  }
};
const _sfc_setup$F = _sfc_main$F.setup;
_sfc_main$F.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/TextInput.vue");
  return _sfc_setup$F ? _sfc_setup$F(props, ctx) : void 0;
};
const _sfc_main$E = {
  __name: "ConfirmsPassword",
  __ssrInlineRender: true,
  props: {
    title: { type: String },
    content: { type: String },
    button: { type: String }
  },
  emits: ["confirmed"],
  setup(__props, { emit: __emit }) {
    const emit = __emit;
    const confirmingPassword = ref(false);
    const form = reactive({
      password: "",
      error: "",
      processing: false
    });
    const passwordInput = ref(null);
    const confirmPassword = () => {
      form.processing = true;
      axios.post(route("password.confirm"), {
        password: form.password
      }).then(() => {
        form.processing = false;
        closeModal();
        nextTick().then(() => emit("confirmed"));
      }).catch((error) => {
        form.processing = false;
        form.error = error.response.data.errors.password[0];
        passwordInput.value.focus();
      });
    };
    const closeModal = () => {
      confirmingPassword.value = false;
      form.password = "";
      form.error = "";
    };
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<span${ssrRenderAttrs(_attrs)}><span>`);
      ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
      _push(`</span>`);
      _push(ssrRenderComponent(_sfc_main$J, {
        show: confirmingPassword.value,
        onClose: closeModal,
        maxWidth: "md"
      }, {
        title: withCtx((_2, _push2, _parent2, _scopeId) => {
          if (_push2) {
            _push2(`${ssrInterpolate(__props.title || _ctx.$t("Confirm Password"))}`);
          } else {
            return [
              createTextVNode(toDisplayString(__props.title || _ctx.$t("Confirm Password")), 1)
            ];
          }
        }),
        content: withCtx((_2, _push2, _parent2, _scopeId) => {
          if (_push2) {
            _push2(`${ssrInterpolate(__props.content || _ctx.$t("For your security, please confirm your password to continue."))} <div class="mt-4"${_scopeId}>`);
            _push2(ssrRenderComponent(_sfc_main$F, {
              type: "password",
              ref_key: "passwordInput",
              ref: passwordInput,
              placeholder: "Password",
              modelValue: form.password,
              "onUpdate:modelValue": ($event) => form.password = $event,
              class: "mt-1 block w-full",
              autocomplete: "current-password",
              onKeyup: confirmPassword
            }, null, _parent2, _scopeId));
            _push2(ssrRenderComponent(_sfc_main$I, {
              message: form.error,
              class: "mt-2"
            }, null, _parent2, _scopeId));
            _push2(`</div>`);
          } else {
            return [
              createTextVNode(toDisplayString(__props.content || _ctx.$t("For your security, please confirm your password to continue.")) + " ", 1),
              createVNode("div", { class: "mt-4" }, [
                createVNode(_sfc_main$F, {
                  type: "password",
                  ref_key: "passwordInput",
                  ref: passwordInput,
                  placeholder: "Password",
                  modelValue: form.password,
                  "onUpdate:modelValue": ($event) => form.password = $event,
                  class: "mt-1 block w-full",
                  autocomplete: "current-password",
                  onKeyup: withKeys(confirmPassword, ["enter"])
                }, null, 8, ["modelValue", "onUpdate:modelValue"]),
                createVNode(_sfc_main$I, {
                  message: form.error,
                  class: "mt-2"
                }, null, 8, ["message"])
              ])
            ];
          }
        }),
        footer: withCtx((_2, _push2, _parent2, _scopeId) => {
          if (_push2) {
            _push2(ssrRenderComponent(_sfc_main$G, { onClick: closeModal }, {
              default: withCtx((_3, _push3, _parent3, _scopeId2) => {
                if (_push3) {
                  _push3(`${ssrInterpolate(_ctx.$t("Cancel"))}`);
                } else {
                  return [
                    createTextVNode(toDisplayString(_ctx.$t("Cancel")), 1)
                  ];
                }
              }),
              _: 1
            }, _parent2, _scopeId));
            _push2(ssrRenderComponent(_sfc_main$H, {
              class: ["ms-3", { "opacity-25": form.processing }],
              disabled: form.processing,
              onClick: confirmPassword
            }, {
              default: withCtx((_3, _push3, _parent3, _scopeId2) => {
                if (_push3) {
                  _push3(`${ssrInterpolate(__props.button || _ctx.$t("Confirm"))}`);
                } else {
                  return [
                    createTextVNode(toDisplayString(__props.button || _ctx.$t("Confirm")), 1)
                  ];
                }
              }),
              _: 1
            }, _parent2, _scopeId));
          } else {
            return [
              createVNode(_sfc_main$G, { onClick: closeModal }, {
                default: withCtx(() => [
                  createTextVNode(toDisplayString(_ctx.$t("Cancel")), 1)
                ]),
                _: 1
              }),
              createVNode(_sfc_main$H, {
                class: ["ms-3", { "opacity-25": form.processing }],
                disabled: form.processing,
                onClick: confirmPassword
              }, {
                default: withCtx(() => [
                  createTextVNode(toDisplayString(__props.button || _ctx.$t("Confirm")), 1)
                ]),
                _: 1
              }, 8, ["class", "disabled"])
            ];
          }
        }),
        _: 1
      }, _parent));
      _push(`</span>`);
    };
  }
};
const _sfc_setup$E = _sfc_main$E.setup;
_sfc_main$E.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/ConfirmsPassword.vue");
  return _sfc_setup$E ? _sfc_setup$E(props, ctx) : void 0;
};
const _sfc_main$D = {
  __name: "DangerButton",
  __ssrInlineRender: true,
  props: {
    type: {
      type: String,
      default: "button"
    }
  },
  setup(__props) {
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<button${ssrRenderAttrs(mergeProps({
        type: __props.type,
        class: "btn-danger"
      }, _attrs))}>`);
      ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
      _push(`</button>`);
    };
  }
};
const _sfc_setup$D = _sfc_main$D.setup;
_sfc_main$D.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/DangerButton.vue");
  return _sfc_setup$D ? _sfc_setup$D(props, ctx) : void 0;
};
const _sfc_main$C = {
  __name: "Dropdown",
  __ssrInlineRender: true,
  props: {
    align: {
      type: String,
      default: "right"
    },
    valign: {
      type: String,
      default: "bottom"
    },
    width: {
      type: String,
      default: "48"
    },
    autoClose: {
      type: Boolean,
      default: true
    },
    contentClasses: {
      type: Array,
      default: () => ["py-1", "bg-white dark:bg-gray-700"]
    }
  },
  setup(__props) {
    const props = __props;
    const open = ref(false);
    const closeOnEscape = (e2) => {
      if (open.value && e2.key === "Escape") {
        open.value = false;
      }
    };
    onMounted(() => document.addEventListener("keydown", closeOnEscape));
    onUnmounted(() => document.removeEventListener("keydown", closeOnEscape));
    const widthClass = computed(() => {
      return {
        40: "w-40",
        48: "w-48",
        56: "w-56",
        64: "w-64"
      }[props.width.toString()];
    });
    const alignmentClasses = computed(() => {
      if (props.align === "left") {
        return "ltr:origin-top-left rtl:origin-top-right start-0";
      }
      if (props.align === "right") {
        return "ltr:origin-top-right rtl:origin-top-left end-0";
      }
      return "origin-top";
    });
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<div${ssrRenderAttrs(mergeProps({ class: "relative z-20" }, _attrs))}><div>`);
      ssrRenderSlot(_ctx.$slots, "trigger", {}, null, _push, _parent);
      _push(`</div><div class="fixed inset-0 z-40" style="${ssrRenderStyle(open.value ? null : { display: "none" })}"></div><div style="${ssrRenderStyle([
        { "display": "none" },
        open.value ? null : { display: "none" }
      ])}" class="${ssrRenderClass([[widthClass.value, alignmentClasses.value, __props.valign == "top" ? "bottom-full" : "top-full"], "absolute z-50 my-2 rounded-md shadow-lg"])}"><div class="${ssrRenderClass([__props.contentClasses, "rounded-md ring-1 ring-black/5"])}">`);
      ssrRenderSlot(_ctx.$slots, "content", {}, null, _push, _parent);
      _push(`</div></div></div>`);
    };
  }
};
const _sfc_setup$C = _sfc_main$C.setup;
_sfc_main$C.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/Dropdown.vue");
  return _sfc_setup$C ? _sfc_setup$C(props, ctx) : void 0;
};
const _sfc_main$B = {
  __name: "DropdownLink",
  __ssrInlineRender: true,
  props: {
    href: String,
    as: String
  },
  setup(__props) {
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<div${ssrRenderAttrs(_attrs)}>`);
      if (__props.as == "button") {
        _push(`<button type="submit" class="flex w-full px-4 py-2 text-start text-sm leading-5 text-gray-700 transition duration-150 ease-in-out hover:bg-gray-100 focus:bg-gray-100 focus:outline-hidden dark:text-gray-300 dark:hover:bg-gray-800 dark:focus:bg-gray-800">`);
        ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
        _push(`</button>`);
      } else if (__props.as == "a") {
        _push(`<a${ssrRenderAttr("href", __props.href)} class="flex px-4 py-2 text-sm leading-5 text-gray-700 transition duration-150 ease-in-out hover:bg-gray-100 focus:bg-gray-100 focus:outline-hidden dark:text-gray-300 dark:hover:bg-gray-800 dark:focus:bg-gray-800">`);
        ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
        _push(`</a>`);
      } else {
        _push(ssrRenderComponent(unref(Link), {
          href: __props.href,
          class: "flex px-4 py-2 text-sm leading-5 text-gray-700 transition duration-150 ease-in-out hover:bg-gray-100 focus:bg-gray-100 focus:outline-hidden dark:text-gray-300 dark:hover:bg-gray-800 dark:focus:bg-gray-800"
        }, {
          default: withCtx((_2, _push2, _parent2, _scopeId) => {
            if (_push2) {
              ssrRenderSlot(_ctx.$slots, "default", {}, null, _push2, _parent2, _scopeId);
            } else {
              return [
                renderSlot(_ctx.$slots, "default")
              ];
            }
          }),
          _: 3
        }, _parent));
      }
      _push(`</div>`);
    };
  }
};
const _sfc_setup$B = _sfc_main$B.setup;
_sfc_main$B.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/DropdownLink.vue");
  return _sfc_setup$B ? _sfc_setup$B(props, ctx) : void 0;
};
const _sfc_main$A = {
  __name: "FormSection",
  __ssrInlineRender: true,
  emits: ["submitted"],
  setup(__props) {
    const hasActions = computed(() => !!useSlots().actions);
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<div${ssrRenderAttrs(mergeProps({ class: "lg:grid lg:grid-cols-3 lg:gap-6" }, _attrs))}>`);
      _push(ssrRenderComponent(SectionTitle, null, {
        title: withCtx((_2, _push2, _parent2, _scopeId) => {
          if (_push2) {
            ssrRenderSlot(_ctx.$slots, "title", {}, null, _push2, _parent2, _scopeId);
          } else {
            return [
              renderSlot(_ctx.$slots, "title")
            ];
          }
        }),
        description: withCtx((_2, _push2, _parent2, _scopeId) => {
          if (_push2) {
            ssrRenderSlot(_ctx.$slots, "description", {}, null, _push2, _parent2, _scopeId);
          } else {
            return [
              renderSlot(_ctx.$slots, "description")
            ];
          }
        }),
        _: 3
      }, _parent));
      _push(`<div class="mt-5 lg:col-span-2 lg:mt-0"><form><div class="${ssrRenderClass([hasActions.value ? "sm:rounded-tl-md sm:rounded-tr-md" : "sm:rounded-md", "bg-white px-4 py-5 shadow-sm sm:p-6 dark:bg-gray-900"])}"><div class="grid grid-cols-6 gap-6">`);
      ssrRenderSlot(_ctx.$slots, "form", {}, null, _push, _parent);
      _push(`</div></div>`);
      if (hasActions.value) {
        _push(`<div class="flex items-center justify-end bg-gray-100 px-4 py-3 text-end shadow-sm sm:rounded-br-md sm:rounded-bl-md sm:px-6 dark:bg-gray-950">`);
        ssrRenderSlot(_ctx.$slots, "actions", {}, null, _push, _parent);
        _push(`</div>`);
      } else {
        _push(`<!---->`);
      }
      _push(`</form></div></div>`);
    };
  }
};
const _sfc_setup$A = _sfc_main$A.setup;
_sfc_main$A.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/FormSection.vue");
  return _sfc_setup$A ? _sfc_setup$A(props, ctx) : void 0;
};
const _sfc_main$z = {
  __name: "InputLabel",
  __ssrInlineRender: true,
  props: {
    value: String
  },
  setup(__props) {
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<label${ssrRenderAttrs(mergeProps({ class: "text-mute inline-block text-sm font-medium" }, _attrs))}>`);
      if (__props.value) {
        _push(`<span>${ssrInterpolate(__props.value)}</span>`);
      } else {
        _push(`<span>`);
        ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
        _push(`</span>`);
      }
      _push(`</label>`);
    };
  }
};
const _sfc_setup$z = _sfc_main$z.setup;
_sfc_main$z.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/InputLabel.vue");
  return _sfc_setup$z ? _sfc_setup$z(props, ctx) : void 0;
};
const _sfc_main$y = {};
function _sfc_ssrRender$1(_ctx, _push, _parent, _attrs) {
  _push(`<div${ssrRenderAttrs(mergeProps({ class: "hidden sm:block" }, _attrs))}><div class="py-8"><div class="border-t border-gray-200 dark:border-gray-700"></div></div></div>`);
}
const _sfc_setup$y = _sfc_main$y.setup;
_sfc_main$y.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/SectionBorder.vue");
  return _sfc_setup$y ? _sfc_setup$y(props, ctx) : void 0;
};
const SectionBorder = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["ssrRender", _sfc_ssrRender$1]]);
const _sfc_main$x = {
  __name: "ThemeSwitch",
  __ssrInlineRender: true,
  setup(__props) {
    let currentTheme = localStorage.getItem("theme") || "system";
    const changeTheme = (theme) => {
      currentTheme = theme;
      localStorage.setItem("theme", currentTheme);
      if (theme === "light") {
        document.documentElement.classList.remove("dark");
        document.documentElement.style.colorScheme = "light";
      } else if (theme === "dark") {
        document.documentElement.classList.add("dark");
        document.documentElement.style.colorScheme = "dark";
      } else if (window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches) {
        document.documentElement.classList.add("dark");
        document.documentElement.style.colorScheme = "dark";
      } else {
        document.documentElement.classList.remove("dark");
        document.documentElement.style.colorScheme = "light";
      }
    };
    return (_ctx, _push, _parent, _attrs) => {
      _push(ssrRenderComponent(_sfc_main$C, mergeProps({
        align: "right",
        width: "40"
      }, _attrs), {
        trigger: withCtx((_2, _push2, _parent2, _scopeId) => {
          if (_push2) {
            _push2(`<button type="button" class="-m-1.5 flex items-center p-1.5"${_scopeId}><span class="dark:hidden"${_scopeId}><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-5"${_scopeId}><path stroke-linecap="round" stroke-linejoin="round" d="M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"${_scopeId}></path></svg></span><span class="hidden dark:inline"${_scopeId}><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-5"${_scopeId}><path stroke-linecap="round" stroke-linejoin="round" d="M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"${_scopeId}></path></svg></span></button>`);
          } else {
            return [
              createVNode("button", {
                type: "button",
                class: "-m-1.5 flex items-center p-1.5"
              }, [
                createVNode("span", { class: "dark:hidden" }, [
                  (openBlock(), createBlock("svg", {
                    xmlns: "http://www.w3.org/2000/svg",
                    fill: "none",
                    viewBox: "0 0 24 24",
                    "stroke-width": "1.5",
                    stroke: "currentColor",
                    class: "size-5"
                  }, [
                    createVNode("path", {
                      "stroke-linecap": "round",
                      "stroke-linejoin": "round",
                      d: "M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"
                    })
                  ]))
                ]),
                createVNode("span", { class: "hidden dark:inline" }, [
                  (openBlock(), createBlock("svg", {
                    xmlns: "http://www.w3.org/2000/svg",
                    fill: "none",
                    viewBox: "0 0 24 24",
                    "stroke-width": "1.5",
                    stroke: "currentColor",
                    class: "size-5"
                  }, [
                    createVNode("path", {
                      "stroke-linecap": "round",
                      "stroke-linejoin": "round",
                      d: "M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"
                    })
                  ]))
                ])
              ])
            ];
          }
        }),
        content: withCtx((_2, _push2, _parent2, _scopeId) => {
          if (_push2) {
            _push2(`<div class="py-1"${_scopeId}>`);
            _push2(ssrRenderComponent(_sfc_main$B, {
              as: "button",
              onClick: () => changeTheme("light")
            }, {
              default: withCtx((_3, _push3, _parent3, _scopeId2) => {
                if (_push3) {
                  _push3(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="me-2 size-5"${_scopeId2}><path stroke-linecap="round" stroke-linejoin="round" d="M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"${_scopeId2}></path></svg> ${ssrInterpolate(_ctx.$t("Light"))}`);
                } else {
                  return [
                    (openBlock(), createBlock("svg", {
                      xmlns: "http://www.w3.org/2000/svg",
                      fill: "none",
                      viewBox: "0 0 24 24",
                      "stroke-width": "1.5",
                      stroke: "currentColor",
                      class: "me-2 size-5"
                    }, [
                      createVNode("path", {
                        "stroke-linecap": "round",
                        "stroke-linejoin": "round",
                        d: "M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"
                      })
                    ])),
                    createTextVNode(" " + toDisplayString(_ctx.$t("Light")), 1)
                  ];
                }
              }),
              _: 1
            }, _parent2, _scopeId));
            _push2(ssrRenderComponent(_sfc_main$B, {
              as: "button",
              onClick: () => changeTheme("dark")
            }, {
              default: withCtx((_3, _push3, _parent3, _scopeId2) => {
                if (_push3) {
                  _push3(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="me-2 size-5"${_scopeId2}><path stroke-linecap="round" stroke-linejoin="round" d="M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"${_scopeId2}></path></svg> ${ssrInterpolate(_ctx.$t("Dark"))}`);
                } else {
                  return [
                    (openBlock(), createBlock("svg", {
                      xmlns: "http://www.w3.org/2000/svg",
                      fill: "none",
                      viewBox: "0 0 24 24",
                      "stroke-width": "1.5",
                      stroke: "currentColor",
                      class: "me-2 size-5"
                    }, [
                      createVNode("path", {
                        "stroke-linecap": "round",
                        "stroke-linejoin": "round",
                        d: "M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"
                      })
                    ])),
                    createTextVNode(" " + toDisplayString(_ctx.$t("Dark")), 1)
                  ];
                }
              }),
              _: 1
            }, _parent2, _scopeId));
            _push2(ssrRenderComponent(_sfc_main$B, {
              as: "button",
              onClick: () => changeTheme("system")
            }, {
              default: withCtx((_3, _push3, _parent3, _scopeId2) => {
                if (_push3) {
                  _push3(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="me-2 size-5"${_scopeId2}><path stroke-linecap="round" stroke-linejoin="round" d="M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25"${_scopeId2}></path></svg> ${ssrInterpolate(_ctx.$t("System"))}`);
                } else {
                  return [
                    (openBlock(), createBlock("svg", {
                      xmlns: "http://www.w3.org/2000/svg",
                      fill: "none",
                      viewBox: "0 0 24 24",
                      "stroke-width": "1.5",
                      stroke: "currentColor",
                      class: "me-2 size-5"
                    }, [
                      createVNode("path", {
                        "stroke-linecap": "round",
                        "stroke-linejoin": "round",
                        d: "M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25"
                      })
                    ])),
                    createTextVNode(" " + toDisplayString(_ctx.$t("System")), 1)
                  ];
                }
              }),
              _: 1
            }, _parent2, _scopeId));
            _push2(`</div>`);
          } else {
            return [
              createVNode("div", { class: "py-1" }, [
                createVNode(_sfc_main$B, {
                  as: "button",
                  onClick: () => changeTheme("light")
                }, {
                  default: withCtx(() => [
                    (openBlock(), createBlock("svg", {
                      xmlns: "http://www.w3.org/2000/svg",
                      fill: "none",
                      viewBox: "0 0 24 24",
                      "stroke-width": "1.5",
                      stroke: "currentColor",
                      class: "me-2 size-5"
                    }, [
                      createVNode("path", {
                        "stroke-linecap": "round",
                        "stroke-linejoin": "round",
                        d: "M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"
                      })
                    ])),
                    createTextVNode(" " + toDisplayString(_ctx.$t("Light")), 1)
                  ]),
                  _: 1
                }, 8, ["onClick"]),
                createVNode(_sfc_main$B, {
                  as: "button",
                  onClick: () => changeTheme("dark")
                }, {
                  default: withCtx(() => [
                    (openBlock(), createBlock("svg", {
                      xmlns: "http://www.w3.org/2000/svg",
                      fill: "none",
                      viewBox: "0 0 24 24",
                      "stroke-width": "1.5",
                      stroke: "currentColor",
                      class: "me-2 size-5"
                    }, [
                      createVNode("path", {
                        "stroke-linecap": "round",
                        "stroke-linejoin": "round",
                        d: "M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"
                      })
                    ])),
                    createTextVNode(" " + toDisplayString(_ctx.$t("Dark")), 1)
                  ]),
                  _: 1
                }, 8, ["onClick"]),
                createVNode(_sfc_main$B, {
                  as: "button",
                  onClick: () => changeTheme("system")
                }, {
                  default: withCtx(() => [
                    (openBlock(), createBlock("svg", {
                      xmlns: "http://www.w3.org/2000/svg",
                      fill: "none",
                      viewBox: "0 0 24 24",
                      "stroke-width": "1.5",
                      stroke: "currentColor",
                      class: "me-2 size-5"
                    }, [
                      createVNode("path", {
                        "stroke-linecap": "round",
                        "stroke-linejoin": "round",
                        d: "M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25"
                      })
                    ])),
                    createTextVNode(" " + toDisplayString(_ctx.$t("System")), 1)
                  ]),
                  _: 1
                }, 8, ["onClick"])
              ])
            ];
          }
        }),
        _: 1
      }, _parent));
    };
  }
};
const _sfc_setup$x = _sfc_main$x.setup;
_sfc_main$x.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Jet/ThemeSwitch.vue");
  return _sfc_setup$x ? _sfc_setup$x(props, ctx) : void 0;
};
const _sfc_main$w = {
  __name: "Actions",
  __ssrInlineRender: true,
  props: {
    row: { type: Object },
    record: { type: String },
    deleted: { type: Boolean },
    editRow: { type: Function },
    deleting: { type: Boolean },
    permission: { type: String },
    deleteRow: { type: Function }
  },
  setup(__props) {
    const props = __props;
    const confirm = ref(false);
    watch(
      () => props.deleted,
      (value) => {
        console.log("watch deleted", value);
        if (value == props.row.id) {
          confirm.value = false;
        }
      }
    );
    function deleteRecord(row) {
      props.deleteRow(row);
    }
    return (_ctx, _push, _parent, _attrs) => {
      const _component_Icon = resolveComponent("Icon");
      _push(`<div${ssrRenderAttrs(mergeProps({ class: "text-mute flex items-center gap-4" }, _attrs))}>`);
      if (__props.editRow && _ctx.$can("update-" + __props.permission)) {
        _push(`<button type="button" class="link">`);
        _push(ssrRenderComponent(_component_Icon, { name: "edit-o" }, null, _parent));
        _push(`</button>`);
      } else {
        _push(`<!---->`);
      }
      if (__props.deleteRow && _ctx.$can("delete-" + __props.permission)) {
        _push(`<button type="button">`);
        if (__props.row.deleted_at) {
          _push(ssrRenderComponent(_component_Icon, {
            name: "trash",
            class: "link-red"
          }, null, _parent));
        } else {
          _push(ssrRenderComponent(_component_Icon, {
            name: "trash-o",
            class: "link-red"
          }, null, _parent));
        }
        _push(`</button>`);
      } else {
        _push(`<!---->`);
      }
      _push(ssrRenderComponent(unref(_sfc_main$J), {
        show: confirm.value,
        onClose: ($event) => confirm.value = false,
        "max-width": "sm",
        backdrop: !__props.deleting,
        closeable: !__props.deleting
      }, {
        title: withCtx((_2, _push2, _parent2, _scopeId) => {
          if (_push2) {
            _push2(`<span class="text-red-500"${_scopeId}>${ssrInterpolate(_ctx.$t("Delete {x}", { x: __props.record || _ctx.$t("record") }))}? </span>`);
          } else {
            return [
              createVNode("span", { class: "text-red-500" }, toDisplayString(_ctx.$t("Delete {x}", { x: __props.record || _ctx.$t("record") })) + "? ", 1)
            ];
          }
        }),
        content: withCtx((_2, _push2, _parent2, _scopeId) => {
          if (_push2) {
            _push2(`<p${_scopeId}>${ssrInterpolate(_ctx.$t("Are you sure you want to delete the {record}?", { record: __props.record || _ctx.$t("record") }))}</p>`);
            if (__props.row.deleted_at) {
              _push2(`<div class="mt-4 font-extrabold text-red-500"${_scopeId}><p${_scopeId}>${ssrInterpolate(_ctx.$t("{x} will be deleted permanently from system.", { x: __props.record || _ctx.$t("Record") }))}</p><p class="mt-2"${_scopeId}>${ssrInterpolate(_ctx.$t("This action is not reversible!", { x: __props.record || _ctx.$t("Record") }))}</p></div>`);
            } else {
              _push2(`<!---->`);
            }
          } else {
            return [
              createVNode("p", null, toDisplayString(_ctx.$t("Are you sure you want to delete the {record}?", { record: __props.record || _ctx.$t("record") })), 1),
              __props.row.deleted_at ? (openBlock(), createBlock("div", {
                key: 0,
                class: "mt-4 font-extrabold text-red-500"
              }, [
                createVNode("p", null, toDisplayString(_ctx.$t("{x} will be deleted permanently from system.", { x: __props.record || _ctx.$t("Record") })), 1),
                createVNode("p", { class: "mt-2" }, toDisplayString(_ctx.$t("This action is not reversible!", { x: __props.record || _ctx.$t("Record") })), 1)
              ])) : createCommentVNode("", true)
            ];
          }
        }),
        footer: withCtx((_2, _push2, _parent2, _scopeId) => {
          if (_push2) {
            _push2(ssrRenderComponent(unref(_sfc_main$G), {
              onClick: ($event) => confirm.value = false,
              class: { "opacity-25": __props.deleting },
              disabled: __props.deleting
            }, {
              default: withCtx((_3, _push3, _parent3, _scopeId2) => {
                if (_push3) {
                  _push3(`${ssrInterpolate(_ctx.$t("Cancel"))}`);
                } else {
                  return [
                    createTextVNode(toDisplayString(_ctx.$t("Cancel")), 1)
                  ];
                }
              }),
              _: 1
            }, _parent2, _scopeId));
            _push2(ssrRenderComponent(unref(_sfc_main$D), {
              class: ["ms-3", { "opacity-25": __props.deleting }],
              onClick: ($event) => deleteRecord(__props.row),
              disabled: __props.deleting
            }, {
              default: withCtx((_3, _push3, _parent3, _scopeId2) => {
                if (_push3) {
                  _push3(`${ssrInterpolate(_ctx.$t("Delete {x}", { x: __props.record || _ctx.$t("record") }))}`);
                } else {
                  return [
                    createTextVNode(toDisplayString(_ctx.$t("Delete {x}", { x: __props.record || _ctx.$t("record") })), 1)
                  ];
                }
              }),
              _: 1
            }, _parent2, _scopeId));
          } else {
            return [
              createVNode(unref(_sfc_main$G), {
                onClick: ($event) => confirm.value = false,
                class: { "opacity-25": __props.deleting },
                disabled: __props.deleting
              }, {
                default: withCtx(() => [
                  createTextVNode(toDisplayString(_ctx.$t("Cancel")), 1)
                ]),
                _: 1
              }, 8, ["onClick", "class", "disabled"]),
              createVNode(unref(_sfc_main$D), {
                class: ["ms-3", { "opacity-25": __props.deleting }],
                onClick: ($event) => deleteRecord(__props.row),
                disabled: __props.deleting
              }, {
                default: withCtx(() => [
                  createTextVNode(toDisplayString(_ctx.$t("Delete {x}", { x: __props.record || _ctx.$t("record") })), 1)
                ]),
                _: 1
              }, 8, ["onClick", "class", "disabled"])
            ];
          }
        }),
        _: 1
      }, _parent));
      _push(`</div>`);
    };
  }
};
const _sfc_setup$w = _sfc_main$w.setup;
_sfc_main$w.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/Actions.vue");
  return _sfc_setup$w ? _sfc_setup$w(props, ctx) : void 0;
};
const isClient = typeof window !== "undefined";
const $capitalize = (string) => {
  const res = string.split(" ");
  for (let i2 = 0; i2 < res.length; i2++) {
    res[i2] = res[i2][0].toUpperCase() + res[i2].substr(1);
  }
  return res.join(" ");
};
const $address = (row) => {
  if (!row) {
    return "";
  }
  return `${row.lot_no || ""} ${row.street || ""} ${row.address_line_1 || ""} ${row.address_line_2 || ""} ${row.city || ""} ${row.postal_code || ""} ${row.state?.name || ""} ${row.country?.name || ""}`;
};
const $decimal = (amount, format = false) => {
  amount = number_format(amount, usePage().props.settings?.fraction || 0);
  if (format) {
    return Number(amount);
  }
  return amount;
};
const $decimal_qty = (amount, format = false) => {
  amount = number_format(amount, usePage().props.settings?.quantity_fraction || 0);
  if (format) {
    return Number(amount);
  }
  return amount;
};
const $meta = (meta) => {
  meta = Object.keys(meta).sort().reduce((r2, k2) => (r2[k2] = meta[k2], r2), {});
  return Object.keys(meta).map((key) => key + ": " + meta[key]).join(", ");
};
const $number = (amount, locale, options) => {
  if (!amount) {
    amount = 0;
  }
  let formatted = parseFloat(amount);
  if (!locale || locale.length != 2 && locale.length != 5) {
    locale = usePage().props.settings.default_locale;
  }
  if (!options) {
    options = {
      minimumFractionDigits: usePage().props.settings.fraction || 0,
      maximumFractionDigits: usePage().props.settings.fraction || 0
    };
  }
  try {
    return new Intl.NumberFormat(locale, options).format(formatted);
  } catch {
    return new Intl.NumberFormat("en-US", options).format(formatted);
  }
};
const $currency = (amount, locale, options) => {
  if (!amount) {
    amount = 0;
  }
  let formatted = parseFloat(amount);
  if (!locale || locale.length != 2 && locale.length != 5) {
    locale = usePage().props.settings.default_locale;
  }
  let currency_code = usePage().props?.default_currency?.code || "USD";
  if (options?.currency && options.currency.length != 3) {
    options.currency = currency_code;
  }
  if (!options) {
    options = {
      style: "currency",
      // signDisplay: 'always',
      currency: currency_code,
      // currencySign: 'accounting', // standard, accounting
      currencyDisplay: "narrowSymbol",
      // code, name, narrowSymbol, symbol (default)
      minimumFractionDigits: usePage().props.settings.fraction || 0,
      maximumFractionDigits: usePage().props.settings.fraction || 0
    };
  }
  try {
    return new Intl.NumberFormat(locale, options).format(formatted);
  } catch {
    return new Intl.NumberFormat("en-US", options).format(formatted);
  }
};
const $unit = (amount, locale, options) => {
  if (!amount) {
    amount = 0;
  }
  let formatted = parseFloat(amount);
  if (!locale || locale.length != 2 && locale.length != 5) {
    locale = usePage().props.settings.default_locale;
  }
  if (!options) {
    options = {
      style: "unit",
      unitDisplay: "narrow",
      // short, long, narrow (default)
      minimumFractionDigits: usePage().props.settings.quantity_fraction || 0,
      maximumFractionDigits: usePage().props.settings.quantity_fraction || 0,
      unit: (usePage().props.settings.weight_unit || "kilogram").toLowerCase()
    };
  }
  try {
    return new Intl.NumberFormat(locale, options).format(formatted);
  } catch {
    return new Intl.NumberFormat("en-US", options).format(formatted);
  }
};
const $number_qty = (amount, unit2, locale, options) => {
  if (!options && unit2) {
    options = {
      style: "unit",
      unitDisplay: "narrow",
      minimumFractionDigits: usePage().props.settings.quantity_fraction || 0,
      maximumFractionDigits: usePage().props.settings.quantity_fraction || 0,
      unit: (unit2 || usePage().props.settings.weight_unit || "kilogram").toLowerCase()
    };
  } else if (!options) {
    options = {
      minimumFractionDigits: usePage().props.settings.quantity_fraction || 0,
      maximumFractionDigits: usePage().props.settings.quantity_fraction || 0
    };
  }
  try {
    return $unit(amount, locale, options);
  } catch {
    options = {
      minimumFractionDigits: usePage().props.settings.quantity_fraction || 0,
      maximumFractionDigits: usePage().props.settings.quantity_fraction || 0
    };
    return $number(amount, locale, options);
  }
};
const $weight = (amount, locale, options) => {
  if (!options) {
    options = {
      style: "unit",
      unitDisplay: "narrow",
      minimumFractionDigits: usePage().props.settings.quantity_fraction || 0,
      maximumFractionDigits: usePage().props.settings.quantity_fraction || 0,
      unit: (usePage().props.settings.weight_unit || "kilogram").toLowerCase()
    };
  }
  return $unit(amount, locale, options);
};
const isValidDate = (dateString) => {
  if (!dateString) {
    return false;
  }
  var regEx = /^\d{4}-\d{2}-\d{2}$/;
  if (!dateString.match(regEx)) return false;
  var d2 = new Date(dateString);
  var dNum = d2.getTime();
  if (!dNum && dNum !== 0) return false;
  return d2.toISOString().slice(0, 10) === dateString;
};
const $date = (date, locale, style, force = false) => {
  if (!date) {
    return "";
  }
  if (!force && usePage().props.settings?.date_format == "php") {
    return date.split("T")[0];
  }
  date = date.split(" ")[0];
  let formatted = new Date(Date.parse(date));
  try {
    let od = date.split("T")[0].split("-");
    formatted = new Date(od[0], od[1] - 1, od[2], 0, 0, 0, 0);
  } catch {
  }
  if (!locale || locale.length != 2 && locale.length != 5) {
    locale = usePage().props.settings.default_locale;
  }
  try {
    return formatted.toLocaleString(locale, {
      dateStyle: style ? style : "medium"
      //   timeZone: usePage().props.settings.timezone || 'UTC',
    });
  } catch {
    return formatted.toLocaleString("en-US", {
      dateStyle: style ? style : "medium"
      //   timeZone: usePage().props.settings.timezone || 'UTC',
    });
  }
};
const $datetime = (datetime, locale, style, force = false) => {
  if (!datetime) {
    return "";
  }
  if (!force && usePage().props.settings?.date_format == "php") {
    return datetime;
  }
  let formatted = new Date(Date.parse(datetime));
  try {
    if (datetime.includes("T")) {
      let od = datetime.split("T")[0].split("-");
      let ot = datetime.split("T")[1].split(":");
      formatted = new Date(Number(od[0]), Number(od[1]) - 1, Number(od[2]), Number(ot[0]), Number(ot[1]), 0, 0);
    } else if (datetime.includes(" ")) {
      let od = datetime.split(" ")[0].split("-");
      let ot = datetime.split(" ")[1].split(":");
      formatted = new Date(Number(od[0]), Number(od[1]) - 1, Number(od[2]), Number(ot[0]), Number(ot[1]), 0, 0);
    }
  } catch {
    console.error("Failed to parse date time.");
  }
  if (!locale || locale.length != 2 && locale.length != 5) {
    locale = usePage().props.settings.default_locale;
  }
  try {
    return formatted.toLocaleString(locale, {
      timeStyle: "short",
      dateStyle: style ? style : "medium",
      hour12: true
      // usePage().props.settings.hour12 == 1,
      // timeZone: usePage().props.settings.timezone || 'UTC',
    });
  } catch {
    return formatted.toLocaleString("en-US", {
      timeStyle: "short",
      dateStyle: style ? style : "medium",
      hour12: true
      // usePage().props.settings.hour12 == 1,
      //   timeZone: usePage().props.settings.timezone || 'UTC',
    });
  }
};
const $boolean = (v2, c2 = false) => {
  return v2 ? `<div class="w-full h-full max-w-6 max-h-6 ${c2 ? "flex items-center justify-center" : ""}"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-full h-full max-h-6 max-w-6 text-green-500">
        <path stroke-linecap="round" stroke-linejoin="round" d="m4.5 12.75 6 6 9-13.5" />
      </svg></div>` : `<div class="w-full h-full max-w-6 max-h-6 ${c2 ? "flex items-center justify-center" : ""}"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-full h-full max-h-6 max-w-6 text-red-500">
      <path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12" />
    </svg></div>`;
};
const $extras = (fields, extra_attributes = {}) => {
  let extras = {};
  fields.map((f2) => {
    if (extra_attributes[f2.name]) {
      extras[f2.name] = extra_attributes[f2.name] ? extra_attributes[f2.name] : f2.type == "checkbox" ? [] : "";
    } else {
      extras[f2.name] = f2.type == "checkbox" ? [] : "";
    }
  });
  return extras;
};
const $can = (permissions) => {
  let user = usePage().props.is_impersonating ? usePage().props.acting_as_user : usePage().props.auth.user;
  if (user && user.roles.find((r2) => r2.name == "Super Admin")) {
    return true;
  }
  let allow = false;
  if (!Array.isArray(permissions)) {
    permissions = [permissions];
  }
  if (permissions && permissions.length > 0) {
    if (permissions.includes("all")) {
      allow = true;
    } else {
      permissions.map((p2) => {
        if (user && (user.allPermissions && user.allPermissions.includes(p2) || user.all_permissions && user.all_permissions.includes(p2))) {
          allow = true;
        }
      });
    }
  }
  return allow;
};
const $random = (min = 0, max = 999) => {
  const minCeiled = Math.ceil(min);
  const maxFloored = Math.floor(max);
  return Math.floor(Math.random() * (maxFloored - minCeiled) + minCeiled);
};
const calculate_item = (item2, calc_on = "price") => {
  if (item2.variations && item2.variations.length) {
    item2.variations.map((v2) => {
      v2.discount_amount = calculate_discount(v2[calc_on], v2.discount || "");
      v2.total_discount_amount = $decimal(Number(v2.discount_amount) * Number(v2.quantity), true);
      v2 = calculate_taxes(usePage().props.taxes, v2, calc_on);
      v2.total = $decimal(v2["unit_" + calc_on] * $decimal_qty(v2.quantity, true), true);
      v2.subtotal = $decimal(v2["net_" + calc_on] * $decimal_qty(v2.quantity, true), true);
    });
    item2.total = item2.variations.reduce((a2, v2) => a2 + v2.total, 0);
    item2.subtotal = item2.variations.reduce((a2, v2) => a2 + v2.subtotal, 0);
    item2.tax_amount = item2.variations.reduce((a2, v2) => a2 + v2.tax_amount, 0);
    item2.discount_amount = item2.variations.reduce((a2, v2) => a2 + v2.discount_amount, 0);
    item2.total_discount_amount = item2.variations.reduce((a2, v2) => a2 + v2.total_discount_amount, 0);
    item2.total_tax_amount = item2.variations.reduce((a2, v2) => a2 + v2.total_tax_amount, 0);
  } else {
    item2.discount_amount = calculate_discount(item2[calc_on], item2.discount || "");
    item2.total_discount_amount = $decimal(Number(item2.discount_amount) * Number(item2.quantity), true);
    item2 = calculate_taxes(usePage().props.taxes, item2, calc_on);
    item2.subtotal = $decimal(
      // (item[calc_on] + (item.before_discount_tax_amount || item.tax_amount)) * $decimal_qty(item.quantity)
      item2["net_" + calc_on] * $decimal_qty(item2.quantity, true),
      true
    );
    item2.total = $decimal(item2["unit_" + calc_on] * $decimal_qty(item2.quantity, true), true);
  }
  return item2;
};
const calculate_discount = (price, discount) => {
  let discount_amount = 0;
  if (discount.indexOf("%") !== -1) {
    var pds = discount.split("%");
    if (!isNaN(pds[0])) {
      discount_amount = Number(price * Number(pds[0]) / 100);
    }
  } else {
    discount_amount = Number(discount);
  }
  return $decimal(discount_amount, true);
};
const calculate_inclusive_tax = (amount, tax2) => {
  tax2.amount = $decimal(Number(amount) * Number(tax2.rate) / (100 + Number(tax2.rate)), true);
  return tax2;
};
const calculate_exclusive_tax = (amount, tax2) => {
  tax2.amount = $decimal(Number(amount) * Number(tax2.rate) / 100, true);
  return tax2;
};
const calculate_taxes = (taxes, item2, calc_on = "price") => {
  item2.tax_amount = 0;
  item2.before_discount_tax_amount = 0;
  item2[calc_on + "_before_discount"] = $decimal(item2[calc_on], true);
  item2.applied_taxes = taxes?.filter((t3) => item2.taxes?.includes(t3.id)).map((t3) => {
    let rt;
    if (item2.tax_included) {
      rt = calculate_inclusive_tax(item2[calc_on], t3);
      t3 = calculate_inclusive_tax(item2[calc_on] - $decimal(item2.discount_amount, true), t3);
    } else {
      rt = calculate_exclusive_tax(item2[calc_on], t3);
      t3 = calculate_exclusive_tax(item2[calc_on] - $decimal(item2.discount_amount, true), t3);
    }
    item2.tax_amount += t3.amount;
    item2.before_discount_tax_amount += rt.amount;
    return t3;
  });
  item2.total_tax_amount = $decimal(item2.tax_amount, true) * $decimal_qty(item2.quantity, true);
  item2["unit_" + calc_on] = $decimal(item2[calc_on], true) - $decimal(item2.discount_amount, true) + $decimal(item2.tax_included != 1 && item2.tax_amount ? item2.tax_amount : 0, true);
  item2["net_" + calc_on] = $decimal(item2[calc_on], true) - $decimal(item2.discount_amount, true) - $decimal(item2.tax_included == 1 && item2.tax_amount ? item2.tax_amount : 0, true);
  return item2;
};
const convert_to_base_unit = (item2, unit_id, value) => {
  if (unit_id && unit_id != item2.product.unit_id && item2.product.unit?.subunits?.length) {
    let res;
    let unit2 = item2.product.unit.subunits.find((u2) => u2.id == unit_id);
    switch (unit2.operator) {
      case "*":
        res = Number(value) * Number(unit2.operation_value);
        break;
      case "/":
        res = Number(value) / Number(unit2.operation_value);
        break;
      case "+":
        res = Number(value) + Number(unit2.operation_value);
        break;
      case "-":
        res = Number(value) - Number(unit2.operation_value);
        break;
      default:
        res = value;
    }
    return $decimal(res);
  }
  return $decimal(value);
};
const discount_keypress = async (event) => {
  if (event.keyCode == 46 || event.keyCode == 8 || event.keyCode == 37) ;
  else {
    if (event.keyCode < 48 || event.keyCode > 57) {
      event.preventDefault();
    }
  }
};
const number_format = (number, decimals, decPoint = ".", thousandsSep = "") => {
  if (decimals === void 0) {
    decimals = usePage().props.settings?.fraction || 0;
  }
  number = (number + "").replace(/[^0-9+\-Ee.]/g, "");
  var n2 = !isFinite(+number) ? 0 : +number;
  var prec = !isFinite(+decimals) ? 0 : Math.abs(decimals);
  var sep = typeof thousandsSep === "undefined" ? "," : thousandsSep;
  var dec = typeof decPoint === "undefined" ? "." : decPoint;
  var s2 = "";
  var toFixedFix = function(n3, prec2) {
    if (("" + n3).indexOf("e") === -1) {
      return +(Math.round(n3 + "e+" + prec2) + "e-" + prec2);
    } else {
      var arr = ("" + n3).split("e");
      var sig = "";
      if (+arr[1] + prec2 > 0) {
        sig = "+";
      }
      return (+(Math.round(+arr[0] + "e" + sig + (+arr[1] + prec2)) + "e-" + prec2)).toFixed(prec2);
    }
  };
  s2 = (prec ? toFixedFix(n2, prec).toString() : "" + Math.round(n2)).split(".");
  if (s2[0].length > 3) {
    s2[0] = s2[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, sep);
  }
  if ((s2[1] || "").length < prec) {
    s2[1] = s2[1] || "";
    s2[1] += new Array(prec - s2[1].length + 1).join("0");
  }
  return s2.join(dec);
};
const chunkArray = (array, size2) => {
  if (size2 <= 0) {
    return array;
  }
  return array.reduce((a2, _2, i2) => {
    if (i2 % size2 === 0) a2.push(array.slice(i2, i2 + size2));
    return a2;
  }, []);
};
const check_promotions = async (form) => {
  form.items = form.items.map((i2) => !i2.promotion_id ? i2 : { ...i2, promotion_id: null, discount: null });
  for await (let item2 of form.items) {
    if (item2.product?.valid_promotions && item2.product.valid_promotions.length) {
      for await (const promotion of item2.product.valid_promotions) {
        if (promotion.type == "simple") {
          item2.promotion_id = promotion.id;
          item2.discount = Number(promotion.discount) + "%";
        } else if (promotion.type == "advance") {
          if (item2.quantity >= Number(promotion.quantity_to_buy)) {
            item2.promotion_id = promotion.id;
            item2.discount = Number(promotion.discount) + "%";
          }
        } else if (promotion.type == "BXGY") {
          if (item2.quantity >= Number(promotion.quantity_to_buy)) {
            let ae = form.items.find((i2) => i2.product_id == promotion.product_id_to_get && i2.price == 0);
            if (!ae) {
              let product2 = await axios$1.get(route("products.show", promotion.product_id_to_get)).then((r2) => r2.data);
              let i2 = calculate_item(
                {
                  code: product2.code,
                  name: product2.name,
                  id: null,
                  price: 0,
                  quantity: Number(promotion.quantity_to_get),
                  cost: Number(product2.cost),
                  taxes: product2.taxes.map((t3) => t3.id),
                  tax_included: product2.tax_included == 1,
                  product_id: product2.id,
                  promo_product_id: item2.product_id,
                  product: product2
                },
                form.calculate_on
              );
              item2.promotion_id = promotion.id;
              form.items = [...form.items, { ...i2 }];
            }
          }
        } else if (promotion.type == "SXGD") {
          if (from.grand_total >= parseFloat(promotion.amount_to_spend)) {
            form.items = form.items.map((i2) => {
              if (!i2.promo_product_id) {
                i2.promotion_id = promotion.id;
                i2.discount = Number(promotion.discount) + "%";
                i2 = calculate_item(i2, form.calculate_on);
              }
              return i2;
            });
          }
        }
      }
    }
    if (item2.product?.category?.valid_promotions && item2.product.category.valid_promotions.length) {
      for await (const promotion of item2.product.category.valid_promotions) {
        if (promotion.type == "simple") {
          item2.promotion_id = promotion.id;
          item2.discount = Number(promotion.discount) + "%";
        } else if (promotion.type == "advance") {
          if (item2.quantity >= Number(promotion.quantity_to_buy)) {
            item2.promotion_id = promotion.id;
            item2.discount = Number(promotion.discount) + "%";
          }
        } else if (promotion.type == "BXGY") {
          if (item2.quantity >= Number(promotion.quantity_to_buy)) {
            let ae = form.items.find((i2) => i2.product_id == promotion.product_id_to_get && i2.price == 0);
            if (!ae) {
              let product2 = await axios$1.get(route("products.show", promotion.product_id_to_get)).then((r2) => r2.data);
              let i2 = calculate_item(
                {
                  code: product2.code,
                  name: product2.name,
                  id: null,
                  price: 0,
                  quantity: Number(promotion.quantity_to_get),
                  cost: Number(product2.cost),
                  taxes: product2.taxes.map((t3) => t3.id),
                  tax_included: product2.tax_included == 1,
                  product_id: product2.id,
                  promo_product_id: item2.product_id,
                  product: product2
                },
                form.calculate_on
              );
              item2.promotion_id = promotion.id;
              form.items = [...form.items, { ...i2 }];
            }
          }
        } else if (promotion.type == "SXGD") {
          if (from.grand_total >= parseFloat(promotion.amount_to_spend)) {
            form.items = form.items.map((i2) => {
              if (!i2.promo_product_id) {
                i2.promotion_id = promotion.id;
                i2.discount = Number(promotion.discount) + "%";
                i2 = calculate_item(i2, form.calculate_on);
              }
              return i2;
            });
          }
        }
      }
    }
    item2 = calculate_item(item2, form.calculate_on);
  }
  return form.items;
};
async function searchItems(search, type, exact) {
  return await axios$1.post(route("search.products", { search, type, exact })).then((res) => res.data).catch();
}
const fetchClient = () => {
  const defaultOptions = {
    withCredentials: true,
    headers: {
      Accept: "application/json",
      "X-Requested-With": "XMLHttpRequest"
    }
  };
  let instance = axios$2.create(defaultOptions);
  instance.interceptors.request.use(function(config) {
    return config;
  });
  instance.interceptors.response.use(
    (response) => response,
    (error) => {
      if (error.response?.data?.errors) {
        notify(
          {
            group: "main",
            type: "error",
            title: "Error!",
            text: Object.values(error.response.data.errors).join("<br />")
          },
          1e4
        );
      } else if (error.response?.data?.message) {
        notify(
          {
            group: "main",
            type: "error",
            title: "Error!",
            text: error.response.data.message
          },
          1e4
        );
      }
      if (error.response.status === 401) {
        router.visit("/login");
      }
      return Promise.reject(error);
    }
  );
  if (typeof window !== "undefined") {
    window.axios = instance;
  }
  return instance;
};
const axios$1 = fetchClient();
function useClickOutside(component, callback, excludeComponent, excludeElement) {
  if (!component) {
    throw new Error("A target component has to be provided.");
  }
  if (!callback) {
    throw new Error("A callback has to be provided.");
  }
  if (excludeElement) {
    var element = document.getElementById(excludeElement);
  }
  const listener = (event) => {
    if (event.target === component.value || event.composedPath().includes(component.value) || event.target === excludeComponent.value || event.composedPath().includes(excludeComponent.value) || excludeElement && (event.target === element || event.composedPath().includes(element))) {
      return;
    }
    if (typeof callback === "function") {
      callback();
    }
  };
  onMounted(() => {
    window.addEventListener("click", listener);
  });
  onBeforeUnmount(() => {
    window.removeEventListener("click", listener);
  });
}
const _sfc_main$v = {
  __name: "Alerts",
  __ssrInlineRender: true,
  emits: ["close"],
  setup(__props, { emit: __emit }) {
    const data = ref({});
    const loading = ref(true);
    onMounted(async () => {
      await axios$1.get(P("alerts")).then((res) => data.value = res.data).finally(() => loading.value = false);
    });
    return (_ctx, _push, _parent, _attrs) => {
      const _component_Icon = resolveComponent("Icon");
      _push(`<div${ssrRenderAttrs(_attrs)}><span class="absolute end-12 top-4 inline-flex items-center gap-x-4 sm:end-14 print:hidden"><button type="button" class="link -m-2 p-2">`);
      _push(ssrRenderComponent(_component_Icon, {
        name: "print-o",
        class: "size-5"
      }, null, _parent));
      _push(`</button></span><div class="border-b border-gray-200 px-4 py-4 sm:px-6 dark:border-gray-700 print:hidden"><div class="sm:flex sm:items-baseline sm:justify-between"><div class="sm:w-0 sm:flex-1"><h1 class="text-focus text-base font-semibold">${ssrInterpolate(_ctx.$t("Application Alerts"))}</h1><p class="text-mute mt-1 truncate text-sm">${ssrInterpolate(_ctx.$t("Please view the app alerts below"))}</p></div></div></div>`);
      if (loading.value) {
        _push(`<div>`);
        _push(ssrRenderComponent(unref(_sfc_main$i), null, null, _parent));
        _push(`</div>`);
      } else {
        _push(`<div class="px-6">`);
        if (data.value?.customers > 0) {
          _push(`<dl class="my-6 grid grid-cols-1 gap-0.5 overflow-hidden rounded-md text-center sm:grid-cols-2 md:grid-cols-3">`);
          if (data.value?.customers > 0) {
            _push(`<button type="button" class="flex flex-col items-center justify-center rounded-md bg-gray-100 p-4 hover:bg-yellow-100 dark:bg-gray-900 dark:hover:bg-yellow-900"><span class="text-sm/6 font-semibold">${ssrInterpolate(data.value.customers == 1 ? _ctx.$t("Customer") : _ctx.$t("Customers"))}</span><span class="-mt-1 text-sm/6 font-semibold">${ssrInterpolate(_ctx.$t("reached due limit"))}</span><span class="text-focused order-first text-3xl font-semibold tracking-tight">${ssrInterpolate(data.value.customers)}</span></button>`);
          } else {
            _push(`<!---->`);
          }
          _push(`</dl>`);
        } else {
          _push(`<!---->`);
        }
        _push(`<!--[-->`);
        ssrRenderList(data.value.stores, (store2) => {
          _push(`<!--[--><div class="${ssrRenderClass([data.value?.customers > 0 ? "" : "mt-6", "border-b border-gray-200 pb-2 dark:border-gray-700"])}"><h3 class="text-focus text-base font-bold">${ssrInterpolate(store2.name)}</h3></div><div class="my-6 grid grid-cols-1 gap-0.5 overflow-hidden rounded-md text-center sm:grid-cols-2 md:grid-cols-3">`);
          if (store2?.reorder_stock > 0) {
            _push(`<button type="button" class="flex flex-col items-center justify-center rounded-md bg-gray-100 p-4 hover:bg-yellow-100 dark:bg-gray-900 dark:hover:bg-yellow-900"><span class="text-sm/6 font-semibold">${ssrInterpolate(_ctx.$t("Low Stock"))}</span><span class="text-focused order-first text-3xl font-semibold tracking-tight">${ssrInterpolate(store2?.reorder_stock || 0)}</span></button>`);
          } else {
            _push(`<!---->`);
          }
          if (store2?.unpaid_sales > 0) {
            _push(`<button type="button" class="flex flex-col items-center justify-center rounded-md bg-gray-100 p-4 hover:bg-yellow-100 dark:bg-gray-900 dark:hover:bg-yellow-900"><span class="text-sm/6 font-semibold">${ssrInterpolate(_ctx.$t("Unpaid {x}", { x: _ctx.$t("Sales") }))}</span><span class="text-focused order-first text-3xl font-semibold tracking-tight">${ssrInterpolate(store2.unpaid_sales)}</span></button>`);
          } else {
            _push(`<!---->`);
          }
          if (store2?.due_sales > 0) {
            _push(`<button type="button" class="flex flex-col items-center justify-center rounded-md bg-gray-100 p-4 hover:bg-yellow-100 dark:bg-gray-900 dark:hover:bg-yellow-900"><span class="text-sm/6 font-semibold">${ssrInterpolate(_ctx.$t("Overdue {x}", { x: _ctx.$t("Sales") }))}</span><span class="text-focused order-first text-3xl font-semibold tracking-tight">${ssrInterpolate(store2.due_sales)}</span></button>`);
          } else {
            _push(`<!---->`);
          }
          if (store2?.unreceived_payments > 0) {
            _push(`<button type="button" class="flex flex-col items-center justify-center rounded-md bg-gray-100 p-4 hover:bg-yellow-100 dark:bg-gray-900 dark:hover:bg-yellow-900"><span class="text-sm/6 font-semibold">${ssrInterpolate(_ctx.$t("Payment Requests"))}</span><span class="text-focused order-first text-3xl font-semibold tracking-tight">${ssrInterpolate(store2.unreceived_payments)}</span></button>`);
          } else {
            _push(`<!---->`);
          }
          if (store2?.unpaid_purchases > 0) {
            _push(`<button type="button" class="flex flex-col items-center justify-center rounded-md bg-gray-100 p-4 hover:bg-yellow-100 dark:bg-gray-900 dark:hover:bg-yellow-900"><span class="text-sm/6 font-semibold">${ssrInterpolate(_ctx.$t("Unpaid {x}", { x: _ctx.$t("Purchases") }))}</span><span class="text-focused order-first text-3xl font-semibold tracking-tight">${ssrInterpolate(store2.unpaid_purchases)}</span></button>`);
          } else {
            _push(`<!---->`);
          }
          _push(`</div><!--]-->`);
        });
        _push(`<!--]--></div>`);
      }
      _push(`</div>`);
    };
  }
};
const _sfc_setup$v = _sfc_main$v.setup;
_sfc_main$v.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/Alerts.vue");
  return _sfc_setup$v ? _sfc_setup$v(props, ctx) : void 0;
};
const _sfc_main$u = {
  __name: "Attachments",
  __ssrInlineRender: true,
  props: {
    attachments: {
      type: Array
    }
  },
  setup(__props) {
    const modal = ref(false);
    const selected = ref(null);
    const destroy = () => {
      router.delete(route("attachments.destroy", selected.value.id), {
        onFinish: closeModal
      });
    };
    const closeModal = () => {
      modal.value = false;
      selected.value = null;
    };
    return (_ctx, _push, _parent, _attrs) => {
      if (__props.attachments.length) {
        _push(`<div${ssrRenderAttrs(_attrs)}><p class="mb-1">${ssrInterpolate(_ctx.$t("Attachments"))}</p><ul role="list" class="divide-y divide-gray-200 rounded-md border border-gray-200 dark:divide-gray-700 dark:border-gray-700"><!--[-->`);
        ssrRenderList(__props.attachments, (attachment2) => {
          _push(`<li class="flex items-center justify-between py-4 ps-4 pe-5 text-sm leading-6"><div class="flex w-0 flex-1 items-center"><svg class="h-5 w-5 shrink-0 text-gray-400" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M15.621 4.379a3 3 0 00-4.242 0l-7 7a3 3 0 004.241 4.243h.001l.497-.5a.75.75 0 011.064 1.057l-.498.501-.002.002a4.5 4.5 0 01-6.364-6.364l7-7a4.5 4.5 0 016.368 6.36l-3.455 3.553A2.625 2.625 0 119.52 9.52l3.45-3.451a.75.75 0 111.061 1.06l-3.45 3.451a1.125 1.125 0 001.587 1.595l3.454-3.553a3 3 0 000-4.242z" clip-rule="evenodd"></path></svg><div class="ms-4 flex min-w-0 flex-1 gap-2"><span class="truncate font-medium">${ssrInterpolate(attachment2.title)}</span></div></div><div class="ms-4 flex shrink-0 items-center gap-2"><a${ssrRenderAttr("href", _ctx.route("attachments.download", attachment2.uuid))} class="link font-medium">${ssrInterpolate(_ctx.$t("Download"))}</a>`);
          if (_ctx.$can("delete-attachments")) {
            _push(`<button type="button" class="font-medium text-red-600 hover:text-red-500">${ssrInterpolate(_ctx.$t("Delete"))}</button>`);
          } else {
            _push(`<!---->`);
          }
          _push(`</div></li>`);
        });
        _push(`<!--]--></ul>`);
        _push(ssrRenderComponent(unref(_sfc_main$J), {
          show: modal.value,
          onClose: closeModal,
          maxWidth: "sm"
        }, {
          title: withCtx((_2, _push2, _parent2, _scopeId) => {
            if (_push2) {
              _push2(`${ssrInterpolate(_ctx.$t("Delete {x}", { x: _ctx.$t("attachment") }))}`);
            } else {
              return [
                createTextVNode(toDisplayString(_ctx.$t("Delete {x}", { x: _ctx.$t("attachment") })), 1)
              ];
            }
          }),
          content: withCtx((_2, _push2, _parent2, _scopeId) => {
            if (_push2) {
              _push2(`<p${_scopeId}>${ssrInterpolate(_ctx.$t("Please confirm that you would like to delete the record?"))}</p><p class="mt-2 text-red-500"${_scopeId}>${ssrInterpolate(_ctx.$t("This action will delete the data permanently."))}</p>`);
            } else {
              return [
                createVNode("p", null, toDisplayString(_ctx.$t("Please confirm that you would like to delete the record?")), 1),
                createVNode("p", { class: "mt-2 text-red-500" }, toDisplayString(_ctx.$t("This action will delete the data permanently.")), 1)
              ];
            }
          }),
          footer: withCtx((_2, _push2, _parent2, _scopeId) => {
            if (_push2) {
              _push2(ssrRenderComponent(unref(_sfc_main$G), { onClick: closeModal }, {
                default: withCtx((_3, _push3, _parent3, _scopeId2) => {
                  if (_push3) {
                    _push3(`${ssrInterpolate(_ctx.$t("Cancel"))}`);
                  } else {
                    return [
                      createTextVNode(toDisplayString(_ctx.$t("Cancel")), 1)
                    ];
                  }
                }),
                _: 1
              }, _parent2, _scopeId));
              _push2(ssrRenderComponent(unref(_sfc_main$D), { onClick: destroy }, {
                default: withCtx((_3, _push3, _parent3, _scopeId2) => {
                  if (_push3) {
                    _push3(`${ssrInterpolate(_ctx.$t("Yes, delete"))}`);
                  } else {
                    return [
                      createTextVNode(toDisplayString(_ctx.$t("Yes, delete")), 1)
                    ];
                  }
                }),
                _: 1
              }, _parent2, _scopeId));
            } else {
              return [
                createVNode(unref(_sfc_main$G), { onClick: closeModal }, {
                  default: withCtx(() => [
                    createTextVNode(toDisplayString(_ctx.$t("Cancel")), 1)
                  ]),
                  _: 1
                }),
                createVNode(unref(_sfc_main$D), { onClick: destroy }, {
                  default: withCtx(() => [
                    createTextVNode(toDisplayString(_ctx.$t("Yes, delete")), 1)
                  ]),
                  _: 1
                })
              ];
            }
          }),
          _: 1
        }, _parent));
        _push(`</div>`);
      } else {
        _push(`<!---->`);
      }
    };
  }
};
const _sfc_setup$u = _sfc_main$u.setup;
_sfc_main$u.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/Attachments.vue");
  return _sfc_setup$u ? _sfc_setup$u(props, ctx) : void 0;
};
const state$1 = reactive({
  show: false,
  element: null,
  modelValue: false
});
const useKeyboard = () => {
  const setState = (state2) => {
    state2.show = state2.show;
    state2.element = state2.element;
    state2.modelValue = state2.modelValue;
  };
  return {
    state: state$1,
    setState
  };
};
const { state } = useKeyboard();
const focusFn = (event) => {
  state.element = event.target;
  state.modelValue = event.target?.value;
  state.show = true;
};
const focusoutFn = () => {
};
const vKeyboard = {
  mounted(el) {
    el.addEventListener("focus", focusFn);
    el.addEventListener("focusout", focusoutFn);
  },
  unmounted(el) {
    el.removeEventListener("focus", focusFn);
    el.removeEventListener("focusout", focusoutFn);
  }
};
const _sfc_main$t = {
  __name: "KeyBoard",
  __ssrInlineRender: true,
  props: ["modelValue", "element"],
  emits: ["change"],
  setup(__props) {
    const { state: state2 } = useKeyboard();
    const shift = ref(false);
    const capslock = ref(false);
    const input = ref(state2.modelValue || "");
    watch(
      () => state2.element,
      (newValue) => {
        input.value = newValue.value || "";
      }
    );
    onMounted(() => {
      let offsetX, offsetY;
      let isDragging = false;
      const draggableHandle = document.getElementById("drag-handle");
      const draggableDiv = document.getElementById("keyboard-container");
      draggableDiv.addEventListener("mousedown", (e2) => {
        isDragging = true;
        offsetX = e2.clientX - draggableDiv.getBoundingClientRect().left;
        offsetY = e2.clientY - draggableDiv.getBoundingClientRect().top;
        draggableHandle.style.cursor = "grabbing";
      });
      document.addEventListener("mousemove", (e2) => {
        if (!isDragging) return;
        draggableDiv.classList.remove("ltr:-translate-x-1/2 rtl:translate-x-1/2");
        draggableDiv.style.left = `${e2.clientX - offsetX}px`;
        draggableDiv.style.top = `${e2.clientY - offsetY}px`;
      });
      document.addEventListener("mouseup", () => {
        isDragging = false;
        draggableHandle.style.cursor = "grab";
      });
    });
    return (_ctx, _push, _parent, _attrs) => {
      ssrRenderTeleport(_push, (_push2) => {
        _push2(`<div id="keyboard-container" class="fixed start-1/2 bottom-2 z-50 hidden h-64 max-w-3xl cursor-default items-center justify-center rounded-lg border border-gray-200 bg-gray-100 p-2.5 text-gray-700 lg:inline-flex ltr:-translate-x-1/2 rtl:translate-x-1/2 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-300" style="${ssrRenderStyle(unref(state2).show && _ctx.$page.props.settings.onscreen_keyboard == 1 ? null : { display: "none" })}" data-v-1484ac9f><div id="keyboard" class="relative max-w-screen min-w-screen md:min-w-auto" data-v-1484ac9f><div id="drag-handle" class="absolute -top-7 -left-7 flex size-8 cursor-grab items-center justify-center rounded-full border border-gray-200 bg-gray-100 dark:border-gray-700 dark:bg-gray-800" data-v-1484ac9f><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="size-4" data-v-1484ac9f><path d="M12 2v20" data-v-1484ac9f></path><path d="m15 19-3 3-3-3" data-v-1484ac9f></path><path d="m19 9 3 3-3 3" data-v-1484ac9f></path><path d="M2 12h20" data-v-1484ac9f></path><path d="m5 9-3 3 3 3" data-v-1484ac9f></path><path d="m9 5 3-3 3 3" data-v-1484ac9f></path></svg></div><ul class="flex items-center justify-center gap-1.5 pb-2 [&amp;_li]:flex [&amp;_li]:size-10 [&amp;_li]:items-center [&amp;_li]:justify-center [&amp;_li]:rounded-md [&amp;_li]:bg-white [&amp;_li]:shadow dark:[&amp;_li]:bg-gray-950 [&amp;_li:hover]:relative [&amp;_li:hover]:start-px [&amp;_li:hover]:top-px [&amp;_li:hover]:cursor-pointer" data-v-1484ac9f><li class="symbol" data-v-1484ac9f><span class="off" data-v-1484ac9f>\`</span><span class="on" data-v-1484ac9f>~</span></li><li class="symbol" data-v-1484ac9f><span class="off" data-v-1484ac9f>1</span><span class="on" data-v-1484ac9f>!</span></li><li class="symbol" data-v-1484ac9f><span class="off" data-v-1484ac9f>2</span><span class="on" data-v-1484ac9f>@</span></li><li class="symbol" data-v-1484ac9f><span class="off" data-v-1484ac9f>3</span><span class="on" data-v-1484ac9f>#</span></li><li class="symbol" data-v-1484ac9f><span class="off" data-v-1484ac9f>4</span><span class="on" data-v-1484ac9f>$</span></li><li class="symbol" data-v-1484ac9f><span class="off" data-v-1484ac9f>5</span><span class="on" data-v-1484ac9f>%</span></li><li class="symbol" data-v-1484ac9f><span class="off" data-v-1484ac9f>6</span><span class="on" data-v-1484ac9f>^</span></li><li class="symbol" data-v-1484ac9f><span class="off" data-v-1484ac9f>7</span><span class="on" data-v-1484ac9f>&amp;</span></li><li class="symbol" data-v-1484ac9f><span class="off" data-v-1484ac9f>8</span><span class="on" data-v-1484ac9f>*</span></li><li class="symbol" data-v-1484ac9f><span class="off" data-v-1484ac9f>9</span><span class="on" data-v-1484ac9f>(</span></li><li class="symbol" data-v-1484ac9f><span class="off" data-v-1484ac9f>0</span><span class="on" data-v-1484ac9f>)</span></li><li class="symbol" data-v-1484ac9f><span class="off" data-v-1484ac9f>-</span><span class="on" data-v-1484ac9f>_</span></li><li class="symbol" data-v-1484ac9f><span class="off" data-v-1484ac9f>=</span><span class="on" data-v-1484ac9f>+</span></li><li class="delete" data-v-1484ac9f>delete</li></ul><ul class="flex items-center justify-center gap-1.5 pb-2 [&amp;_li]:flex [&amp;_li]:size-10 [&amp;_li]:items-center [&amp;_li]:justify-center [&amp;_li]:rounded-md [&amp;_li]:bg-white [&amp;_li]:shadow dark:[&amp;_li]:bg-gray-950 [&amp;_li:hover]:relative [&amp;_li:hover]:start-px [&amp;_li:hover]:top-px [&amp;_li:hover]:cursor-pointer" data-v-1484ac9f><li class="tab" data-v-1484ac9f>tab</li><li class="letter" data-v-1484ac9f>q</li><li class="letter" data-v-1484ac9f>w</li><li class="letter" data-v-1484ac9f>e</li><li class="letter" data-v-1484ac9f>r</li><li class="letter" data-v-1484ac9f>t</li><li class="letter" data-v-1484ac9f>y</li><li class="letter" data-v-1484ac9f>u</li><li class="letter" data-v-1484ac9f>i</li><li class="letter" data-v-1484ac9f>o</li><li class="letter" data-v-1484ac9f>p</li><li class="symbol" data-v-1484ac9f><span class="off" data-v-1484ac9f>[</span><span class="on" data-v-1484ac9f>{</span></li><li class="symbol" data-v-1484ac9f><span class="off" data-v-1484ac9f>]</span><span class="on" data-v-1484ac9f>}</span></li><li class="symbol" data-v-1484ac9f><span class="off" data-v-1484ac9f>\\</span><span class="on" data-v-1484ac9f>|</span></li></ul><ul class="flex items-center justify-center gap-1.5 pb-2 [&amp;_li]:flex [&amp;_li]:size-10 [&amp;_li]:items-center [&amp;_li]:justify-center [&amp;_li]:rounded-md [&amp;_li]:bg-white [&amp;_li]:shadow dark:[&amp;_li]:bg-gray-950 [&amp;_li:hover]:relative [&amp;_li:hover]:start-px [&amp;_li:hover]:top-px [&amp;_li:hover]:cursor-pointer" data-v-1484ac9f><li class="${ssrRenderClass([{ "bg-primary-500! text-white": capslock.value }, "capslock"])}" data-v-1484ac9f>caps lock</li><li class="letter" data-v-1484ac9f>a</li><li class="letter" data-v-1484ac9f>s</li><li class="letter" data-v-1484ac9f>d</li><li class="letter" data-v-1484ac9f>f</li><li class="letter" data-v-1484ac9f>g</li><li class="letter" data-v-1484ac9f>h</li><li class="letter" data-v-1484ac9f>j</li><li class="letter" data-v-1484ac9f>k</li><li class="letter" data-v-1484ac9f>l</li><li class="symbol" data-v-1484ac9f><span class="off" data-v-1484ac9f>;</span><span class="on" data-v-1484ac9f>:</span></li><li class="symbol" data-v-1484ac9f><span class="off" data-v-1484ac9f>&#39;</span><span class="on" data-v-1484ac9f>&quot;</span></li><li class="return" data-v-1484ac9f>return</li></ul><ul class="flex items-center justify-center gap-1.5 pb-2 [&amp;_li]:flex [&amp;_li]:size-10 [&amp;_li]:items-center [&amp;_li]:justify-center [&amp;_li]:rounded-md [&amp;_li]:bg-white [&amp;_li]:shadow dark:[&amp;_li]:bg-gray-950 [&amp;_li:hover]:relative [&amp;_li:hover]:start-px [&amp;_li:hover]:top-px [&amp;_li:hover]:cursor-pointer" data-v-1484ac9f><li class="${ssrRenderClass([{ "bg-primary-500! text-white": shift.value }, "left-shift"])}" data-v-1484ac9f>shift</li><li class="letter" data-v-1484ac9f>z</li><li class="letter" data-v-1484ac9f>x</li><li class="letter" data-v-1484ac9f>c</li><li class="letter" data-v-1484ac9f>v</li><li class="letter" data-v-1484ac9f>b</li><li class="letter" data-v-1484ac9f>n</li><li class="letter" data-v-1484ac9f>m</li><li class="symbol" data-v-1484ac9f><span class="off" data-v-1484ac9f>,</span><span class="on" data-v-1484ac9f>&lt;</span></li><li class="symbol" data-v-1484ac9f><span class="off" data-v-1484ac9f>.</span><span class="on" data-v-1484ac9f>&gt;</span></li><li class="symbol" data-v-1484ac9f><span class="off" data-v-1484ac9f>/</span><span class="on" data-v-1484ac9f>?</span></li><li class="${ssrRenderClass([{ "bg-primary-500! text-white": shift.value }, "right-shift"])}" data-v-1484ac9f>shift</li></ul><ul class="flex items-center justify-center gap-1.5 [&amp;_li]:flex [&amp;_li]:h-10 [&amp;_li]:items-center [&amp;_li]:justify-center [&amp;_li]:rounded-md [&amp;_li]:bg-white [&amp;_li]:shadow dark:[&amp;_li]:bg-gray-950 [&amp;_li:hover]:relative [&amp;_li:hover]:start-px [&amp;_li:hover]:top-px [&amp;_li:hover]:cursor-pointer" data-v-1484ac9f><li class="cancel size-10 bg-red-500! text-white!" data-v-1484ac9f><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-5" data-v-1484ac9f><path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12" data-v-1484ac9f></path></svg><span class="sr-only" data-v-1484ac9f>${ssrInterpolate("Cancel")}</span></li><li class="size-10" data-v-1484ac9f>@</li><li class="size-10" data-v-1484ac9f>.</li><li class="space flex-1" data-v-1484ac9f> </li><li class="size-10" data-v-1484ac9f><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="size-4" data-v-1484ac9f><path d="M13 9a1 1 0 0 1-1-1V5.061a1 1 0 0 0-1.811-.75l-6.835 6.836a1.207 1.207 0 0 0 0 1.707l6.835 6.835a1 1 0 0 0 1.811-.75V16a1 1 0 0 1 1-1h6a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1z" data-v-1484ac9f></path></svg><span class="sr-only" data-v-1484ac9f>${ssrInterpolate("LeftArrow")}</span></li><li class="size-10" data-v-1484ac9f><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="size-4" data-v-1484ac9f><path d="M9 13a1 1 0 0 0-1-1H5.061a1 1 0 0 1-.75-1.811l6.836-6.835a1.207 1.207 0 0 1 1.707 0l6.835 6.835a1 1 0 0 1-.75 1.811H16a1 1 0 0 0-1 1v6a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1z" data-v-1484ac9f></path></svg><span class="sr-only" data-v-1484ac9f>${ssrInterpolate("UpArrow")}</span></li><li class="size-10" data-v-1484ac9f><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="size-4" data-v-1484ac9f><path d="M15 11a1 1 0 0 0 1 1h2.939a1 1 0 0 1 .75 1.811l-6.835 6.836a1.207 1.207 0 0 1-1.707 0L4.31 13.81a1 1 0 0 1 .75-1.811H8a1 1 0 0 0 1-1V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1z" data-v-1484ac9f></path></svg><span class="sr-only" data-v-1484ac9f>${ssrInterpolate("DownArrow")}</span></li><li class="size-10" data-v-1484ac9f><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="size-4" data-v-1484ac9f><path d="M11 9a1 1 0 0 0 1-1V5.061a1 1 0 0 1 1.811-.75l6.836 6.836a1.207 1.207 0 0 1 0 1.707l-6.836 6.835a1 1 0 0 1-1.811-.75V16a1 1 0 0 0-1-1H5a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z" data-v-1484ac9f></path></svg><span class="sr-only" data-v-1484ac9f>${ssrInterpolate("RightArrow")}</span></li><li class="accept w-20 bg-green-500! text-white!" data-v-1484ac9f><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-5" data-v-1484ac9f><path stroke-linecap="round" stroke-linejoin="round" d="m4.5 12.75 6 6 9-13.5" data-v-1484ac9f></path></svg><span class="sr-only" data-v-1484ac9f>${ssrInterpolate("Accept")}</span></li></ul></div></div>`);
      }, "body", false, _parent);
    };
  }
};
const _sfc_setup$t = _sfc_main$t.setup;
_sfc_main$t.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Pages/Sma/Pos/Components/Keyboard/KeyBoard.vue");
  return _sfc_setup$t ? _sfc_setup$t(props, ctx) : void 0;
};
const KeyBoard = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-1484ac9f"]]);
const KeyBoard$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: KeyBoard
}, Symbol.toStringTag, { value: "Module" }));
const _sfc_main$s = {
  __name: "AutoComplete",
  __ssrInlineRender: true,
  props: {
    id: {
      type: String,
      default() {
        return Math.random().toString().replace("0.", "1");
      }
    },
    json: Boolean,
    size: String,
    label: String,
    error: String,
    action: Function,
    addResult: Array,
    position: String,
    disabled: Boolean,
    actionText: String,
    defaultText: String,
    placeholder: String,
    disable: [String, Number],
    suggestions: [String, Array],
    selectedValues: [String, Array],
    modelValue: [String, Number, Array],
    hideIcon: { type: Boolean, default: false },
    keyboard: { type: Boolean, default: false },
    multiple: { type: Boolean, default: false },
    clearable: { type: Boolean, default: false },
    keepFocus: { type: Boolean, default: false },
    labelKey: { type: String, default: "label" },
    searchable: { type: Boolean, default: true },
    valueKey: { type: String, default: "value" },
    placement: { type: String, default: "bottom" },
    resetSearch: { type: Boolean, default: false },
    inputClass: { type: String, default: "" }
  },
  emits: ["change", "update:modelValue"],
  setup(__props, { emit: __emit }) {
    const excludeRef = ref(null);
    const componentRef = ref(null);
    const emit = __emit;
    const by_id = ref(false);
    const auto_complete = ref(null);
    const props = __props;
    const search = ref("");
    const result = ref([]);
    const input = ref(null);
    const open = ref(false);
    const stop = ref(false);
    const search0 = ref("");
    const current = ref(null);
    const loading = ref(false);
    const selected = ref(null);
    const placeholder = ref("");
    const multi_current = ref([]);
    const multi_selected = ref([]);
    const previousResults = ref([]);
    watch(
      () => props.modelValue,
      async (v2) => {
        if (!v2) {
          reset();
          await hide();
        } else {
          if (props.multiple) {
            const vl = multi_selected.value.map((s2) => props.json ? s2[props.valueKey] : s2);
            if (v2.toString() !== vl.toString()) {
              await initializeValue();
            }
          } else {
            by_id.value = true;
            await initializeValue();
          }
        }
      }
    );
    watch(
      () => props.suggestions,
      (v2) => result.value = v2
    );
    watch(
      () => props.addResult,
      async (v2) => {
        if (v2 && v2.value) {
          result.value.push(v2.value);
          current.value = v2.value;
          selected.value = v2.value;
          suggestionClick(current.value);
          setTimeout(() => {
            search.value = props.json ? v2.value[props.labelKey] : v2.value;
            emit("update:modelValue", v2.value);
          }, 100);
        }
      }
    );
    watch(search, (s2) => {
      if (props.searchable) {
        open.value = true;
        if (Array.isArray(props.suggestions)) {
          if (props.multiple && Array.isArray(props.suggestions)) {
            result.value = props.suggestions;
          } else {
            result.value = s2 ? props.suggestions.filter((r2) => cLabel(r2, s2)) : props.suggestions;
          }
        } else if (s2) {
          loading.value = true;
          getSuggestions(s2);
        }
      }
    });
    const currentLabel = computed(() => cLabel(selected.value));
    const currentValue = computed(() => cValue(selected.value));
    useClickOutside(componentRef, () => hide(), excludeRef, props.keyboard ? "keyboard-container" : null);
    onBeforeUnmount(() => {
      if (props.multiple) {
        window.removeEventListener("click", clickListener);
      }
    });
    onMounted(async () => {
      if (props.multiple) {
        window.addEventListener("click", clickListener);
      }
      await initializeValue();
    });
    const initializeValue = async () => {
      if (Array.isArray(props.suggestions)) {
        result.value = props.suggestions;
      }
      if (props.modelValue) {
        multi_current.value = [];
        if (Array.isArray(props.suggestions)) {
          if (props.multiple) {
            if (props.selectedValues) {
              multi_selected.value = props.selectedValues;
              search.value = props.selectedValues.join(", ");
            } else {
              multi_selected.value = props.suggestions.filter(
                (s2) => s2 == props.modelValue || s2[props.valueKey] == props.modelValue || props.modelValue.filter((m2) => m2 == s2[props.valueKey])[0] || props.modelValue.filter((m2) => m2[props.valueKey] == s2[props.valueKey])[0] || s2.id == props.modelValue
              );
            }
            if (props.json) {
              props.suggestions.map((s2, si) => {
                if (multi_selected.value.find((v2) => v2[props.valueKey] == s2[props.valueKey])) {
                  multi_current.value = [...multi_current.value, si];
                }
              });
            } else {
              props.suggestions.map((s2, si) => {
                if (multi_selected.value.includes(s2)) {
                  multi_current.value = [...multi_current.value, si];
                }
              });
            }
            search.value = "";
          } else {
            if (props.json) {
              selected.value = props.suggestions.find(
                (s2) => s2 == props.modelValue || s2[props.valueKey] == props.modelValue || s2.value == props.modelValue || s2.id == props.modelValue
              );
              current.value = props.suggestions.findIndex(
                (s2) => s2 == props.modelValue || s2[props.valueKey] == props.modelValue || s2.value == props.modelValue || s2.id == props.modelValue
              );
              search.value = currentLabel.value;
            } else {
              selected.value = props.modelValue;
            }
          }
          await nextTick();
          await hide(null, true);
        } else {
          if (!stop.value) {
            axios$1.post(props.suggestions, { id: props.modelValue }).then((res) => {
              if (props.multiple) {
                current.value = 0;
                result.value = res.data;
                previousResults.value = [...res.data];
                res.data.map(async (s2, si) => await suggestionClick(si));
                search.value = "";
                hide(null, true);
              } else {
                current.value = 0;
                result.value = res.data;
                selected.value = res.data[0];
                search.value = cLabel(selected.value);
              }
            }).finally(async () => {
              await hide();
              loading.value = false;
            });
          }
        }
      }
    };
    const clickListener = (e2) => {
      if (e2.target == auto_complete.value || e2.composedPath().includes(auto_complete.value)) {
        return false;
      }
      hide(e2, true);
    };
    const getSuggestionsNow = (s2) => {
      if (!stop.value && s2 && s2 !== currentLabel.value) {
        search0.value = s2;
        axios$1.post(props.suggestions, { search: s2 }).then((res) => {
          result.value = res.data;
          if (result.value.length == 1) {
            suggestionClick(0);
          }
        }).finally(() => loading.value = false);
      } else {
        loading.value = false;
      }
      stop.value = false;
    };
    const getSuggestions = debounce(getSuggestionsNow, 300);
    const cLabel = (r2, s2) => {
      if (r2 === null) {
        return null;
      } else if (typeof r2 !== "object") {
        return r2;
      }
      let key = "";
      if (props.labelKey) {
        key = props.labelKey;
      } else if (r2.label !== void 0) {
        key = "label";
      } else if (r2.name !== void 0) {
        key = "name";
      }
      if (s2) {
        return key ? r2[key].toLowerCase().includes(s2.toString().toLowerCase()) : r2.toLowerCase().includes(s2.toLowerCase());
      }
      return key ? r2[key] : r2;
    };
    const cValue = (r2) => {
      if (r2 === null) {
        return null;
      } else if (typeof r2 !== "object") {
        return r2;
      }
      let key = "";
      if (props.valueKey) {
        key = props.valueKey;
      } else if (r2.value !== void 0) {
        key = "value";
      } else if (r2.id !== void 0) {
        key = "id";
      }
      return key ? r2[key] : r2;
    };
    const hide = async (e2, force, wait = false) => {
      if (wait) {
        setTimeout(hide, 200);
        return false;
      }
      if (!props.multiple || force) {
        if (selected.value) {
          search.value = currentLabel.value;
        }
        await nextTick();
        setTimeout(() => open.value = false, 10);
      } else {
        search.value = "";
        if (!Array.isArray(props.suggestions) && previousResults.value.length > 0) {
          result.value = [...previousResults.value];
        }
      }
    };
    const isActive = (index) => {
      if (props.multiple) {
        return multi_current.value.includes(index);
      }
      return index == current.value;
    };
    const suggestionClick = async (index, reset2 = false) => {
      stop.value = true;
      if (index !== void 0) {
        if (props.multiple) {
          if (props.json && multi_selected.value.find((v2) => v2[props.valueKey] == result.value[index][props.valueKey])) {
            multi_selected.value = multi_selected.value.filter((v2) => v2[props.valueKey] != result.value[index][props.valueKey]);
          } else {
            if (multi_selected.value.find((v2) => v2 == result.value[index][props.valueKey])) {
              multi_selected.value = multi_selected.value.filter((v2) => v2 != result.value[index][props.valueKey]);
            } else {
              multi_selected.value = [...multi_selected.value, result.value[index]];
            }
          }
          multi_current.value = [];
          if (props.multiple) {
            result.value.map((s2, si) => {
              if (props.json && multi_selected.value.find((v2) => v2[props.valueKey] == s2[props.valueKey])) {
                multi_current.value = [...multi_current.value, si];
              } else if (multi_selected.value.includes(s2)) {
                multi_current.value = [...multi_current.value, si];
              }
            });
          } else {
            props.suggestions.map((s2, si) => {
              if (props.json && multi_selected.value.find((v2) => v2[props.valueKey] == s2[props.valueKey])) {
                multi_current.value = [...multi_current.value, si];
              } else if (multi_selected.value.includes(s2)) {
                multi_current.value = [...multi_current.value, si];
              }
            });
          }
          emit("update:modelValue", props.json ? multi_selected.value.map((v2) => v2[props.valueKey]) : multi_selected.value);
          emit("change", multi_selected.value);
          search.value = "";
        } else {
          current.value = index;
          selected.value = result.value[index];
          emit("update:modelValue", props.json ? currentValue.value : selected.value);
          emit("change", selected.value);
          search.value = props.resetSearch ? null : currentLabel.value;
          await hide();
        }
      }
      if (reset2) {
        result.value = [];
      }
      if (props.resetSearch) {
        selected.value = null;
      }
      if (props.keepFocus) {
        input.value.focus();
      }
    };
    const reset = async () => {
      search.value = "";
      current.value = 0;
      selected.value = null;
      multi_current.value = [];
      multi_selected.value = [];
      previousResults.value = [];
      emit("change", null);
      emit("update:modelValue", "");
      await hide();
    };
    return (_ctx, _push, _parent, _attrs) => {
      const _component_Icon = resolveComponent("Icon");
      let _temp0;
      _push(`<div${ssrRenderAttrs(mergeProps({
        ref_key: "excludeRef",
        ref: excludeRef,
        class: "col-span-6 sm:col-span-3 xl:col-span-4"
      }, _attrs))}><div class="flex items-center justify-between">`);
      if (__props.label) {
        _push(ssrRenderComponent(unref(_sfc_main$z), {
          for: __props.id,
          value: __props.label,
          class: "mb-1 inline-block"
        }, null, _parent));
      } else {
        _push(`<!---->`);
      }
      if (__props.actionText && __props.action) {
        _push(`<button type="button" class="link text-sm focus:ring-0">${ssrInterpolate(__props.actionText)}</button>`);
      } else {
        _push(`<!---->`);
      }
      _push(`</div>`);
      if (__props.multiple && multi_selected.value.length) {
        _push(`<div class="mb-2 flex flex-wrap gap-2"><!--[-->`);
        ssrRenderList(multi_selected.value, (item2, index) => {
          _push(`<span class="inline-flex items-center gap-1 rounded-md bg-primary-100 px-2 py-1 text-sm text-primary-800 dark:bg-primary-900 dark:text-primary-200"><span class="max-w-xs truncate">${ssrInterpolate(__props.json ? item2[__props.labelKey] : item2)}</span><button type="button" class="inline-flex items-center justify-center rounded-full hover:bg-primary-200 dark:hover:bg-primary-800">`);
          _push(ssrRenderComponent(_component_Icon, {
            name: "x",
            size: "size-3"
          }, null, _parent));
          _push(`</button></span>`);
        });
        _push(`<!--]--></div>`);
      } else {
        _push(`<!---->`);
      }
      _push(`<div class="relative flex items-center"><div class="absolute end-0 top-0 flex h-full items-center gap-1 print:hidden">`);
      if (__props.clearable && __props.modelValue) {
        _push(`<button type="button" tabindex="-1" class="cursor-pointer border border-transparent p-2 text-gray-500 hover:text-red-500 focus:outline-hidden">`);
        _push(ssrRenderComponent(_component_Icon, {
          name: "x",
          size: "size-4"
        }, null, _parent));
        _push(`</button>`);
      } else {
        _push(`<!---->`);
      }
      _push(`<label${ssrRenderAttr("for", __props.id)} class="inline-block cursor-pointer border border-transparent p-2 text-gray-500 dark:text-gray-400">`);
      if (!__props.hideIcon) {
        _push(ssrRenderComponent(_component_Icon, {
          name: "c-down",
          size: "size-4"
        }, null, _parent));
      } else {
        _push(`<!---->`);
      }
      _push(`</label></div>`);
      if (__props.keyboard && __props.searchable) {
        _push(`<input${ssrRenderAttrs((_temp0 = mergeProps({
          id: __props.id,
          ref_key: "input",
          ref: input,
          value: search.value,
          autocomplete: "none",
          readonly: !__props.searchable || __props.disabled,
          placeholder: placeholder.value || __props.label,
          class: [[
            __props.clearable ? "pe-16" : "pe-8",
            __props.inputClass || "focus rounded-md border shadow-xs",
            __props.size == "small" ? "py-1.5 ps-2 text-sm" : "py-2 ps-4 text-base",
            __props.error ? "border-red-500" : "border-gray-300 dark:border-gray-700",
            __props.disabled ? "opacity-60 focus:border-gray-200 focus:ring-0 dark:focus:border-gray-700 dark:focus:ring-0" : "focus:border-primary-500 focus:ring-primary-500 dark:focus:border-primary-600 dark:focus:ring-primary-600"
          ], "block w-full placeholder:text-gray-400 dark:bg-gray-900 dark:text-gray-300 dark:placeholder:text-gray-600"]
        }, ssrGetDirectiveProps(_ctx, unref(vKeyboard))), mergeProps(_temp0, ssrGetDynamicModelProps(_temp0, search.value))))}>`);
      } else {
        _push(`<input${ssrRenderAttr("id", __props.id)}${ssrRenderAttr("value", search.value)} autocomplete="none"${ssrIncludeBooleanAttr(!__props.searchable || __props.disabled) ? " readonly" : ""}${ssrRenderAttr("placeholder", placeholder.value || __props.label)} class="${ssrRenderClass([[
          __props.clearable ? "pe-16" : "pe-8",
          __props.inputClass || "focus rounded-md border shadow-xs",
          __props.size == "small" ? "py-1.5 ps-2 text-sm" : "py-2 ps-4 text-base",
          __props.error ? "border-red-500" : "border-gray-300 dark:border-gray-700",
          __props.disabled ? "opacity-60 focus:border-gray-200 focus:ring-0 dark:focus:border-gray-700 dark:focus:ring-0" : "focus:border-primary-500 focus:ring-primary-500 dark:focus:border-primary-600 dark:focus:ring-primary-600"
        ], "block w-full placeholder:text-gray-400 dark:bg-gray-900 dark:text-gray-300 dark:placeholder:text-gray-600"])}">`);
      }
      _push(`<div class="${ssrRenderClass([__props.placement == "top" ? "bottom-full mb-1 " + __props.position : "top-full mt-1 " + __props.position, "absolute z-20 w-full rounded-md"])}" style="${ssrRenderStyle(open.value ? null : { display: "none" })}"><ul${ssrRenderAttr("id", "ac-" + __props.id)} class="max-h-56 overflow-auto rounded-md border border-primary-300 bg-white text-base ring-2 ring-primary-200/50 focus:outline-hidden sm:text-sm dark:border-primary-500 dark:bg-gray-700 dark:ring-primary-400/50">`);
      if (result.value && result.value.length) {
        _push(`<!--[-->`);
        ssrRenderList(result.value, (r2, ri) => {
          _push(`<!--[-->`);
          if (!(__props.disable && __props.disable == cValue())) {
            _push(`<li${ssrRenderAttr("id", "s" + ri)}><button type="button"${ssrRenderAttr("id", __props.id + "-" + ri)}${ssrIncludeBooleanAttr(r2.disabled) ? " disabled" : ""} class="${ssrRenderClass([[
              isActive(ri) ? "bg-primary-500 text-white" : "text-focus",
              r2.disabled ? "cursor-default! opacity-50" : "hover:bg-primary-200 hover:text-primary-800 dark:hover:bg-primary-700 dark:hover:text-primary-100"
            ], "relative flex w-full items-center py-2 text-start select-none focus:rounded-none focus:ring-0 focus:outline-hidden"])}"><span class="ms-3 block truncate font-normal">${ssrInterpolate(cLabel(r2))}</span></button></li>`);
          } else {
            _push(`<!---->`);
          }
          _push(`<!--]-->`);
        });
        _push(`<!--]-->`);
      } else {
        _push(`<li class="relative cursor-default bg-primary-600 py-2 text-white select-none"><div class="flex items-center"><span class="ms-3 block truncate font-normal">`);
        if (loading.value) {
          _push(`<span>${ssrInterpolate(_ctx.$t("Searching for results"))}...</span>`);
        } else if (result.value == null) {
          _push(`<span>${ssrInterpolate(_ctx.$t("Scan barcode or search items for next"))}</span>`);
        } else if (__props.json) {
          _push(`<span>${ssrInterpolate(__props.defaultText || _ctx.$t("Please type to search"))}</span>`);
        } else {
          _push(`<span>${ssrInterpolate(_ctx.$t("No suggestions to list."))}</span>`);
        }
        _push(`</span></div></li>`);
      }
      _push(`</ul></div></div>`);
      if (__props.error) {
        _push(ssrRenderComponent(unref(_sfc_main$I), {
          message: __props.error.replace(" id", ""),
          class: "mt-0"
        }, null, _parent));
      } else {
        _push(`<!---->`);
      }
      _push(`</div>`);
    };
  }
};
const _sfc_setup$s = _sfc_main$s.setup;
_sfc_main$s.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/AutoComplete.vue");
  return _sfc_setup$s ? _sfc_setup$s(props, ctx) : void 0;
};
const _sfc_main$r = {
  __name: "LoadingButton",
  __ssrInlineRender: true,
  props: {
    loading: Boolean,
    disabled: Boolean,
    loadingClass: String,
    type: {
      type: String,
      default: "submit"
    }
  },
  setup(__props) {
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<button${ssrRenderAttrs(mergeProps({
        type: __props.type,
        disabled: __props.disabled || __props.loading,
        class: [{ "opacity-25": __props.loading }, "btn-primary"]
      }, _attrs))}>`);
      ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
      if (__props.loading) {
        _push(`<svg viewBox="0 0 38 38" xmlns="http://www.w3.org/2000/svg" class="${ssrRenderClass([__props.loadingClass, "ms-2 h-4 w-4 stroke-current"])}"><g fill="none" fill-rule="evenodd"><g transform="translate(1 1)" stroke-width="2"><circle stroke-opacity=".5" cx="18" cy="18" r="18"></circle><path d="M36 18c0-9.94-8.06-18-18-18"><animateTransform attributeName="transform" type="rotate" from="0 18 18" to="360 18 18" dur="1s" repeatCount="indefinite"></animateTransform></path></g></g></svg>`);
      } else {
        _push(`<!---->`);
      }
      _push(`</button>`);
    };
  }
};
const _sfc_setup$r = _sfc_main$r.setup;
_sfc_main$r.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/LoadingButton.vue");
  return _sfc_setup$r ? _sfc_setup$r(props, ctx) : void 0;
};
const _sfc_main$q = {
  __name: "Button",
  __ssrInlineRender: true,
  props: {
    loading: Boolean,
    href: {
      type: String,
      default: ""
    },
    away: {
      type: Boolean,
      default: false
    },
    type: {
      type: String,
      default: "submit"
    }
  },
  setup(__props) {
    return (_ctx, _push, _parent, _attrs) => {
      const _component_Link = resolveComponent("Link");
      if (__props.away && __props.href) {
        _push(`<a${ssrRenderAttrs(mergeProps({
          href: __props.href,
          class: "btn-primary"
        }, _attrs))}>`);
        ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
        _push(`</a>`);
      } else if (__props.href) {
        _push(ssrRenderComponent(_component_Link, mergeProps({
          href: __props.href,
          class: "btn-primary"
        }, _attrs), {
          default: withCtx((_2, _push2, _parent2, _scopeId) => {
            if (_push2) {
              ssrRenderSlot(_ctx.$slots, "default", {}, null, _push2, _parent2, _scopeId);
            } else {
              return [
                renderSlot(_ctx.$slots, "default")
              ];
            }
          }),
          _: 3
        }, _parent));
      } else {
        _push(ssrRenderComponent(_sfc_main$r, mergeProps({
          type: __props.type,
          loading: __props.loading,
          class: "btn-primary"
        }, _attrs), {
          default: withCtx((_2, _push2, _parent2, _scopeId) => {
            if (_push2) {
              ssrRenderSlot(_ctx.$slots, "default", {}, null, _push2, _parent2, _scopeId);
            } else {
              return [
                renderSlot(_ctx.$slots, "default")
              ];
            }
          }),
          _: 3
        }, _parent));
      }
    };
  }
};
const _sfc_setup$q = _sfc_main$q.setup;
_sfc_main$q.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/Button.vue");
  return _sfc_setup$q ? _sfc_setup$q(props, ctx) : void 0;
};
const _sfc_main$p = {
  __name: "CheckBox",
  __ssrInlineRender: true,
  props: {
    id: {
      type: String,
      default() {
        return (Math.random() + "").replace("0.", "");
      }
    },
    checked: {
      type: [Array, Boolean],
      default: false
    },
    value: {
      type: String,
      default: null
    },
    disabled: {
      type: Boolean,
      default: false
    },
    label: String,
    error: String
  },
  emits: ["update:checked"],
  setup(__props, { emit: __emit }) {
    const emit = __emit;
    const props = __props;
    const proxyChecked = computed({
      get() {
        return props.checked;
      },
      set(val) {
        emit("update:checked", val);
      }
    });
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<div${ssrRenderAttrs(_attrs)}><label${ssrRenderAttr("for", __props.id)} class="${ssrRenderClass([__props.disabled ? "opacity-50" : "", "inline-flex items-center font-medium"])}"><input${ssrRenderAttr("id", __props.id)}${ssrRenderAttr("value", __props.value)} type="checkbox"${ssrIncludeBooleanAttr(__props.disabled) ? " disabled" : ""}${ssrIncludeBooleanAttr(Array.isArray(proxyChecked.value) ? ssrLooseContain(proxyChecked.value, __props.value) : proxyChecked.value) ? " checked" : ""} class="${ssrRenderClass([{ "border-red-500": __props.error }, "h-5 w-5 rounded-sm border-gray-300 text-primary-600 shadow-xs focus:rounded-sm focus:ring-primary-200/50 focus:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50 dark:border-gray-700 dark:bg-gray-600"])}">`);
      if (__props.label) {
        _push(`<span class="ms-2">${__props.label ?? ""}</span>`);
      } else {
        _push(`<!---->`);
      }
      _push(`</label>`);
      _push(ssrRenderComponent(unref(_sfc_main$I), { message: __props.error }, null, _parent));
      _push(`</div>`);
    };
  }
};
const _sfc_setup$p = _sfc_main$p.setup;
_sfc_main$p.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/CheckBox.vue");
  return _sfc_setup$p ? _sfc_setup$p(props, ctx) : void 0;
};
const _sfc_main$o = {
  __name: "ClientOnly",
  __ssrInlineRender: true,
  setup(__props) {
    return (_ctx, _push, _parent, _attrs) => {
      if (unref(isClient)) {
        ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
      } else {
        _push(`<!---->`);
      }
    };
  }
};
const _sfc_setup$o = _sfc_main$o.setup;
_sfc_main$o.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/ClientOnly.vue");
  return _sfc_setup$o ? _sfc_setup$o(props, ctx) : void 0;
};
const _sfc_main$n = {
  __name: "CopyTextButton",
  __ssrInlineRender: true,
  props: { text: { type: String } },
  setup(__props) {
    const copied = ref(false);
    return (_ctx, _push, _parent, _attrs) => {
      const _component_Icon = resolveComponent("Icon");
      _push(`<button${ssrRenderAttrs(mergeProps({
        type: "button",
        class: "relative flex items-center"
      }, _attrs))}>`);
      ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
      if (copied.value) {
        _push(ssrRenderComponent(_component_Icon, {
          name: "copied-o",
          class: "absolute start-full ms-1 h-full w-5 text-success-500"
        }, null, _parent));
      } else {
        _push(`<!---->`);
      }
      _push(`</button>`);
    };
  }
};
const _sfc_setup$n = _sfc_main$n.setup;
_sfc_main$n.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/CopyTextButton.vue");
  return _sfc_setup$n ? _sfc_setup$n(props, ctx) : void 0;
};
const _sfc_main$m = {
  __name: "CustomFields",
  __ssrInlineRender: true,
  props: {
    errors: { type: Object, default: () => ({}) },
    keyboard: { type: Boolean, default: false },
    custom_fields: { type: Array, default: () => [] },
    extra_attributes: { type: Object, default: () => ({}) }
  },
  emits: ["update"],
  setup(__props, { emit: __emit }) {
    const emits = __emit;
    const props = __props;
    function isChecked(field, opt) {
      return props.extra_attributes[field] && props.extra_attributes[field].includes(opt);
    }
    function updateValue(field, e2, opt) {
      if (!props.extra_attributes[field]) {
        props.extra_attributes[field] = [];
      }
      if (e2.target.checked) {
        props.extra_attributes[field] = [...props.extra_attributes[field], opt];
      } else {
        props.extra_attributes[field] = props.extra_attributes[field].filter((v2) => v2 != opt);
      }
      emits("update", e2);
    }
    return (_ctx, _push, _parent, _attrs) => {
      if (__props.custom_fields && __props.custom_fields.length) {
        _push(`<div${ssrRenderAttrs(mergeProps({ class: "col-span-full grid grid-cols-6 gap-6" }, _attrs))}><!--[-->`);
        ssrRenderList(__props.custom_fields, (field, fi) => {
          _push(`<!--[-->`);
          if (field.type == "text" || field.type == "number") {
            _push(`<div class="col-span-6 sm:col-span-3">`);
            _push(ssrRenderComponent(unref(_sfc_main$j), {
              type: field.type,
              keyboard: __props.keyboard,
              label: _ctx.$t(field.name),
              onChange: (e2) => emits("update", e2),
              modelValue: __props.extra_attributes[field.name],
              "onUpdate:modelValue": ($event) => __props.extra_attributes[field.name] = $event,
              error: __props.errors["extra_attributes." + field.name]
            }, null, _parent));
            _push(`</div>`);
          } else if (field.type == "select") {
            _push(`<div class="col-span-6 sm:col-span-3">`);
            _push(ssrRenderComponent(unref(_sfc_main$s), {
              keyboard: __props.keyboard,
              label: _ctx.$t(field.name),
              suggestions: field.options,
              onChange: (e2) => emits("update", e2),
              modelValue: __props.extra_attributes[field.name],
              "onUpdate:modelValue": ($event) => __props.extra_attributes[field.name] = $event,
              error: __props.errors["extra_attributes." + field.name] || null
            }, null, _parent));
            _push(`</div>`);
          } else if (field.type == "date") {
            _push(`<div class="col-span-6 sm:col-span-3">`);
            _push(ssrRenderComponent(unref(_sfc_main$j), {
              type: "date",
              label: _ctx.$t(field.name),
              onChange: (e2) => emits("update", e2),
              modelValue: __props.extra_attributes[field.name],
              "onUpdate:modelValue": ($event) => __props.extra_attributes[field.name] = $event,
              error: __props.errors["extra_attributes." + field.name] || null
            }, null, _parent));
            _push(`</div>`);
          } else if (field.type == "time") {
            _push(`<div class="col-span-6 sm:col-span-3">`);
            _push(ssrRenderComponent(unref(_sfc_main$j), {
              type: "time",
              label: _ctx.$t(field.name),
              onChange: (e2) => emits("update", e2),
              modelValue: __props.extra_attributes[field.name],
              "onUpdate:modelValue": ($event) => __props.extra_attributes[field.name] = $event,
              error: __props.errors["extra_attributes." + field.name] || null
            }, null, _parent));
            _push(`</div>`);
          } else if (field.type == "checkbox") {
            _push(`<div class="col-span-full">`);
            _push(ssrRenderComponent(unref(_sfc_main$z), {
              value: _ctx.$t(field.name)
            }, null, _parent));
            _push(`<div class="my-2 flex flex-wrap items-center gap-x-12 gap-y-3"><!--[-->`);
            ssrRenderList(field.options, (opt, index) => {
              _push(ssrRenderComponent(unref(_sfc_main$z), {
                class: "flex items-center",
                key: fi + "_ex_cb_" + index,
                "for-id": fi + "_ex_cb_" + index
              }, {
                default: withCtx((_2, _push2, _parent2, _scopeId) => {
                  if (_push2) {
                    _push2(`<input${ssrRenderAttr("value", opt)} type="checkbox"${ssrRenderAttr("name", field.name + "[]")}${ssrRenderAttr("id", fi + "_ex_cb_" + index)}${ssrIncludeBooleanAttr(isChecked(field.name, opt)) ? " checked" : ""} class="h-5 w-5 rounded-sm border border-gray-300 text-primary-600 shadow-xs dark:border-gray-700 dark:bg-gray-900"${_scopeId}><span class="ms-2 cursor-default"${_scopeId}>${opt ?? ""}</span>`);
                  } else {
                    return [
                      createVNode("input", {
                        value: opt,
                        type: "checkbox",
                        name: field.name + "[]",
                        id: fi + "_ex_cb_" + index,
                        checked: isChecked(field.name, opt),
                        onChange: (e2) => updateValue(field.name, e2, opt),
                        class: "h-5 w-5 rounded-sm border border-gray-300 text-primary-600 shadow-xs dark:border-gray-700 dark:bg-gray-900"
                      }, null, 40, ["value", "name", "id", "checked", "onChange"]),
                      createVNode("span", {
                        innerHTML: opt,
                        class: "ms-2 cursor-default"
                      }, null, 8, ["innerHTML"])
                    ];
                  }
                }),
                _: 2
              }, _parent));
            });
            _push(`<!--]--></div>`);
            if (__props.errors["extra_attributes." + field.name] || null) {
              _push(ssrRenderComponent(unref(_sfc_main$I), {
                message: __props.errors["extra_attributes." + field.name] || null
              }, null, _parent));
            } else {
              _push(`<!---->`);
            }
            _push(`</div>`);
          } else if (field.type == "radio") {
            _push(`<div class="col-span-full">`);
            _push(ssrRenderComponent(unref(_sfc_main$z), {
              value: _ctx.$t(field.name)
            }, null, _parent));
            _push(`<div class="my-2 flex flex-wrap items-center gap-x-12 gap-y-3"><!--[-->`);
            ssrRenderList(field.options, (opt, index) => {
              _push(ssrRenderComponent(unref(_sfc_main$z), {
                class: "flex items-center",
                key: fi + "_ex_radio_" + index,
                "for-id": fi + "_ex_radio_" + index
              }, {
                default: withCtx((_2, _push2, _parent2, _scopeId) => {
                  if (_push2) {
                    _push2(`<input type="radio"${ssrRenderAttr("value", opt)}${ssrRenderAttr("name", field.name)}${ssrRenderAttr("id", fi + "_ex_radio_" + index)}${ssrIncludeBooleanAttr(ssrLooseEqual(__props.extra_attributes[field.name], opt)) ? " checked" : ""}${ssrIncludeBooleanAttr(__props.extra_attributes[field.name] == opt) ? " checked" : ""} class="h-5 w-5 rounded-full border border-gray-300 text-primary-600 shadow-xs dark:border-gray-700 dark:bg-gray-900"${_scopeId}><span class="ms-2 cursor-default"${_scopeId}>${opt ?? ""}</span>`);
                  } else {
                    return [
                      withDirectives(createVNode("input", {
                        type: "radio",
                        value: opt,
                        name: field.name,
                        id: fi + "_ex_radio_" + index,
                        onChange: (e2) => emits("update", e2),
                        "onUpdate:modelValue": ($event) => __props.extra_attributes[field.name] = $event,
                        checked: __props.extra_attributes[field.name] == opt,
                        class: "h-5 w-5 rounded-full border border-gray-300 text-primary-600 shadow-xs dark:border-gray-700 dark:bg-gray-900"
                      }, null, 40, ["value", "name", "id", "onChange", "onUpdate:modelValue", "checked"]), [
                        [vModelRadio, __props.extra_attributes[field.name]]
                      ]),
                      createVNode("span", {
                        innerHTML: opt,
                        class: "ms-2 cursor-default"
                      }, null, 8, ["innerHTML"])
                    ];
                  }
                }),
                _: 2
              }, _parent));
            });
            _push(`<!--]--></div>`);
            if (__props.errors["extra_attributes." + field.name] || null) {
              _push(ssrRenderComponent(unref(_sfc_main$I), {
                message: __props.errors["extra_attributes." + field.name] || null
              }, null, _parent));
            } else {
              _push(`<!---->`);
            }
            _push(`</div>`);
          } else if (field.type == "textarea") {
            _push(`<div class="col-span-full">`);
            _push(ssrRenderComponent(unref(_sfc_main$9), {
              keyboard: __props.keyboard,
              label: _ctx.$t(field.name),
              onChange: (e2) => emits("update", e2),
              modelValue: __props.extra_attributes[field.name],
              "onUpdate:modelValue": ($event) => __props.extra_attributes[field.name] = $event,
              error: __props.errors["extra_attributes." + field.name] || null
            }, null, _parent));
            _push(`</div>`);
          } else {
            _push(`<!---->`);
          }
          _push(`<!--]-->`);
        });
        _push(`<!--]--></div>`);
      } else {
        _push(`<!---->`);
      }
    };
  }
};
const _sfc_setup$m = _sfc_main$m.setup;
_sfc_main$m.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/CustomFields.vue");
  return _sfc_setup$m ? _sfc_setup$m(props, ctx) : void 0;
};
const _sfc_main$l = {
  __name: "DateInput",
  __ssrInlineRender: true,
  props: {
    id: {
      type: String,
      default() {
        return (Math.random() + "").replace("0.", "");
      }
    },
    type: {
      type: String,
      default: "text"
    },
    readonly: {
      type: Boolean,
      default: false
    },
    centered: {
      type: Boolean,
      default: false
    },
    monthPicker: {
      type: Boolean,
      default: false
    },
    clearable: {
      type: Boolean,
      default: true
    },
    time: {
      type: Boolean,
      default: false
    },
    showIcon: {
      type: Boolean,
      default: false
    },
    teleport: {
      type: Boolean,
      default: false
    },
    error: String,
    label: String,
    format: String,
    modelValue: String,
    placeholder: String
  },
  emits: ["change", "update:modelValue"],
  setup(__props, { emit: __emit }) {
    const emit = __emit;
    function update(date) {
      emit("update:modelValue", date);
      emit("change", date);
    }
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<!--[-->`);
      if (__props.label) {
        _push(`<div class="flex items-center justify-between">`);
        _push(ssrRenderComponent(unref(_sfc_main$z), {
          for: __props.id,
          value: __props.label,
          class: "mb-1 flex-1"
        }, null, _parent));
        if (_ctx.actionText && _ctx.action) {
          _push(`<button type="button" class="link text-sm">${ssrInterpolate(_ctx.actionText)}</button>`);
        } else {
          _push(`<!---->`);
        }
        _push(`</div>`);
      } else {
        _push(`<!---->`);
      }
      _push(ssrRenderComponent(unref(VueDatePicker), {
        teleport: true,
        "auto-apply": true,
        readonly: __props.readonly,
        "model-value": __props.modelValue,
        onCleared: (e2) => update(e2),
        "month-picker": __props.monthPicker,
        "onUpdate:modelValue": (e2) => update(e2),
        "time-config": { enableTimePicker: __props.time },
        "input-attrs": { id: __props.id, placeholder: __props.placeholder, clearable: __props.clearable, hideInputIcon: !__props.showIcon },
        formats: { input: __props.format || (__props.monthPicker ? "MMM yyyy" : __props.time ? "yyyy-MM-dd HH:mm" : "yyyy-MM-dd") }
      }, null, _parent));
      _push(ssrRenderComponent(unref(_sfc_main$I), {
        message: __props.error,
        class: "mt-2"
      }, null, _parent));
      _push(`<!--]-->`);
    };
  }
};
const _sfc_setup$l = _sfc_main$l.setup;
_sfc_main$l.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/DateInput.vue");
  return _sfc_setup$l ? _sfc_setup$l(props, ctx) : void 0;
};
const _sfc_main$k = {
  __name: "FileInput",
  __ssrInlineRender: true,
  props: {
    id: {
      type: String,
      default() {
        return (Math.random() + "").replace("0.", "");
      }
    },
    type: {
      type: String,
      default: "text"
    },
    multiple: {
      type: Boolean,
      default: false
    },
    accept: {
      type: String,
      default: "image/*"
    },
    modelValue: String,
    label: String,
    error: String
  },
  emits: ["input", "update:modelValue"],
  setup(__props, { emit: __emit }) {
    const photo = ref(null);
    const { t: t3 } = useI18n({});
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<div${ssrRenderAttrs(_attrs)}>`);
      if (__props.label) {
        _push(ssrRenderComponent(unref(_sfc_main$z), {
          for: __props.id,
          value: __props.label,
          class: "mb-1"
        }, null, _parent));
      } else {
        _push(`<!---->`);
      }
      _push(`<input${ssrRenderAttr("id", __props.id)}${ssrIncludeBooleanAttr(__props.multiple) ? " multiple" : ""} type="file" name="photo"${ssrRenderAttr("accept", __props.accept)} class="hidden"><label${ssrRenderAttr("for", __props.id)} class="${ssrRenderClass([{
        "border-red-500": __props.error,
        "text-gray-700 dark:text-gray-300": photo.value,
        "text-gray-400 dark:text-gray-600": !photo.value,
        "border-gray-300 dark:border-gray-700": !__props.error
      }, "inline-block w-full cursor-pointer rounded-md border px-4 py-2 text-start shadow-xs focus:border-primary-300 focus:ring-3 focus:ring-primary-200/50 dark:bg-gray-900"])}">${ssrInterpolate(__props.modelValue && photo.value ? photo.value : unref(t3)("Select"))}</label>`);
      if (__props.error) {
        _push(ssrRenderComponent(unref(_sfc_main$I), {
          message: __props.error,
          class: "mt-1"
        }, null, _parent));
      } else {
        _push(`<!---->`);
      }
      _push(`</div>`);
    };
  }
};
const _sfc_setup$k = _sfc_main$k.setup;
_sfc_main$k.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/FileInput.vue");
  return _sfc_setup$k ? _sfc_setup$k(props, ctx) : void 0;
};
const _sfc_main$j = {
  __name: "Input",
  __ssrInlineRender: true,
  props: {
    id: {
      type: String,
      default() {
        return (Math.random() + "").replace("0.", "");
      }
    },
    type: {
      type: String,
      default: "text"
    },
    readonly: {
      type: Boolean,
      default: false
    },
    keyboard: {
      type: Boolean,
      default: false
    },
    step: {
      type: String,
      default: "1"
    },
    rounded: {
      type: Boolean,
      default: false
    },
    min: String,
    max: String,
    size: String,
    error: String,
    label: String,
    title: String,
    pattern: String,
    action: Function,
    actionText: String,
    modelValue: String,
    placeholder: String,
    selectOnFocus: Boolean
  },
  emits: ["blur-sm", "input", "change", "focus", "keyup", "update:modelValue"],
  setup(__props, { emit: __emit }) {
    const input = ref(null);
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<!--[-->`);
      if (__props.label) {
        _push(`<div class="mb-1 flex items-center justify-between">`);
        _push(ssrRenderComponent(unref(_sfc_main$z), {
          for: __props.id,
          value: __props.label
        }, null, _parent));
        if (__props.actionText && __props.action) {
          _push(`<button type="button" class="link text-sm">${ssrInterpolate(__props.actionText)}</button>`);
        } else {
          _push(`<!---->`);
        }
        _push(`</div>`);
      } else {
        _push(`<!---->`);
      }
      if (__props.keyboard) {
        _push(`<input${ssrRenderAttrs(mergeProps({
          id: __props.id,
          min: __props.min,
          max: __props.max,
          ref_key: "input",
          ref: input,
          step: __props.step,
          type: __props.type,
          title: __props.title,
          pattern: __props.pattern,
          value: __props.modelValue,
          readonly: __props.readonly,
          placeholder: __props.placeholder || __props.label || "",
          class: [{
            error: __props.error,
            "rounded-md": !__props.rounded,
            "rounded-full": __props.rounded,
            "px-2 py-1 text-sm": __props.size == "sm",
            "border-gray-300 dark:border-gray-700": !__props.error,
            "border-gray-300 opacity-60 focus:border-gray-300 focus:ring-0 dark:focus:border-gray-700": __props.readonly,
            "focus:border-primary-500 focus:ring-primary-500 dark:focus:border-primary-600 dark:focus:ring-primary-600": !__props.readonly
          }, "block w-full shadow-xs placeholder:text-gray-400 dark:bg-gray-900 dark:text-gray-300 dark:placeholder:text-gray-600"]
        }, ssrGetDirectiveProps(_ctx, unref(vKeyboard))))}>`);
      } else {
        _push(`<input${ssrRenderAttr("id", __props.id)}${ssrRenderAttr("min", __props.min)}${ssrRenderAttr("max", __props.max)}${ssrRenderAttr("step", __props.step)}${ssrRenderAttr("type", __props.type)}${ssrRenderAttr("title", __props.title)}${ssrRenderAttr("pattern", __props.pattern)}${ssrRenderAttr("value", __props.modelValue)}${ssrIncludeBooleanAttr(__props.readonly) ? " readonly" : ""}${ssrRenderAttr("placeholder", __props.placeholder || __props.label || "")} class="${ssrRenderClass([{
          error: __props.error,
          "px-2 py-1 text-sm": __props.size == "sm",
          "border-gray-300 dark:border-gray-700": !__props.error,
          "border-gray-300 opacity-60 focus:border-gray-300 focus:ring-0 dark:focus:border-gray-700": __props.readonly,
          "focus:border-primary-500 focus:ring-primary-500 dark:focus:border-primary-600 dark:focus:ring-primary-600": !__props.readonly
        }, "block w-full rounded-md shadow-xs placeholder:text-gray-400 dark:bg-gray-900 dark:text-gray-300 dark:placeholder:text-gray-600"])}">`);
      }
      _push(ssrRenderComponent(unref(_sfc_main$I), {
        message: __props.error?.replace(" id", ""),
        class: "mt-2"
      }, null, _parent));
      _push(`<!--]-->`);
    };
  }
};
const _sfc_setup$j = _sfc_main$j.setup;
_sfc_main$j.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/Input.vue");
  return _sfc_setup$j ? _sfc_setup$j(props, ctx) : void 0;
};
const _sfc_main$i = {
  __name: "Loading",
  __ssrInlineRender: true,
  props: {
    loadingClass: {
      type: String,
      default: ""
    },
    circleSize: {
      type: String,
      default: "h-10 w-10"
    },
    fullScreen: {
      type: Boolean,
      default: false
    }
  },
  setup(__props) {
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<div${ssrRenderAttrs(mergeProps({
        class: [__props.fullScreen ? "fixed inset-0 z-10" : "absolute inset-0 z-1", "flex h-full w-full items-center justify-center text-gray-950 dark:text-gray-100"]
      }, _attrs))}><div class="absolute inset-0 bg-gray-100 opacity-75 backdrop-blur-xs dark:bg-gray-900"></div><div class="${ssrRenderClass([__props.loadingClass, "z-10 flex items-center justify-center"])}"><svg viewBox="0 0 38 38" class="${ssrRenderClass([__props.circleSize, "inline stroke-current"])}" stroke="currentColor" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g transform="translate(1 1)" stroke-width="1.5"><circle stroke-opacity=".3" cx="18" cy="18" r="18"></circle><path d="M36 18c0-9.94-8.06-18-18-18"><animateTransform attributeName="transform" type="rotate" from="0 18 18" to="360 18 18" dur="1s" repeatCount="indefinite"></animateTransform></path></g></g></svg></div></div>`);
    };
  }
};
const _sfc_setup$i = _sfc_main$i.setup;
_sfc_main$i.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/Loading.vue");
  return _sfc_setup$i ? _sfc_setup$i(props, ctx) : void 0;
};
const _sfc_main$h = {
  __name: "NumberInput",
  __ssrInlineRender: true,
  props: {
    modelValue: {
      type: [String, Number],
      default: null
    },
    name: {
      type: String,
      default: ""
    },
    min: {
      type: Number
    },
    max: {
      type: Number
    },
    delOn: {
      type: Number
    },
    id: {
      type: String,
      default() {
        return (Math.random() + "").replace("0.", "");
      }
    }
  },
  emits: ["change", "remove", "update:modelValue"],
  setup(__props, { emit: __emit }) {
    const emit = __emit;
    const props = __props;
    const value = computed({
      get: () => props.modelValue,
      set: (value2) => {
        emit("update:modelValue", value2);
        emit("change", value2);
      }
    });
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<div${ssrRenderAttrs(mergeProps({ class: "flex max-w-[7rem] items-center" }, _attrs))}>`);
      if (__props.delOn === 0 && __props.delOn == value.value) {
        _push(`<button type="button" id="decrement-button" data-input-counter-decrement="quantity-input" class="h-8 rounded-s-lg border border-gray-300 bg-gray-100 p-2 hover:bg-gray-200 focus:ring-2 focus:ring-gray-100 focus:outline-hidden dark:border-gray-600 dark:bg-gray-800 dark:hover:bg-gray-600 dark:focus:ring-gray-700"><svg fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" xmlns="http://www.w3.org/2000/svg" class="-mx-1 -my-2 h-5 w-5 text-red-600"><path stroke-linecap="round" stroke-linejoin="round" d="m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"></path></svg></button>`);
      } else {
        _push(`<button type="button" id="decrement-button" data-input-counter-decrement="quantity-input" class="h-8 rounded-s-lg border border-gray-300 bg-gray-100 p-2 hover:bg-gray-200 focus:ring-2 focus:ring-gray-100 focus:outline-hidden dark:border-gray-600 dark:bg-gray-800 dark:hover:bg-gray-600 dark:focus:ring-gray-700"><svg fill="none" aria-hidden="true" viewBox="0 0 18 2" xmlns="http://www.w3.org/2000/svg" class="h-3 w-3 text-gray-900 dark:text-white"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 1h16"></path></svg></button>`);
      }
      _push(`<input${ssrRenderAttr("id", __props.id)} type="text" placeholder="1"${ssrRenderAttr("value", value.value)} class="block h-8 w-full border border-x-0 border-gray-200 border-gray-300 py-2.5 text-center text-sm text-gray-900 dark:border-gray-600 dark:bg-gray-800 dark:text-white dark:placeholder-gray-400"><button type="button" id="increment-button" data-input-counter-increment="quantity-input" class="h-8 rounded-e-lg border border-gray-300 bg-gray-100 p-2 hover:bg-gray-200 focus:ring-2 focus:ring-gray-100 focus:outline-hidden dark:border-gray-600 dark:bg-gray-800 dark:hover:bg-gray-600 dark:focus:ring-gray-700"><svg class="h-3 w-3 text-gray-900 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 18 18"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 1v16M1 9h16"></path></svg></button></div>`);
    };
  }
};
const _sfc_setup$h = _sfc_main$h.setup;
_sfc_main$h.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/NumberInput.vue");
  return _sfc_setup$h ? _sfc_setup$h(props, ctx) : void 0;
};
const _sfc_main$g = {
  __name: "NumberInputRound",
  __ssrInlineRender: true,
  props: {
    modelValue: {
      type: [String, Number],
      default: null
    },
    name: {
      type: String,
      default: ""
    },
    min: {
      type: Number
    },
    max: {
      type: Number
    },
    delOn: {
      type: Number
    },
    id: {
      type: String,
      default() {
        return (Math.random() + "").replace("0.", "");
      }
    }
  },
  emits: ["change", "remove", "update:modelValue"],
  setup(__props, { emit: __emit }) {
    const emit = __emit;
    const props = __props;
    const value = computed({
      get: () => props.modelValue,
      set: (value2) => {
        emit("update:modelValue", value2);
        emit("change", value2);
      }
    });
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<div${ssrRenderAttrs(mergeProps({ class: "flex max-w-[7rem] items-center" }, _attrs))}>`);
      if (__props.delOn === 0 && __props.delOn == value.value) {
        _push(`<button type="button" id="decrement-button" data-input-counter-decrement="quantity-input" class="h-8 rounded-full border border-gray-300 bg-gray-100 p-2 hover:bg-gray-200 focus:ring-2 focus:ring-gray-100 focus:outline-hidden dark:border-gray-600 dark:bg-gray-800 dark:hover:bg-gray-600 dark:focus:ring-gray-700"><svg fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" xmlns="http://www.w3.org/2000/svg" class="-mx-1 -my-2 h-5 w-5 text-red-600"><path stroke-linecap="round" stroke-linejoin="round" d="m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"></path></svg></button>`);
      } else {
        _push(`<button type="button" id="decrement-button" data-input-counter-decrement="quantity-input" class="h-8 flex-1 rounded-full border border-gray-300 bg-gray-100 p-2 hover:bg-gray-200 focus:ring-2 focus:ring-gray-100 focus:outline-hidden dark:border-gray-600 dark:bg-gray-800 dark:hover:bg-gray-600 dark:focus:ring-gray-700"><svg fill="none" aria-hidden="true" viewBox="0 0 18 2" xmlns="http://www.w3.org/2000/svg" class="h-3 w-3 text-gray-900 dark:text-white"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 1h16"></path></svg></button>`);
      }
      _push(`<input${ssrRenderAttr("id", __props.id)} type="text" placeholder="1"${ssrRenderAttr("value", value.value)} class="block h-8 w-full border-0 py-2.5 text-center text-sm text-gray-900 dark:bg-gray-950 dark:text-white dark:placeholder-gray-400"><button type="button" id="increment-button" data-input-counter-increment="quantity-input" class="h-8 rounded-full border border-gray-300 bg-gray-100 p-2 hover:bg-gray-200 focus:ring-2 focus:ring-gray-100 focus:outline-hidden dark:border-gray-600 dark:bg-gray-800 dark:hover:bg-gray-600 dark:focus:ring-gray-700"><svg class="h-3 w-3 text-gray-900 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 18 18"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 1v16M1 9h16"></path></svg></button></div>`);
    };
  }
};
const _sfc_setup$g = _sfc_main$g.setup;
_sfc_main$g.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/NumberInputRound.vue");
  return _sfc_setup$g ? _sfc_setup$g(props, ctx) : void 0;
};
const _sfc_main$f = {
  __name: "Pagination",
  __ssrInlineRender: true,
  props: ["meta", "links", "half"],
  setup(__props) {
    return (_ctx, _push, _parent, _attrs) => {
      const _component_Link = resolveComponent("Link");
      if (__props.meta && __props.meta.total > 0) {
        _push(`<div${ssrRenderAttrs(_attrs)}><div class="hidden items-center justify-between xl:flex"><div class="me-4 py-1.5">${ssrInterpolate(_ctx.$t("Showing from {from} to {to} of total {total} records", {
          from: Math.ceil(__props.meta.from / (__props.half ? 2 : 1)),
          to: Math.ceil(__props.meta.to / (__props.half ? 2 : 1)),
          total: Math.ceil(__props.meta.total / (__props.half ? 2 : 1))
        }))}</div>`);
        if (__props.meta.last_page > 1) {
          _push(`<div class="flex flex-wrap gap-1"><!--[-->`);
          ssrRenderList(__props.meta.links, (link, i2) => {
            _push(`<!--[-->`);
            if (link.url === null) {
              _push(`<div class="cursor-default rounded-md border border-gray-200 bg-white px-4 py-3 text-sm leading-4 text-gray-700 opacity-50 dark:border-gray-700 dark:bg-gray-950 dark:text-gray-300">${link.label.replace("Next", "").replace("Previous", "").replace("&laquo;", "⟨").replace("&raquo;", "⟩") ?? ""}</div>`);
            } else {
              _push(ssrRenderComponent(_component_Link, {
                href: link.url,
                class: [
                  link.active ? "border-primary-700 bg-primary-600 text-white" : "bg-white text-gray-700 dark:bg-gray-950 dark:text-gray-300",
                  "inline-block rounded-md border border-gray-200 px-4 py-3 text-sm leading-4 whitespace-nowrap hover:border-primary-700 hover:bg-primary-700 hover:text-white focus:border-primary-600 dark:border-gray-700"
                ]
              }, {
                default: withCtx((_2, _push2, _parent2, _scopeId) => {
                  if (_push2) {
                    _push2(`<span${_scopeId}>${link.label.replace("Next", "").replace("Previous", "").replace("&laquo;", "⟨").replace("&raquo;", "⟩") ?? ""}</span>`);
                  } else {
                    return [
                      createVNode("span", {
                        innerHTML: link.label.replace("Next", "").replace("Previous", "").replace("&laquo;", "⟨").replace("&raquo;", "⟩")
                      }, null, 8, ["innerHTML"])
                    ];
                  }
                }),
                _: 2
              }, _parent));
            }
            _push(`<!--]-->`);
          });
          _push(`<!--]--></div>`);
        } else {
          _push(`<!---->`);
        }
        _push(`</div><div class="flex items-center justify-between xl:hidden">`);
        if (__props.links.prev) {
          _push(ssrRenderComponent(_component_Link, {
            href: __props.links.prev,
            class: [
              "inline-block rounded-md border border-gray-200 px-4 py-3 text-sm leading-4 whitespace-nowrap dark:border-gray-700 print:hidden",
              __props.links.prev ? "bg-white text-gray-700 hover:border-primary-700 hover:bg-primary-700 hover:text-white focus:border-primary-600 dark:bg-gray-950 dark:text-gray-300" : "cursor-default bg-gray-100 dark:bg-gray-950"
            ]
          }, {
            default: withCtx((_2, _push2, _parent2, _scopeId) => {
              if (_push2) {
                _push2(` ⟪ <span class="ms-1 hidden sm:inline-block"${_scopeId}>${ssrInterpolate(_ctx.$t("Previous"))}</span>`);
              } else {
                return [
                  createTextVNode(" ⟪ "),
                  createVNode("span", { class: "ms-1 hidden sm:inline-block" }, toDisplayString(_ctx.$t("Previous")), 1)
                ];
              }
            }),
            _: 1
          }, _parent));
        } else {
          _push(`<button type="button" class="inline-block cursor-default rounded-md border border-gray-200 bg-gray-100 px-4 py-3 text-sm leading-4 whitespace-nowrap opacity-25 dark:border-gray-700 dark:bg-gray-950 print:hidden"> ⟪ <span class="ms-1 hidden sm:inline-block">${ssrInterpolate(_ctx.$t("Previous"))}</span></button>`);
        }
        _push(`<div class="mx-3">${ssrInterpolate(_ctx.$t("Showing from {from} to {to} of total {total} records", {
          from: Math.ceil(__props.meta.from / (__props.half ? 2 : 1)),
          to: Math.ceil(__props.meta.to / (__props.half ? 2 : 1)),
          total: Math.ceil(__props.meta.total / (__props.half ? 2 : 1))
        }))}</div>`);
        if (__props.links.next) {
          _push(ssrRenderComponent(_component_Link, {
            href: __props.links.next,
            class: [
              "inline-block rounded-md border border-gray-200 px-4 py-3 text-sm leading-4 whitespace-nowrap dark:border-gray-700 print:hidden",
              __props.links.next ? "bg-white text-gray-700 hover:border-primary-700 hover:bg-primary-700 hover:text-white focus:border-primary-600 dark:bg-gray-950 dark:text-gray-300" : "cursor-default bg-gray-100"
            ]
          }, {
            default: withCtx((_2, _push2, _parent2, _scopeId) => {
              if (_push2) {
                _push2(`<span class="me-1 hidden sm:inline-block"${_scopeId}>${ssrInterpolate(_ctx.$t("Next"))}</span> ⟫ `);
              } else {
                return [
                  createVNode("span", { class: "me-1 hidden sm:inline-block" }, toDisplayString(_ctx.$t("Next")), 1),
                  createTextVNode(" ⟫ ")
                ];
              }
            }),
            _: 1
          }, _parent));
        } else {
          _push(`<button type="button" class="inline-block cursor-default rounded-md border border-gray-200 bg-gray-100 px-4 py-3 text-sm leading-4 whitespace-nowrap opacity-25 dark:border-gray-700 dark:bg-gray-950 print:hidden"><span class="me-1 hidden sm:inline-block">${ssrInterpolate(_ctx.$t("Next"))}</span> ⟫ </button>`);
        }
        _push(`</div></div>`);
      } else {
        _push(`<!---->`);
      }
    };
  }
};
const _sfc_setup$f = _sfc_main$f.setup;
_sfc_main$f.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/Pagination.vue");
  return _sfc_setup$f ? _sfc_setup$f(props, ctx) : void 0;
};
const _sfc_main$e = {
  __name: "ProductSearch",
  __ssrInlineRender: true,
  props: {
    id: {
      type: String,
      default: "product-search"
    },
    model: {
      type: String,
      default: ""
    },
    type: {
      type: String,
      default: ""
    },
    rounded: {
      type: Boolean,
      default: false
    }
  },
  emits: ["update:modelValue", "add-item", "focus"],
  setup(__props, { emit: __emit }) {
    const props = __props;
    const emits = __emit;
    const value = ref("");
    const result = ref([]);
    const adding = ref(false);
    const excludeRef = ref(null);
    const openSearch = ref(false);
    const componentRef = ref(null);
    useClickOutside(componentRef, () => openSearch.value = false, excludeRef, props.keyboard ? "keyboard-container" : null);
    watch(value, debounce(searchProducts, 500));
    onMounted(() => {
      value.value = props.modelValue;
    });
    async function searchProducts(query) {
      if (query) {
        result.value = await searchItems(query, props.model);
        if (result.value.length == 1) {
          addItem(result.value[0]);
        }
      }
    }
    const addItem = async (p2) => {
      adding.value = true;
      openSearch.value = false;
      value.value = "";
      emits("add-item", p2);
      await nextTick();
      document.getElementById(props.id)?.focus();
      adding.value = false;
    };
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<div${ssrRenderAttrs(mergeProps({
        ref_key: "excludeRef",
        ref: excludeRef,
        class: "relative"
      }, _attrs))}><div class="relative">`);
      _push(ssrRenderComponent(_sfc_main$j, {
        label: "",
        id: __props.id,
        modelValue: value.value,
        "onUpdate:modelValue": ($event) => value.value = $event,
        rounded: __props.rounded,
        keyboard: __props.type == "pos",
        onFocus: ($event) => openSearch.value = true,
        placeholder: _ctx.$t("Scan barcode or type to search")
      }, null, _parent));
      if (__props.type != "pos") {
        _push(ssrRenderComponent(unref(Link), {
          href: unref(P)("products.create"),
          class: "absolute end-0 top-1/2 -translate-y-1/2 rounded-r-md border-l border-gray-300 p-2 text-gray-500 hover:bg-gray-200 hover:text-gray-700 focus:ring-2 focus:ring-primary-500 focus:outline-none dark:border-gray-700 dark:hover:bg-gray-700 dark:hover:text-white"
        }, {
          default: withCtx((_2, _push2, _parent2, _scopeId) => {
            if (_push2) {
              _push2(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6"${_scopeId}><path stroke-linecap="round" stroke-linejoin="round" d="M12 4.5v15m7.5-7.5h-15"${_scopeId}></path></svg>`);
            } else {
              return [
                (openBlock(), createBlock("svg", {
                  xmlns: "http://www.w3.org/2000/svg",
                  fill: "none",
                  viewBox: "0 0 24 24",
                  "stroke-width": "1.5",
                  stroke: "currentColor",
                  class: "size-6"
                }, [
                  createVNode("path", {
                    "stroke-linecap": "round",
                    "stroke-linejoin": "round",
                    d: "M12 4.5v15m7.5-7.5h-15"
                  })
                ]))
              ];
            }
          }),
          _: 1
        }, _parent));
      } else {
        _push(`<!---->`);
      }
      _push(`</div>`);
      if (openSearch.value && value.value && result.value?.length) {
        _push(`<div class="absolute start-0 end-0 top-full z-10 mt-2 max-h-96 min-w-[200px] overflow-y-auto rounded-md bg-white py-1 ring-1 ring-gray-200 dark:bg-gray-700 dark:ring-gray-700"><!--[-->`);
        ssrRenderList(result.value, (p2) => {
          _push(`<button type="button"${ssrIncludeBooleanAttr(
            adding.value || (__props.model == "purchase" ? false : __props.model == "adjustment" ? __props.type == "Subtraction" && _ctx.$page.props.settings.overselling != 1 && p2.store_stock?.balance <= 0 : _ctx.$page.props.settings.overselling != 1 && p2.store_stock?.balance <= 0)
          ) ? " disabled" : ""} class="flex w-full flex-wrap items-center justify-between gap-x-8 gap-y-0 px-4 py-1.5 text-start hover:bg-gray-100 disabled:pointer-events-none disabled:opacity-50 dark:hover:bg-gray-900">${ssrInterpolate(p2.name)} <span class="text-sm"><span class="text-mute">${ssrInterpolate(_ctx.$t("In Stock") + ":")}</span><span class="ms-0.5 font-bold">${ssrInterpolate(_ctx.$decimal_qty(p2.store_stock?.balance || 0))}</span></span></button>`);
        });
        _push(`<!--]--></div>`);
      } else {
        _push(`<!---->`);
      }
      _push(`</div>`);
    };
  }
};
const _sfc_setup$e = _sfc_main$e.setup;
_sfc_main$e.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/ProductSearch.vue");
  return _sfc_setup$e ? _sfc_setup$e(props, ctx) : void 0;
};
const _sfc_main$d = {
  __name: "RadioGroup",
  __ssrInlineRender: true,
  props: {
    id: {
      type: String,
      default() {
        return (Math.random() + "").replace("0.", "");
      }
    },
    modelValue: {
      type: [String, Number, Boolean],
      default: false
    },
    options: {
      type: Array,
      default: () => []
    },
    label: String,
    error: String
  },
  emits: ["update:checked"],
  setup(__props, { emit: __emit }) {
    const value = ref("value1");
    const emit = __emit;
    const props = __props;
    onMounted(() => {
      value.value = props.modelValue;
    });
    watch(value, (newVal) => {
      emit("update:checked", newVal);
      emit("update:modelValue", newVal);
    });
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<div${ssrRenderAttrs(mergeProps({ class: "flex gap-x-8 gap-y-3" }, _attrs))}>`);
      if (__props.label) {
        _push(`<label class="text-mute mb-1 block text-sm font-bold">${ssrInterpolate(__props.label)}</label>`);
      } else {
        _push(`<!---->`);
      }
      _push(`<!--[-->`);
      ssrRenderList(__props.options, (option) => {
        _push(`<div><label${ssrRenderAttr("for", option.key)} class="text-mute inline-flex items-center text-sm font-medium"><input type="radio"${ssrIncludeBooleanAttr(ssrLooseEqual(value.value, option.value)) ? " checked" : ""}${ssrRenderAttr("id", option.key)}${ssrRenderAttr("name", option.key)}${ssrRenderAttr("value", option.value)} class="${ssrRenderClass([{ "border-red-500": __props.error }, "h-5 w-5 rounded-full border-gray-300 text-primary-600 shadow-xs focus:rounded-full focus:ring-primary-400/90 focus:ring-offset-0 dark:border-gray-700 dark:bg-gray-600"])}">`);
        if (option.label) {
          _push(`<span class="ms-2">${option.label ?? ""}</span>`);
        } else {
          _push(`<!---->`);
        }
        _push(`</label>`);
        _push(ssrRenderComponent(unref(_sfc_main$I), { message: __props.error }, null, _parent));
        _push(`</div>`);
      });
      _push(`<!--]--></div>`);
    };
  }
};
const _sfc_setup$d = _sfc_main$d.setup;
_sfc_main$d.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/RadioGroup.vue");
  return _sfc_setup$d ? _sfc_setup$d(props, ctx) : void 0;
};
const _sfc_main$c = {
  __name: "SelectStore",
  __ssrInlineRender: true,
  setup(__props) {
    const page = usePage();
    watch(
      () => page.props.flash,
      () => {
        page.props.select_store = page.props.flash?.select_store ? true : false;
      }
    );
    function hide() {
      page.props.select_store = false;
    }
    function selectStore(id) {
      router.visit(route("stores.select", { id }), {
        method: "post",
        onSuccess: () => page.props.select_store = false
      });
    }
    return (_ctx, _push, _parent, _attrs) => {
      const _component_Icon = resolveComponent("Icon");
      _push(ssrRenderComponent(unref(_sfc_main$L), mergeProps({
        show: unref(page).props.select_store,
        "max-width": "md",
        onClose: hide
      }, _attrs), {
        default: withCtx((_2, _push2, _parent2, _scopeId) => {
          if (_push2) {
            _push2(`<div class="p-6"${_scopeId}><div class="flex items-center justify-start gap-4"${_scopeId}><div class="mx-auto flex h-10 w-10 items-center justify-center rounded-full bg-primary-100"${_scopeId}>`);
            _push2(ssrRenderComponent(_component_Icon, {
              name: "store-o",
              size: "size-5 text-primary-600"
            }, null, _parent2, _scopeId));
            _push2(`</div><div class="flex-1 grow"${_scopeId}><h3 class="text-base leading-6 font-semibold text-gray-900 dark:text-gray-100"${_scopeId}>${ssrInterpolate(_ctx.$t("Select {x}", { x: _ctx.$t("Store") }))}</h3><p class="text-sm"${_scopeId}>${ssrInterpolate(_ctx.$t("Please select a store first!"))}</p></div></div><div class="mt-6 grid grid-cols-2 gap-6 sm:mt-8"${_scopeId}><!--[-->`);
            ssrRenderList(unref(page).props.available_stores, (store2) => {
              _push2(`<!--[-->`);
              if (store2.id == unref(page).props.selected_store) {
                _push2(`<button class="yellow:bg-yellow-800 yellow:text-yellow-100 yellow:hover:bg-yellow-700 focus inline-flex w-full justify-center rounded-lg bg-yellow-100 px-3 py-2 text-sm font-semibold text-yellow-900 shadow-xs hover:bg-yellow-300"${_scopeId}>${ssrInterpolate(_ctx.$t("Unselect {x}", { x: store2.name }))}</button>`);
              } else {
                _push2(`<button class="focus inline-flex w-full justify-center rounded-lg bg-gray-100 px-3 py-2 text-sm font-semibold text-gray-900 shadow-xs hover:bg-gray-300 dark:bg-gray-900 dark:text-gray-100 dark:hover:bg-gray-700"${_scopeId}>${ssrInterpolate(_ctx.$t("Select {x}", { x: store2.name }))}</button>`);
              }
              _push2(`<!--]-->`);
            });
            _push2(`<!--]--></div></div>`);
          } else {
            return [
              createVNode("div", { class: "p-6" }, [
                createVNode("div", { class: "flex items-center justify-start gap-4" }, [
                  createVNode("div", { class: "mx-auto flex h-10 w-10 items-center justify-center rounded-full bg-primary-100" }, [
                    createVNode(_component_Icon, {
                      name: "store-o",
                      size: "size-5 text-primary-600"
                    })
                  ]),
                  createVNode("div", { class: "flex-1 grow" }, [
                    createVNode("h3", { class: "text-base leading-6 font-semibold text-gray-900 dark:text-gray-100" }, toDisplayString(_ctx.$t("Select {x}", { x: _ctx.$t("Store") })), 1),
                    createVNode("p", { class: "text-sm" }, toDisplayString(_ctx.$t("Please select a store first!")), 1)
                  ])
                ]),
                createVNode("div", { class: "mt-6 grid grid-cols-2 gap-6 sm:mt-8" }, [
                  (openBlock(true), createBlock(Fragment, null, renderList(unref(page).props.available_stores, (store2) => {
                    return openBlock(), createBlock(Fragment, {
                      key: store2.id
                    }, [
                      store2.id == unref(page).props.selected_store ? (openBlock(), createBlock("button", {
                        key: 0,
                        onClick: ($event) => selectStore(0),
                        class: "yellow:bg-yellow-800 yellow:text-yellow-100 yellow:hover:bg-yellow-700 focus inline-flex w-full justify-center rounded-lg bg-yellow-100 px-3 py-2 text-sm font-semibold text-yellow-900 shadow-xs hover:bg-yellow-300"
                      }, toDisplayString(_ctx.$t("Unselect {x}", { x: store2.name })), 9, ["onClick"])) : (openBlock(), createBlock("button", {
                        key: 1,
                        onClick: ($event) => selectStore(store2.id),
                        class: "focus inline-flex w-full justify-center rounded-lg bg-gray-100 px-3 py-2 text-sm font-semibold text-gray-900 shadow-xs hover:bg-gray-300 dark:bg-gray-900 dark:text-gray-100 dark:hover:bg-gray-700"
                      }, toDisplayString(_ctx.$t("Select {x}", { x: store2.name })), 9, ["onClick"]))
                    ], 64);
                  }), 128))
                ])
              ])
            ];
          }
        }),
        _: 1
      }, _parent));
    };
  }
};
const _sfc_setup$c = _sfc_main$c.setup;
_sfc_main$c.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/SelectStore.vue");
  return _sfc_setup$c ? _sfc_setup$c(props, ctx) : void 0;
};
const _sfc_main$b = {
  __name: "SelectVariant",
  __ssrInlineRender: true,
  props: ["item", "round"],
  emits: ["close", "update"],
  setup(__props, { emit: __emit }) {
    const page = usePage();
    const props = __props;
    const emit = __emit;
    const meta = ref({});
    const show = ref(true);
    const code = ref(null);
    const selected = ref(null);
    const localItem = ref(props.item);
    watch(code, (s2) => {
      selected.value = props.item?.product?.variations.find((v2) => v2.code.toLowerCase() == s2.toLowerCase());
      update();
    });
    watch(
      meta,
      (s2) => {
        selected.value = props.item?.product?.variations.find((v2) => isEqual(v2.meta, s2));
        update();
      },
      { deep: true }
    );
    onMounted(async () => {
      await nextTick();
      setTimeout(() => {
        document.getElementById("variation-code")?.focus();
      }, 100);
    });
    function update() {
      if (selected.value) {
        const variation2 = props.item.variations.find((v2) => v2.id == selected.value.id);
        if (variation2) {
          localItem.value.variations = props.item.variations.map((v2) => v2.id == variation2.id ? { ...v2, quantity: v2.quantity + 1 } : v2);
          selected.value = variation2;
        } else {
          localItem.value.variations = props.item.variations.map(
            (v2) => v2.id ? v2 : {
              ...selected.value,
              quantity: 1,
              taxes: props.item.taxes,
              unit_id: props.item.unit_id,
              tax_included: props.item.tax_included == 1,
              cost: selected.value.cost || props.item.cost,
              price: selected.value.price || props.item.price
            }
          );
        }
        localItem.value.variations = localItem.value.variations.filter((v2) => v2.id);
        localItem.value.quantity = localItem.value.variations.reduce((a2, v2) => Number(v2.quantity) + a2, 0);
        meta.value = {};
        code.value = null;
        selected.value = null;
        emit("update", localItem.value);
      }
    }
    return (_ctx, _push, _parent, _attrs) => {
      const _component_Icon = resolveComponent("Icon");
      _push(ssrRenderComponent(unref(_sfc_main$L), mergeProps({
        show: show.value,
        "max-width": "md",
        onClose: ($event) => _ctx.$emit("close"),
        overflow: true,
        round: __props.round
      }, _attrs), {
        default: withCtx((_2, _push2, _parent2, _scopeId) => {
          if (_push2) {
            _push2(`<div class="p-6"${_scopeId}><div class="flex items-center justify-start gap-4"${_scopeId}><div class="mx-auto flex h-10 w-10 items-center justify-center rounded-full bg-primary-100"${_scopeId}>`);
            _push2(ssrRenderComponent(_component_Icon, {
              name: "bolt",
              size: "size-5 text-primary-600"
            }, null, _parent2, _scopeId));
            _push2(`</div><div class="flex-1 grow"${_scopeId}><h3 class="text-base leading-6 font-semibold text-gray-900 dark:text-gray-100"${_scopeId}>${ssrInterpolate(_ctx.$t("Select {x}", { x: _ctx.$t("Variant") }))}</h3><p class="text-sm"${_scopeId}>${ssrInterpolate(_ctx.$t("Please select the variant to add item to order list."))}</p></div></div><div class="mt-6 grid grid-cols-1 gap-6 sm:mt-8 sm:grid-cols-2"${_scopeId}><div class="col-span-full"${_scopeId}>`);
            _push2(ssrRenderComponent(unref(_sfc_main$j), {
              label: "",
              modelValue: code.value,
              "onUpdate:modelValue": ($event) => code.value = $event,
              id: "variation-code",
              placeholder: _ctx.$t("Scan barcode or type the variation code")
            }, null, _parent2, _scopeId));
            _push2(`</div><!--[-->`);
            ssrRenderList(localItem.value.product.variants, (variant, vi) => {
              _push2(`<div${_scopeId}>`);
              _push2(ssrRenderComponent(unref(_sfc_main$s), {
                id: "type",
                json: true,
                label: _ctx.$t(variant.name),
                suggestions: variant.options,
                modelValue: meta.value[variant.name],
                "onUpdate:modelValue": ($event) => meta.value[variant.name] = $event
              }, null, _parent2, _scopeId));
              _push2(`</div>`);
            });
            _push2(`<!--]-->`);
            if (selected.value) {
              _push2(`<div class="col-span-full rounded-lg border border-gray-200 dark:border-gray-700"${_scopeId}><dl class="divide-y divide-gray-200 dark:divide-gray-700"${_scopeId}><div class="px-4 py-2 sm:grid sm:grid-cols-3 sm:gap-4"${_scopeId}><dt class="text-sm/6 font-medium text-gray-900"${_scopeId}>${ssrInterpolate(_ctx.$t("Code"))}</dt><dd class="mt-1 text-sm/6 text-gray-700 sm:col-span-2 sm:mt-0"${_scopeId}>${ssrInterpolate(selected.value.code)}</dd></div><div class="px-4 py-2 sm:grid sm:grid-cols-3 sm:gap-4"${_scopeId}><dt class="text-sm/6 font-medium text-gray-900"${_scopeId}>${ssrInterpolate(_ctx.$t("Quantity"))}</dt><dd class="mt-1 text-sm/6 text-gray-700 sm:col-span-2 sm:mt-0"${_scopeId}>${ssrInterpolate(_ctx.$number(selected.value.stocks.find((s2) => s2.store_id == unref(page).props.selected_store)?.balance))}</dd></div><div class="px-4 py-2 sm:grid sm:grid-cols-3 sm:gap-4"${_scopeId}><dt class="text-sm/6 font-medium text-gray-900"${_scopeId}>${ssrInterpolate(_ctx.$t("Cost"))}</dt><dd class="mt-1 text-sm/6 text-gray-700 sm:col-span-2 sm:mt-0"${_scopeId}>${ssrInterpolate(selected.value.cost ? _ctx.$number(selected.value.cost) : "")}</dd></div><div class="px-4 py-2 sm:grid sm:grid-cols-3 sm:gap-4"${_scopeId}><dt class="text-sm/6 font-medium text-gray-900"${_scopeId}>${ssrInterpolate(_ctx.$t("Price"))}</dt><dd class="mt-1 text-sm/6 text-gray-700 sm:col-span-2 sm:mt-0"${_scopeId}>${ssrInterpolate(selected.value.price ? _ctx.$number(selected.value.price) : "")}</dd></div><div class="px-4 py-2 sm:grid sm:grid-cols-3 sm:gap-4"${_scopeId}><dt class="text-sm/6 font-medium text-gray-900"${_scopeId}>${ssrInterpolate(_ctx.$t("Weight"))}</dt><dd class="mt-1 text-sm/6 text-gray-700 sm:col-span-2 sm:mt-0"${_scopeId}>${ssrInterpolate(selected.value.weight ? _ctx.$number(selected.value.weight) : "")}</dd></div><div class="px-4 py-2 sm:grid sm:grid-cols-3 sm:gap-4"${_scopeId}><dt class="text-sm/6 font-medium text-gray-900"${_scopeId}>${ssrInterpolate(_ctx.$t("Dimensions"))}</dt><dd class="mt-1 text-sm/6 text-gray-700 sm:col-span-2 sm:mt-0"${_scopeId}>${ssrInterpolate(selected.value.dimensions)}</dd></div></dl></div>`);
            } else {
              _push2(`<!---->`);
            }
            _push2(`</div></div>`);
          } else {
            return [
              createVNode("div", { class: "p-6" }, [
                createVNode("div", { class: "flex items-center justify-start gap-4" }, [
                  createVNode("div", { class: "mx-auto flex h-10 w-10 items-center justify-center rounded-full bg-primary-100" }, [
                    createVNode(_component_Icon, {
                      name: "bolt",
                      size: "size-5 text-primary-600"
                    })
                  ]),
                  createVNode("div", { class: "flex-1 grow" }, [
                    createVNode("h3", { class: "text-base leading-6 font-semibold text-gray-900 dark:text-gray-100" }, toDisplayString(_ctx.$t("Select {x}", { x: _ctx.$t("Variant") })), 1),
                    createVNode("p", { class: "text-sm" }, toDisplayString(_ctx.$t("Please select the variant to add item to order list.")), 1)
                  ])
                ]),
                createVNode("div", { class: "mt-6 grid grid-cols-1 gap-6 sm:mt-8 sm:grid-cols-2" }, [
                  createVNode("div", { class: "col-span-full" }, [
                    createVNode(unref(_sfc_main$j), {
                      label: "",
                      modelValue: code.value,
                      "onUpdate:modelValue": ($event) => code.value = $event,
                      id: "variation-code",
                      placeholder: _ctx.$t("Scan barcode or type the variation code")
                    }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
                  ]),
                  (openBlock(true), createBlock(Fragment, null, renderList(localItem.value.product.variants, (variant, vi) => {
                    return openBlock(), createBlock("div", { key: vi }, [
                      createVNode(unref(_sfc_main$s), {
                        id: "type",
                        json: true,
                        label: _ctx.$t(variant.name),
                        suggestions: variant.options,
                        modelValue: meta.value[variant.name],
                        "onUpdate:modelValue": ($event) => meta.value[variant.name] = $event
                      }, null, 8, ["label", "suggestions", "modelValue", "onUpdate:modelValue"])
                    ]);
                  }), 128)),
                  selected.value ? (openBlock(), createBlock("div", {
                    key: 0,
                    class: "col-span-full rounded-lg border border-gray-200 dark:border-gray-700"
                  }, [
                    createVNode("dl", { class: "divide-y divide-gray-200 dark:divide-gray-700" }, [
                      createVNode("div", { class: "px-4 py-2 sm:grid sm:grid-cols-3 sm:gap-4" }, [
                        createVNode("dt", { class: "text-sm/6 font-medium text-gray-900" }, toDisplayString(_ctx.$t("Code")), 1),
                        createVNode("dd", { class: "mt-1 text-sm/6 text-gray-700 sm:col-span-2 sm:mt-0" }, toDisplayString(selected.value.code), 1)
                      ]),
                      createVNode("div", { class: "px-4 py-2 sm:grid sm:grid-cols-3 sm:gap-4" }, [
                        createVNode("dt", { class: "text-sm/6 font-medium text-gray-900" }, toDisplayString(_ctx.$t("Quantity")), 1),
                        createVNode("dd", { class: "mt-1 text-sm/6 text-gray-700 sm:col-span-2 sm:mt-0" }, toDisplayString(_ctx.$number(selected.value.stocks.find((s2) => s2.store_id == unref(page).props.selected_store)?.balance)), 1)
                      ]),
                      createVNode("div", { class: "px-4 py-2 sm:grid sm:grid-cols-3 sm:gap-4" }, [
                        createVNode("dt", { class: "text-sm/6 font-medium text-gray-900" }, toDisplayString(_ctx.$t("Cost")), 1),
                        createVNode("dd", { class: "mt-1 text-sm/6 text-gray-700 sm:col-span-2 sm:mt-0" }, toDisplayString(selected.value.cost ? _ctx.$number(selected.value.cost) : ""), 1)
                      ]),
                      createVNode("div", { class: "px-4 py-2 sm:grid sm:grid-cols-3 sm:gap-4" }, [
                        createVNode("dt", { class: "text-sm/6 font-medium text-gray-900" }, toDisplayString(_ctx.$t("Price")), 1),
                        createVNode("dd", { class: "mt-1 text-sm/6 text-gray-700 sm:col-span-2 sm:mt-0" }, toDisplayString(selected.value.price ? _ctx.$number(selected.value.price) : ""), 1)
                      ]),
                      createVNode("div", { class: "px-4 py-2 sm:grid sm:grid-cols-3 sm:gap-4" }, [
                        createVNode("dt", { class: "text-sm/6 font-medium text-gray-900" }, toDisplayString(_ctx.$t("Weight")), 1),
                        createVNode("dd", { class: "mt-1 text-sm/6 text-gray-700 sm:col-span-2 sm:mt-0" }, toDisplayString(selected.value.weight ? _ctx.$number(selected.value.weight) : ""), 1)
                      ]),
                      createVNode("div", { class: "px-4 py-2 sm:grid sm:grid-cols-3 sm:gap-4" }, [
                        createVNode("dt", { class: "text-sm/6 font-medium text-gray-900" }, toDisplayString(_ctx.$t("Dimensions")), 1),
                        createVNode("dd", { class: "mt-1 text-sm/6 text-gray-700 sm:col-span-2 sm:mt-0" }, toDisplayString(selected.value.dimensions), 1)
                      ])
                    ])
                  ])) : createCommentVNode("", true)
                ])
              ])
            ];
          }
        }),
        _: 1
      }, _parent));
    };
  }
};
const _sfc_setup$b = _sfc_main$b.setup;
_sfc_main$b.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/SelectVariant.vue");
  return _sfc_setup$b ? _sfc_setup$b(props, ctx) : void 0;
};
const _sfc_main$a = {
  __name: "TabMenus",
  __ssrInlineRender: true,
  props: { links: { type: Array } },
  setup(__props) {
    router.on("navigate", () => currentRoute.value = P ? P()?.current() : null);
    const currentRoute = ref(null);
    onMounted(() => {
      try {
        currentRoute.value = P()?.current();
      } catch (e2) {
        console.log(e2);
      }
    });
    return (_ctx, _push, _parent, _attrs) => {
      const _component_Icon = resolveComponent("Icon");
      if (__props.links && __props.links.length) {
        _push(`<div${ssrRenderAttrs(mergeProps({ class: "px-6 pt-6 sm:pt-0" }, _attrs))}><div class="sm:hidden"><label for="tabs" class="sr-only">${ssrInterpolate(_ctx.$t("Select a tab"))}</label><select id="tabs" name="tabs" class="block w-full rounded-md border-gray-300 focus:border-primary-500 focus:ring-primary-500 dark:border-gray-700 dark:bg-gray-800"><!--[-->`);
        ssrRenderList(__props.links, (link) => {
          _push(`<option${ssrRenderAttr("value", link.route)}${ssrIncludeBooleanAttr(link.route == currentRoute.value) ? " selected" : ""}>${ssrInterpolate(link.label)}</option>`);
        });
        _push(`<!--]--></select></div><div class="hidden sm:block"><div class="-mx-6 overflow-x-auto border-b border-gray-200 px-6 pb-px dark:border-gray-700"><nav class="-mb-px flex space-x-8 whitespace-nowrap" aria-label="Tabs"><!--[-->`);
        ssrRenderList(__props.links, (link) => {
          _push(`<!--[-->`);
          if (link.external) {
            _push(`<a${ssrRenderAttr("href", unref(P)(link.route))} class="${ssrRenderClass([
              link.route == currentRoute.value ? "border-primary-500 text-primary-600" : "text-mute border-transparent hover:border-gray-300 hover:text-gray-700 dark:hover:border-gray-600 dark:hover:text-gray-300",
              "group inline-flex items-center border-b-2 px-1 py-4 text-sm font-medium"
            ])}">`);
            if (link.icon) {
              _push(ssrRenderComponent(_component_Icon, {
                name: link.icon,
                size: link.route == currentRoute.value ? "-ms-0.5 me-2 size-5 text-primary-500" : "-ms-0.5 me-2 size-5 text-gray-400 group-hover:text-gray-500"
              }, null, _parent));
            } else {
              _push(`<!---->`);
            }
            _push(`<span>${ssrInterpolate(link.label)}</span></a>`);
          } else {
            _push(ssrRenderComponent(unref(Link), {
              href: unref(P)(link.route),
              class: [
                "group inline-flex items-center border-b-2 px-1 py-4 text-sm font-medium",
                link.route == currentRoute.value ? "border-primary-500 text-primary-600" : "text-mute border-transparent hover:border-gray-300 hover:text-gray-700 dark:hover:border-gray-600 dark:hover:text-gray-300"
              ]
            }, {
              default: withCtx((_2, _push2, _parent2, _scopeId) => {
                if (_push2) {
                  if (link.icon) {
                    _push2(ssrRenderComponent(_component_Icon, {
                      name: link.icon,
                      size: link.route == currentRoute.value ? "-ms-0.5 me-2 size-5 text-primary-500" : "-ms-0.5 me-2 size-5 text-gray-400 group-hover:text-gray-500"
                    }, null, _parent2, _scopeId));
                  } else {
                    _push2(`<!---->`);
                  }
                  _push2(`<span${_scopeId}>${ssrInterpolate(link.label)}</span>`);
                } else {
                  return [
                    link.icon ? (openBlock(), createBlock(_component_Icon, {
                      key: 0,
                      name: link.icon,
                      size: link.route == currentRoute.value ? "-ms-0.5 me-2 size-5 text-primary-500" : "-ms-0.5 me-2 size-5 text-gray-400 group-hover:text-gray-500"
                    }, null, 8, ["name", "size"])) : createCommentVNode("", true),
                    createVNode("span", null, toDisplayString(link.label), 1)
                  ];
                }
              }),
              _: 2
            }, _parent));
          }
          _push(`<!--]-->`);
        });
        _push(`<!--]--></nav></div></div></div>`);
      } else {
        _push(`<!---->`);
      }
    };
  }
};
const _sfc_setup$a = _sfc_main$a.setup;
_sfc_main$a.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/TabMenus.vue");
  return _sfc_setup$a ? _sfc_setup$a(props, ctx) : void 0;
};
const _sfc_main$9 = {
  __name: "Textarea",
  __ssrInlineRender: true,
  props: {
    id: {
      type: String,
      default() {
        return (Math.random() + "").replace("0.", "");
      }
    },
    modelValue: String,
    label: String,
    error: String,
    rows: String,
    className: String,
    keyboard: {
      type: Boolean,
      default: false
    }
  },
  emits: ["update:modelValue"],
  setup(__props, { emit: __emit }) {
    const input = ref(null);
    onMounted(async () => {
      await nextTick();
      input.value.setAttribute("style", `height: ${input.value.scrollHeight + 2}px`);
    });
    return (_ctx, _push, _parent, _attrs) => {
      let _temp0, _temp1;
      _push(`<div${ssrRenderAttrs(mergeProps({
        class: __props.className || "col-span-6 sm:col-span-3 xl:col-span-6"
      }, _attrs))}>`);
      if (__props.label) {
        _push(ssrRenderComponent(unref(_sfc_main$z), {
          for: __props.id,
          value: __props.label
        }, null, _parent));
      } else {
        _push(`<!---->`);
      }
      if (__props.keyboard) {
        _push(`<textarea${ssrRenderAttrs(_temp0 = mergeProps({
          id: __props.id,
          ref_key: "input",
          ref: input,
          rows: __props.rows
        }, _ctx.$attrs, {
          value: __props.modelValue,
          class: [{ error: __props.error, "border-gray-300 dark:border-gray-700": !__props.error }, "mt-1 block w-full rounded-md shadow-xs placeholder:text-gray-400 focus:border-primary-500 focus:ring-primary-500 dark:bg-gray-900 dark:text-gray-300 dark:placeholder:text-gray-600 dark:focus:border-primary-600 dark:focus:ring-primary-600"]
        }, ssrGetDirectiveProps(_ctx, unref(vKeyboard))), "textarea")}>${ssrInterpolate("value" in _temp0 ? _temp0.value : "")}</textarea>`);
      } else {
        _push(`<textarea${ssrRenderAttrs(_temp1 = mergeProps({
          id: __props.id,
          ref_key: "input",
          ref: input,
          rows: __props.rows
        }, _ctx.$attrs, {
          value: __props.modelValue,
          class: [{ error: __props.error, "border-gray-300 dark:border-gray-700": !__props.error }, "mt-1 block w-full rounded-md shadow-xs placeholder:text-gray-400 focus:border-primary-500 focus:ring-primary-500 dark:bg-gray-900 dark:text-gray-300 dark:placeholder:text-gray-600 dark:focus:border-primary-600 dark:focus:ring-primary-600"]
        }), "textarea")}>${ssrInterpolate("value" in _temp1 ? _temp1.value : "")}</textarea>`);
      }
      if (__props.error) {
        _push(ssrRenderComponent(unref(_sfc_main$I), {
          message: __props.error,
          class: "mt-0"
        }, null, _parent));
      } else {
        _push(`<!---->`);
      }
      _push(`</div>`);
    };
  }
};
const _sfc_setup$9 = _sfc_main$9.setup;
_sfc_main$9.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/Textarea.vue");
  return _sfc_setup$9 ? _sfc_setup$9(props, ctx) : void 0;
};
const _sfc_main$8 = {
  __name: "Toggle",
  __ssrInlineRender: true,
  props: {
    id: {
      type: String,
      default() {
        return (Math.random() + "").replace("0.", "");
      }
    },
    modelValue: {
      type: Boolean,
      default: false
    },
    disabled: {
      type: Boolean,
      default: false
    },
    label: String,
    text: String,
    error: String
  },
  emits: ["change", "update:modelValue"],
  setup(__props, { emit: __emit }) {
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<div${ssrRenderAttrs(mergeProps({ class: "flex items-center" }, _attrs))}><button type="button" role="switch"${ssrIncludeBooleanAttr(__props.disabled) ? " disabled" : ""} class="${ssrRenderClass([__props.modelValue ? "bg-primary-600" : "bg-gray-200 dark:bg-gray-700", "relative inline-flex h-6 w-11 shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:ring-2 focus:ring-primary-600 focus:ring-offset-2 focus:outline-hidden disabled:cursor-not-allowed!"])}"><span class="${ssrRenderClass([
        __props.modelValue ? _ctx.$page.props.settings?.rtl_support == "1" ? "-translate-x-5 bg-white" : "translate-x-5 bg-white" : "translate-x-0 bg-white dark:bg-gray-500",
        "pointer-events-none inline-block size-5 transform rounded-full shadow-sm ring-0 transition duration-200 ease-in-out"
      ])}"></span></button>`);
      if (__props.label || __props.text) {
        _push(`<label class="ms-3 text-sm">`);
        if (__props.label) {
          _push(`<span class="font-medium">${ssrInterpolate(__props.label)}</span>`);
        } else {
          _push(`<!---->`);
        }
        if (__props.text) {
          _push(`<span class="text-mute ms-1">${ssrInterpolate(__props.text)}</span>`);
        } else {
          _push(`<!---->`);
        }
        _push(`</label>`);
      } else {
        _push(`<!---->`);
      }
      _push(`</div>`);
    };
  }
};
const _sfc_setup$8 = _sfc_main$8.setup;
_sfc_main$8.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/Toggle.vue");
  return _sfc_setup$8 ? _sfc_setup$8(props, ctx) : void 0;
};
const _sfc_main$7 = {
  __name: "ViewCustomFields",
  __ssrInlineRender: true,
  props: {
    title: String,
    modal: { type: Boolean, default: true },
    extra_attributes: { type: Object, default: () => ({}) }
  },
  setup(__props) {
    const show = ref(false);
    return (_ctx, _push, _parent, _attrs) => {
      if (Object.keys(__props.extra_attributes).length) {
        _push(`<div${ssrRenderAttrs(mergeProps({ class: "" }, _attrs))}>`);
        if (__props.modal) {
          _push(`<!--[--><button type="button" class="-my-1 rounded-md border border-gray-200 px-2 py-0.5 dark:border-gray-700">${ssrInterpolate(_ctx.$t("View"))}</button>`);
          _push(ssrRenderComponent(unref(_sfc_main$L), {
            show: show.value,
            maxWidth: "lg",
            closeable: true,
            onClose: () => show.value = false
          }, {
            default: withCtx((_2, _push2, _parent2, _scopeId) => {
              if (_push2) {
                _push2(`<div class="border-b border-gray-200 p-4 font-bold dark:border-gray-700"${_scopeId}>${ssrInterpolate(_ctx.$t("Custom Fields"))} ${ssrInterpolate(__props.title ? " (" + __props.title + ")" : "")}</div><div class="m-6 flow-root"${_scopeId}><div class="overflow-x-auto"${_scopeId}><div class="inline-block min-w-full rounded-md border border-gray-200 align-middle dark:border-gray-700"${_scopeId}><table class="min-w-full"${_scopeId}><tbody class="divide-y divide-gray-200 dark:divide-gray-700"${_scopeId}><!--[-->`);
                ssrRenderList(Object.keys(__props.extra_attributes), (key) => {
                  _push2(`<tr${_scopeId}><td class="w-1/3 py-2 ps-4 pe-3 text-end text-sm"${_scopeId}>${ssrInterpolate(key)}</td><td class="py-2 ps-3 pe-4 text-sm font-bold"${_scopeId}>${ssrInterpolate(Array.isArray(__props.extra_attributes[key]) ? __props.extra_attributes[key].join(", ") : unref(isValidDate)(__props.extra_attributes[key]) ? unref($date)(__props.extra_attributes[key]) : __props.extra_attributes[key] || "")}</td></tr>`);
                });
                _push2(`<!--]--></tbody></table></div></div></div>`);
              } else {
                return [
                  createVNode("div", { class: "border-b border-gray-200 p-4 font-bold dark:border-gray-700" }, toDisplayString(_ctx.$t("Custom Fields")) + " " + toDisplayString(__props.title ? " (" + __props.title + ")" : ""), 1),
                  createVNode("div", { class: "m-6 flow-root" }, [
                    createVNode("div", { class: "overflow-x-auto" }, [
                      createVNode("div", { class: "inline-block min-w-full rounded-md border border-gray-200 align-middle dark:border-gray-700" }, [
                        createVNode("table", { class: "min-w-full" }, [
                          createVNode("tbody", { class: "divide-y divide-gray-200 dark:divide-gray-700" }, [
                            (openBlock(true), createBlock(Fragment, null, renderList(Object.keys(__props.extra_attributes), (key) => {
                              return openBlock(), createBlock("tr", { key }, [
                                createVNode("td", { class: "w-1/3 py-2 ps-4 pe-3 text-end text-sm" }, toDisplayString(key), 1),
                                createVNode("td", { class: "py-2 ps-3 pe-4 text-sm font-bold" }, toDisplayString(Array.isArray(__props.extra_attributes[key]) ? __props.extra_attributes[key].join(", ") : unref(isValidDate)(__props.extra_attributes[key]) ? unref($date)(__props.extra_attributes[key]) : __props.extra_attributes[key] || ""), 1)
                              ]);
                            }), 128))
                          ])
                        ])
                      ])
                    ])
                  ])
                ];
              }
            }),
            _: 1
          }, _parent));
          _push(`<!--]-->`);
        } else {
          _push(`<div><!--[-->`);
          ssrRenderList(Object.keys(__props.extra_attributes), (key) => {
            _push(`<div><span class="text-mute">${ssrInterpolate(key)}</span> : ${ssrInterpolate(Array.isArray(__props.extra_attributes[key]) ? __props.extra_attributes[key].join(", ") : unref(isValidDate)(__props.extra_attributes[key]) ? unref($date)(__props.extra_attributes[key]) : __props.extra_attributes[key] || "")}</div>`);
          });
          _push(`<!--]--></div>`);
        }
        _push(`</div>`);
      } else {
        _push(`<!---->`);
      }
    };
  }
};
const _sfc_setup$7 = _sfc_main$7.setup;
_sfc_main$7.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Common/ViewCustomFields.vue");
  return _sfc_setup$7 ? _sfc_setup$7(props, ctx) : void 0;
};
const _sfc_main$6 = {
  __name: "Icon",
  __ssrInlineRender: true,
  props: {
    name: String,
    size: String
  },
  setup(__props) {
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<div${ssrRenderAttrs(mergeProps({
        class: __props.size ? __props.size : "size-5"
      }, _attrs))}>`);
      if (__props.name == "home") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M11.47 3.841a.75.75 0 0 1 1.06 0l8.69 8.69a.75.75 0 1 0 1.06-1.061l-8.689-8.69a2.25 2.25 0 0 0-3.182 0l-8.69 8.69a.75.75 0 1 0 1.061 1.06l8.69-8.689Z"></path><path d="m12 5.432 8.159 8.159c.03.03.06.058.091.086v6.198c0 1.035-.84 1.875-1.875 1.875H15a.75.75 0 0 1-.75-.75v-4.5a.75.75 0 0 0-.75-.75h-3a.75.75 0 0 0-.75.75V21a.75.75 0 0 1-.75.75H5.625a1.875 1.875 0 0 1-1.875-1.875v-6.198a2.29 2.29 0 0 0 .091-.086L12 5.432Z"></path></svg>`);
      } else if (__props.name == "home-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"></path></svg>`);
      } else if (__props.name == "home-alt") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M19.006 3.705a.75.75 0 1 0-.512-1.41L6 6.838V3a.75.75 0 0 0-.75-.75h-1.5A.75.75 0 0 0 3 3v4.93l-1.006.365a.75.75 0 0 0 .512 1.41l16.5-6Z"></path><path fill-rule="evenodd" d="M3.019 11.114 18 5.667v3.421l4.006 1.457a.75.75 0 1 1-.512 1.41l-.494-.18v8.475h.75a.75.75 0 0 1 0 1.5H2.25a.75.75 0 0 1 0-1.5H3v-9.129l.019-.007ZM18 20.25v-9.566l1.5.546v9.02H18Zm-9-6a.75.75 0 0 0-.75.75v4.5c0 .414.336.75.75.75h3a.75.75 0 0 0 .75-.75V15a.75.75 0 0 0-.75-.75H9Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "pos") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M3 6a3 3 0 0 1 3-3h2.25a3 3 0 0 1 3 3v2.25a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Zm9.75 0a3 3 0 0 1 3-3H18a3 3 0 0 1 3 3v2.25a3 3 0 0 1-3 3h-2.25a3 3 0 0 1-3-3V6ZM3 15.75a3 3 0 0 1 3-3h2.25a3 3 0 0 1 3 3V18a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-2.25Zm9.75 0a3 3 0 0 1 3-3H18a3 3 0 0 1 3 3V18a3 3 0 0 1-3 3h-2.25a3 3 0 0 1-3-3v-2.25Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "shop") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M5.223 2.25c-.497 0-.974.198-1.325.55l-1.3 1.298A3.75 3.75 0 0 0 7.5 9.75c.627.47 1.406.75 2.25.75.844 0 1.624-.28 2.25-.75.626.47 1.406.75 2.25.75.844 0 1.623-.28 2.25-.75a3.75 3.75 0 0 0 4.902-5.652l-1.3-1.299a1.875 1.875 0 0 0-1.325-.549H5.223Z"></path><path fill-rule="evenodd" d="M3 20.25v-8.755c1.42.674 3.08.673 4.5 0A5.234 5.234 0 0 0 9.75 12c.804 0 1.568-.182 2.25-.506a5.234 5.234 0 0 0 2.25.506c.804 0 1.567-.182 2.25-.506 1.42.674 3.08.675 4.5.001v8.755h.75a.75.75 0 0 1 0 1.5H2.25a.75.75 0 0 1 0-1.5H3Zm3-6a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 .75.75v3a.75.75 0 0 1-.75.75h-3a.75.75 0 0 1-.75-.75v-3Zm8.25-.75a.75.75 0 0 0-.75.75v5.25c0 .414.336.75.75.75h3a.75.75 0 0 0 .75-.75v-5.25a.75.75 0 0 0-.75-.75h-3Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "shop-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M13.5 21v-7.5a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 .75.75V21m-4.5 0H2.36m11.14 0H18m0 0h3.64m-1.39 0V9.349M3.75 21V9.349m0 0a3.001 3.001 0 0 0 3.75-.615A2.993 2.993 0 0 0 9.75 9.75c.896 0 1.7-.393 2.25-1.016a2.993 2.993 0 0 0 2.25 1.016c.896 0 1.7-.393 2.25-1.015a3.001 3.001 0 0 0 3.75.614m-16.5 0a3.004 3.004 0 0 1-.621-4.72l1.189-1.19A1.5 1.5 0 0 1 5.378 3h13.243a1.5 1.5 0 0 1 1.06.44l1.19 1.189a3 3 0 0 1-.621 4.72M6.75 18h3.75a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75H6.75a.75.75 0 0 0-.75.75v3.75c0 .414.336.75.75.75Z"></path></svg>`);
      } else if (__props.name == "shop2") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="h-full w-full"><path d="m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7"></path><path d="M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8"></path><path d="M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4"></path><path d="M2 7h20"></path><path d="M22 7v3a2 2 0 0 1-2 2a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12a2 2 0 0 1-2-2V7"></path></svg>`);
      } else if (__props.name == "pos-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 6A2.25 2.25 0 0 1 6 3.75h2.25A2.25 2.25 0 0 1 10.5 6v2.25a2.25 2.25 0 0 1-2.25 2.25H6a2.25 2.25 0 0 1-2.25-2.25V6ZM3.75 15.75A2.25 2.25 0 0 1 6 13.5h2.25a2.25 2.25 0 0 1 2.25 2.25V18a2.25 2.25 0 0 1-2.25 2.25H6A2.25 2.25 0 0 1 3.75 18v-2.25ZM13.5 6a2.25 2.25 0 0 1 2.25-2.25H18A2.25 2.25 0 0 1 20.25 6v2.25A2.25 2.25 0 0 1 18 10.5h-2.25a2.25 2.25 0 0 1-2.25-2.25V6ZM13.5 15.75a2.25 2.25 0 0 1 2.25-2.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-2.25A2.25 2.25 0 0 1 13.5 18v-2.25Z"></path></svg>`);
      } else if (__props.name == "pos-alt") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M1.5 7.125c0-1.036.84-1.875 1.875-1.875h6c1.036 0 1.875.84 1.875 1.875v3.75c0 1.036-.84 1.875-1.875 1.875h-6A1.875 1.875 0 0 1 1.5 10.875v-3.75Zm12 1.5c0-1.036.84-1.875 1.875-1.875h5.25c1.035 0 1.875.84 1.875 1.875v8.25c0 1.035-.84 1.875-1.875 1.875h-5.25a1.875 1.875 0 0 1-1.875-1.875v-8.25ZM3 16.125c0-1.036.84-1.875 1.875-1.875h5.25c1.036 0 1.875.84 1.875 1.875v2.25c0 1.035-.84 1.875-1.875 1.875h-5.25A1.875 1.875 0 0 1 3 18.375v-2.25Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "orders") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="h-full w-full" viewBox="0 0 256 256"><path d="M120,80A40,40,0,1,1,80,40,40,40,0,0,1,120,80Zm56,40a40,40,0,1,0-40-40A40,40,0,0,0,176,120ZM80,136a40,40,0,1,0,40,40A40,40,0,0,0,80,136Zm96,0a40,40,0,1,0,40,40A40,40,0,0,0,176,136Z"></path></svg>`);
      } else if (__props.name == "orders-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="h-full w-full" viewBox="0 0 256 256"><path d="M80,40a40,40,0,1,0,40,40A40,40,0,0,0,80,40Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,80,104Zm96,16a40,40,0,1,0-40-40A40,40,0,0,0,176,120Zm0-64a24,24,0,1,1-24,24A24,24,0,0,1,176,56ZM80,136a40,40,0,1,0,40,40A40,40,0,0,0,80,136Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,80,200Zm96-64a40,40,0,1,0,40,40A40,40,0,0,0,176,136Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,176,200Z"></path></svg>`);
      } else if (__props.name == "bag-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M15.75 10.5V6a3.75 3.75 0 1 0-7.5 0v4.5m11.356-1.993 1.263 12c.07.665-.45 1.243-1.119 1.243H4.25a1.125 1.125 0 0 1-1.12-1.243l1.264-12A1.125 1.125 0 0 1 5.513 7.5h12.974c.576 0 1.059.435 1.119 1.007ZM8.625 10.5a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm7.5 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"></path></svg>`);
      } else if (__props.name == "cart") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M2.25 2.25a.75.75 0 0 0 0 1.5h1.386c.17 0 .318.114.362.278l2.558 9.592a3.752 3.752 0 0 0-2.806 3.63c0 .414.336.75.75.75h15.75a.75.75 0 0 0 0-1.5H5.378A2.25 2.25 0 0 1 7.5 15h11.218a.75.75 0 0 0 .674-.421 60.358 60.358 0 0 0 2.96-7.228.75.75 0 0 0-.525-.965A60.864 60.864 0 0 0 5.68 4.509l-.232-.867A1.875 1.875 0 0 0 3.636 2.25H2.25ZM3.75 20.25a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0ZM16.5 20.25a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"></path></svg>`);
      } else if (__props.name == "cart-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 0 0-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 0 0-16.536-1.84M7.5 14.25 5.106 5.272M6 20.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm12.75 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"></path></svg>`);
      } else if (__props.name == "bell-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0M3.124 7.5A8.969 8.969 0 0 1 5.292 3m13.416 0a8.969 8.969 0 0 1 2.168 4.5"></path></svg>`);
      } else if (__props.name == "bag") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M7.5 6v.75H5.513c-.96 0-1.764.724-1.865 1.679l-1.263 12A1.875 1.875 0 0 0 4.25 22.5h15.5a1.875 1.875 0 0 0 1.865-2.071l-1.263-12a1.875 1.875 0 0 0-1.865-1.679H16.5V6a4.5 4.5 0 1 0-9 0ZM12 3a3 3 0 0 0-3 3v.75h6V6a3 3 0 0 0-3-3Zm-3 8.25a3 3 0 1 0 6 0v-.75a.75.75 0 0 1 1.5 0v.75a4.5 4.5 0 1 1-9 0v-.75a.75.75 0 0 1 1.5 0v.75Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "repair") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M12 6.75a5.25 5.25 0 0 1 6.775-5.025.75.75 0 0 1 .313 1.248l-3.32 3.319c.063.475.276.934.641 1.299.365.365.824.578 1.3.64l3.318-3.319a.75.75 0 0 1 1.248.313 5.25 5.25 0 0 1-5.472 6.756c-1.018-.086-1.87.1-2.309.634L7.344 21.3A3.298 3.298 0 1 1 2.7 16.657l8.684-7.151c.533-.44.72-1.291.634-2.309A5.342 5.342 0 0 1 12 6.75ZM4.117 19.125a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Z" clip-rule="evenodd"></path><path d="m10.076 8.64-2.201-2.2V4.874a.75.75 0 0 0-.364-.643l-3.75-2.25a.75.75 0 0 0-.916.113l-.75.75a.75.75 0 0 0-.113.916l2.25 3.75a.75.75 0 0 0 .643.364h1.564l2.062 2.062 1.575-1.297Z"></path><path fill-rule="evenodd" d="m12.556 17.329 4.183 4.182a3.375 3.375 0 0 0 4.773-4.773l-3.306-3.305a6.803 6.803 0 0 1-1.53.043c-.394-.034-.682-.006-.867.042a.589.589 0 0 0-.167.063l-3.086 3.748Zm3.414-1.36a.75.75 0 0 1 1.06 0l1.875 1.876a.75.75 0 1 1-1.06 1.06L15.97 17.03a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "repair-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M11.42 15.17 17.25 21A2.652 2.652 0 0 0 21 17.25l-5.877-5.877M11.42 15.17l2.496-3.03c.317-.384.74-.626 1.208-.766M11.42 15.17l-4.655 5.653a2.548 2.548 0 1 1-3.586-3.586l6.837-5.63m5.108-.233c.55-.164 1.163-.188 1.743-.14a4.5 4.5 0 0 0 4.486-6.336l-3.276 3.277a3.004 3.004 0 0 1-2.25-2.25l3.276-3.276a4.5 4.5 0 0 0-6.336 4.486c.091 1.076-.071 2.264-.904 2.95l-.102.085m-1.745 1.437L5.909 7.5H4.5L2.25 3.75l1.5-1.5L7.5 4.5v1.409l4.26 4.26m-1.745 1.437 1.745-1.437m6.615 8.206L15.75 15.75M4.867 19.125h.008v.008h-.008v-.008Z"></path></svg>`);
      } else if (__props.name == "gift") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M9.375 3a1.875 1.875 0 0 0 0 3.75h1.875v4.5H3.375A1.875 1.875 0 0 1 1.5 9.375v-.75c0-1.036.84-1.875 1.875-1.875h3.193A3.375 3.375 0 0 1 12 2.753a3.375 3.375 0 0 1 5.432 3.997h3.943c1.035 0 1.875.84 1.875 1.875v.75c0 1.036-.84 1.875-1.875 1.875H12.75v-4.5h1.875a1.875 1.875 0 1 0-1.875-1.875V6.75h-1.5V4.875C11.25 3.839 10.41 3 9.375 3ZM11.25 12.75H3v6.75a2.25 2.25 0 0 0 2.25 2.25h6v-9ZM12.75 12.75v9h6.75a2.25 2.25 0 0 0 2.25-2.25v-6.75h-9Z"></path></svg>`);
      } else if (__props.name == "gift-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M21 11.25v8.25a1.5 1.5 0 0 1-1.5 1.5H5.25a1.5 1.5 0 0 1-1.5-1.5v-8.25M12 4.875A2.625 2.625 0 1 0 9.375 7.5H12m0-2.625V7.5m0-2.625A2.625 2.625 0 1 1 14.625 7.5H12m0 0V21m-8.625-9.75h18c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125h-18c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"></path></svg>`);
      } else if (__props.name == "print") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M7.875 1.5C6.839 1.5 6 2.34 6 3.375v2.99c-.426.053-.851.11-1.274.174-1.454.218-2.476 1.483-2.476 2.917v6.294a3 3 0 0 0 3 3h.27l-.155 1.705A1.875 1.875 0 0 0 7.232 22.5h9.536a1.875 1.875 0 0 0 1.867-2.045l-.155-1.705h.27a3 3 0 0 0 3-3V9.456c0-1.434-1.022-2.7-2.476-2.917A48.716 48.716 0 0 0 18 6.366V3.375c0-1.036-.84-1.875-1.875-1.875h-8.25ZM16.5 6.205v-2.83A.375.375 0 0 0 16.125 3h-8.25a.375.375 0 0 0-.375.375v2.83a49.353 49.353 0 0 1 9 0Zm-.217 8.265c.178.018.317.16.333.337l.526 5.784a.375.375 0 0 1-.374.409H7.232a.375.375 0 0 1-.374-.409l.526-5.784a.373.373 0 0 1 .333-.337 41.741 41.741 0 0 1 8.566 0Zm.967-3.97a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H18a.75.75 0 0 1-.75-.75V10.5ZM15 9.75a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V10.5a.75.75 0 0 0-.75-.75H15Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "print-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M6.72 13.829c-.24.03-.48.062-.72.096m.72-.096a42.415 42.415 0 0 1 10.56 0m-10.56 0L6.34 18m10.94-4.171c.24.03.48.062.72.096m-.72-.096L17.66 18m0 0 .229 2.523a1.125 1.125 0 0 1-1.12 1.227H7.231c-.662 0-1.18-.568-1.12-1.227L6.34 18m11.318 0h1.091A2.25 2.25 0 0 0 21 15.75V9.456c0-1.081-.768-2.015-1.837-2.175a48.055 48.055 0 0 0-1.913-.247M6.34 18H5.25A2.25 2.25 0 0 1 3 15.75V9.456c0-1.081.768-2.015 1.837-2.175a48.041 48.041 0 0 1 1.913-.247m10.5 0a48.536 48.536 0 0 0-10.5 0m10.5 0V3.375c0-.621-.504-1.125-1.125-1.125h-8.25c-.621 0-1.125.504-1.125 1.125v3.659M18 10.5h.008v.008H18V10.5Zm-3 0h.008v.008H15V10.5Z"></path></svg>`);
      } else if (__props.name == "support") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M19.449 8.448 16.388 11a4.52 4.52 0 0 1 0 2.002l3.061 2.55a8.275 8.275 0 0 0 0-7.103ZM15.552 19.45 13 16.388a4.52 4.52 0 0 1-2.002 0l-2.55 3.061a8.275 8.275 0 0 0 7.103 0ZM4.55 15.552 7.612 13a4.52 4.52 0 0 1 0-2.002L4.551 8.45a8.275 8.275 0 0 0 0 7.103ZM8.448 4.55 11 7.612a4.52 4.52 0 0 1 2.002 0l2.55-3.061a8.275 8.275 0 0 0-7.103 0Zm8.657-.86a9.776 9.776 0 0 1 1.79 1.415 9.776 9.776 0 0 1 1.414 1.788 9.764 9.764 0 0 1 0 10.211 9.777 9.777 0 0 1-1.415 1.79 9.777 9.777 0 0 1-1.788 1.414 9.764 9.764 0 0 1-10.212 0 9.776 9.776 0 0 1-1.788-1.415 9.776 9.776 0 0 1-1.415-1.788 9.764 9.764 0 0 1 0-10.212 9.774 9.774 0 0 1 1.415-1.788A9.774 9.774 0 0 1 6.894 3.69a9.764 9.764 0 0 1 10.211 0ZM14.121 9.88a2.985 2.985 0 0 0-1.11-.704 3.015 3.015 0 0 0-2.022 0 2.985 2.985 0 0 0-1.11.704c-.326.325-.56.705-.704 1.11a3.015 3.015 0 0 0 0 2.022c.144.405.378.785.704 1.11.325.326.705.56 1.11.704.652.233 1.37.233 2.022 0a2.985 2.985 0 0 0 1.11-.704c.326-.325.56-.705.704-1.11a3.016 3.016 0 0 0 0-2.022 2.985 2.985 0 0 0-.704-1.11Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "cli") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M2.25 6a3 3 0 0 1 3-3h13.5a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V6Zm3.97.97a.75.75 0 0 1 1.06 0l2.25 2.25a.75.75 0 0 1 0 1.06l-2.25 2.25a.75.75 0 0 1-1.06-1.06l1.72-1.72-1.72-1.72a.75.75 0 0 1 0-1.06Zm4.28 4.28a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "cog") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M11.078 2.25c-.917 0-1.699.663-1.85 1.567L9.05 4.889c-.02.12-.115.26-.297.348a7.493 7.493 0 0 0-.986.57c-.166.115-.334.126-.45.083L6.3 5.508a1.875 1.875 0 0 0-2.282.819l-.922 1.597a1.875 1.875 0 0 0 .432 2.385l.84.692c.095.078.17.229.154.43a7.598 7.598 0 0 0 0 1.139c.015.2-.059.352-.153.43l-.841.692a1.875 1.875 0 0 0-.432 2.385l.922 1.597a1.875 1.875 0 0 0 2.282.818l1.019-.382c.115-.043.283-.031.45.082.312.214.641.405.985.57.182.088.277.228.297.35l.178 1.071c.151.904.933 1.567 1.85 1.567h1.844c.916 0 1.699-.663 1.85-1.567l.178-1.072c.02-.12.114-.26.297-.349.344-.165.673-.356.985-.57.167-.114.335-.125.45-.082l1.02.382a1.875 1.875 0 0 0 2.28-.819l.923-1.597a1.875 1.875 0 0 0-.432-2.385l-.84-.692c-.095-.078-.17-.229-.154-.43a7.614 7.614 0 0 0 0-1.139c-.016-.2.059-.352.153-.43l.84-.692c.708-.582.891-1.59.433-2.385l-.922-1.597a1.875 1.875 0 0 0-2.282-.818l-1.02.382c-.114.043-.282.031-.449-.083a7.49 7.49 0 0 0-.985-.57c-.183-.087-.277-.227-.297-.348l-.179-1.072a1.875 1.875 0 0 0-1.85-1.567h-1.843ZM12 15.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "cog-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.325.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.241-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.991l1.004.827c.424.35.534.955.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.991a6.932 6.932 0 0 1 0-.255c.007-.38-.138-.751-.43-.992l-1.004-.827a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.086.22-.128.332-.183.582-.495.644-.869l.214-1.28Z"></path><path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"></path></svg>`);
      } else if (__props.name == "qrcode") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="h-full w-full" viewBox="0 0 256 256"><path d="M120,56v48a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40h48A16,16,0,0,1,120,56Zm-16,80H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm96-96H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40ZM144,184a8,8,0,0,0,8-8V144a8,8,0,0,0-16,0v32A8,8,0,0,0,144,184Zm64-32H184v-8a8,8,0,0,0-16,0v56H144a8,8,0,0,0,0,16h32a8,8,0,0,0,8-8V168h24a8,8,0,0,0,0-16Zm0,32a8,8,0,0,0-8,8v16a8,8,0,0,0,16,0V192A8,8,0,0,0,208,184Z"></path></svg>`);
      } else if (__props.name == "qr-code") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M3 4.875C3 3.839 3.84 3 4.875 3h4.5c1.036 0 1.875.84 1.875 1.875v4.5c0 1.036-.84 1.875-1.875 1.875h-4.5A1.875 1.875 0 0 1 3 9.375v-4.5ZM4.875 4.5a.375.375 0 0 0-.375.375v4.5c0 .207.168.375.375.375h4.5a.375.375 0 0 0 .375-.375v-4.5a.375.375 0 0 0-.375-.375h-4.5Zm7.875.375c0-1.036.84-1.875 1.875-1.875h4.5C20.16 3 21 3.84 21 4.875v4.5c0 1.036-.84 1.875-1.875 1.875h-4.5a1.875 1.875 0 0 1-1.875-1.875v-4.5Zm1.875-.375a.375.375 0 0 0-.375.375v4.5c0 .207.168.375.375.375h4.5a.375.375 0 0 0 .375-.375v-4.5a.375.375 0 0 0-.375-.375h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75A.75.75 0 0 1 6 7.5v-.75Zm9.75 0A.75.75 0 0 1 16.5 6h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75ZM3 14.625c0-1.036.84-1.875 1.875-1.875h4.5c1.036 0 1.875.84 1.875 1.875v4.5c0 1.035-.84 1.875-1.875 1.875h-4.5A1.875 1.875 0 0 1 3 19.125v-4.5Zm1.875-.375a.375.375 0 0 0-.375.375v4.5c0 .207.168.375.375.375h4.5a.375.375 0 0 0 .375-.375v-4.5a.375.375 0 0 0-.375-.375h-4.5Zm7.875-.75a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75Zm6 0a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75ZM6 16.5a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75Zm9.75 0a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75Zm-3 3a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75Zm6 0a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "barcode-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="h-full w-full" viewBox="0 0 256 256"><path d="M232,48V88a8,8,0,0,1-16,0V56H184a8,8,0,0,1,0-16h40A8,8,0,0,1,232,48ZM72,200H40V168a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H72a8,8,0,0,0,0-16Zm152-40a8,8,0,0,0-8,8v32H184a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V168A8,8,0,0,0,224,160ZM32,96a8,8,0,0,0,8-8V56H72a8,8,0,0,0,0-16H32a8,8,0,0,0-8,8V88A8,8,0,0,0,32,96ZM80,80a8,8,0,0,0-8,8v80a8,8,0,0,0,16,0V88A8,8,0,0,0,80,80Zm104,88V88a8,8,0,0,0-16,0v80a8,8,0,0,0,16,0ZM144,80a8,8,0,0,0-8,8v80a8,8,0,0,0,16,0V88A8,8,0,0,0,144,80Zm-32,0a8,8,0,0,0-8,8v80a8,8,0,0,0,16,0V88A8,8,0,0,0,112,80Z"></path></svg>`);
      } else if (__props.name == "barcode") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="h-full w-full" viewBox="0 0 256 256"><path d="M224,40H32a8,8,0,0,0-8,8V208a8,8,0,0,0,8,8H224a8,8,0,0,0,8-8V48A8,8,0,0,0,224,40ZM40,64a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16H56V96a8,8,0,0,1-16,0ZM80,200H48a8,8,0,0,1-8-8V160a8,8,0,0,1,16,0v24H80a8,8,0,0,1,0,16Zm24-48a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm24,8a8,8,0,0,1-8-8V104a8,8,0,0,1,16,0v48A8,8,0,0,1,160,160Zm56,32a8,8,0,0,1-8,8H176a8,8,0,0,1,0-16h24V160a8,8,0,0,1,16,0Zm0-96a8,8,0,0,1-16,0V72H176a8,8,0,0,1,0-16h32a8,8,0,0,1,8,8Z"></path></svg>`);
      } else if (__props.name == "up-down") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="h-full w-full" viewBox="0 0 256 256"><path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,133.66-32,32a8,8,0,0,1-11.32,0l-32-32a8,8,0,0,1,11.32-11.32L128,172.69l26.34-26.35a8,8,0,0,1,11.32,11.32Zm0-48a8,8,0,0,1-11.32,0L128,83.31l-26.34,26.35A8,8,0,0,1,90.34,98.34l32-32a8,8,0,0,1,11.32,0l32,32A8,8,0,0,1,165.66,109.66Z"></path></svg>`);
      } else if (__props.name == "up-down-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="h-full w-full" viewBox="0 0 256 256"><path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216ZM165.66,98.34a8,8,0,0,1-11.32,11.32L128,83.31l-26.34,26.35A8,8,0,0,1,90.34,98.34l32-32a8,8,0,0,1,11.32,0Zm0,48a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32,0l-32-32a8,8,0,0,1,11.32-11.32L128,172.69l26.34-26.35A8,8,0,0,1,165.66,146.34Z"></path></svg>`);
      } else if (__props.name == "export") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="h-full w-full" viewBox="0 0 256 256"><path d="M223.16,68.42l-16-32A8,8,0,0,0,200,32H56a8,8,0,0,0-7.16,4.42l-16,32A8.08,8.08,0,0,0,32,72V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V72A8.08,8.08,0,0,0,223.16,68.42Zm-57.5,73.24a8,8,0,0,1-11.32,0L136,123.31V184a8,8,0,0,1-16,0V123.31l-18.34,18.35a8,8,0,0,1-11.32-11.32l32-32a8,8,0,0,1,11.32,0l32,32A8,8,0,0,1,165.66,141.66ZM52.94,64l8-16H195.06l8,16Z"></path></svg>`);
      } else if (__props.name == "code") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Zm14.25 6a.75.75 0 0 1-.22.53l-2.25 2.25a.75.75 0 1 1-1.06-1.06L15.44 12l-1.72-1.72a.75.75 0 1 1 1.06-1.06l2.25 2.25c.141.14.22.331.22.53Zm-10.28-.53a.75.75 0 0 0 0 1.06l2.25 2.25a.75.75 0 1 0 1.06-1.06L8.56 12l1.72-1.72a.75.75 0 1 0-1.06-1.06l-2.25 2.25Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "c-down") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M12.53 16.28a.75.75 0 0 1-1.06 0l-7.5-7.5a.75.75 0 0 1 1.06-1.06L12 14.69l6.97-6.97a.75.75 0 1 1 1.06 1.06l-7.5 7.5Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "c-up") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M11.47 7.72a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 1 1-1.06 1.06L12 9.31l-6.97 6.97a.75.75 0 0 1-1.06-1.06l7.5-7.5Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "list") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M5.625 3.75a2.625 2.625 0 1 0 0 5.25h12.75a2.625 2.625 0 0 0 0-5.25H5.625ZM3.75 11.25a.75.75 0 0 0 0 1.5h16.5a.75.75 0 0 0 0-1.5H3.75ZM3 15.75a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75ZM3.75 18.75a.75.75 0 0 0 0 1.5h16.5a.75.75 0 0 0 0-1.5H3.75Z"></path></svg>`);
      } else if (__props.name == "add") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M12 3.75a.75.75 0 0 1 .75.75v6.75h6.75a.75.75 0 0 1 0 1.5h-6.75v6.75a.75.75 0 0 1-1.5 0v-6.75H4.5a.75.75 0 0 1 0-1.5h6.75V4.5a.75.75 0 0 1 .75-.75Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "edit") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M21.731 2.269a2.625 2.625 0 0 0-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 0 0 0-3.712ZM19.513 8.199l-3.712-3.712-8.4 8.4a5.25 5.25 0 0 0-1.32 2.214l-.8 2.685a.75.75 0 0 0 .933.933l2.685-.8a5.25 5.25 0 0 0 2.214-1.32l8.4-8.4Z"></path><path d="M5.25 5.25a3 3 0 0 0-3 3v10.5a3 3 0 0 0 3 3h10.5a3 3 0 0 0 3-3V13.5a.75.75 0 0 0-1.5 0v5.25a1.5 1.5 0 0 1-1.5 1.5H5.25a1.5 1.5 0 0 1-1.5-1.5V8.25a1.5 1.5 0 0 1 1.5-1.5h5.25a.75.75 0 0 0 0-1.5H5.25Z"></path></svg>`);
      } else if (__props.name == "edit-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"></path></svg>`);
      } else if (__props.name == "trash") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M16.5 4.478v.227a48.816 48.816 0 0 1 3.878.512.75.75 0 1 1-.256 1.478l-.209-.035-1.005 13.07a3 3 0 0 1-2.991 2.77H8.084a3 3 0 0 1-2.991-2.77L4.087 6.66l-.209.035a.75.75 0 0 1-.256-1.478A48.567 48.567 0 0 1 7.5 4.705v-.227c0-1.564 1.213-2.9 2.816-2.951a52.662 52.662 0 0 1 3.369 0c1.603.051 2.815 1.387 2.815 2.951Zm-6.136-1.452a51.196 51.196 0 0 1 3.273 0C14.39 3.05 15 3.684 15 4.478v.113a49.488 49.488 0 0 0-6 0v-.113c0-.794.609-1.428 1.364-1.452Zm-.355 5.945a.75.75 0 1 0-1.5.058l.347 9a.75.75 0 1 0 1.499-.058l-.346-9Zm5.48.058a.75.75 0 1 0-1.498-.058l-.347 9a.75.75 0 0 0 1.5.058l.345-9Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "trash-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"></path></svg>`);
      } else if (__props.name == "import-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M12 10.5v6m3-3H9m4.06-7.19-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z"></path></svg>`);
      } else if (__props.name == "import") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M19.5 21a3 3 0 0 0 3-3V9a3 3 0 0 0-3-3h-5.379a.75.75 0 0 1-.53-.22L11.47 3.66A2.25 2.25 0 0 0 9.879 3H4.5a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h15Zm-6.75-10.5a.75.75 0 0 0-1.5 0v4.19l-1.72-1.72a.75.75 0 0 0-1.06 1.06l3 3a.75.75 0 0 0 1.06 0l3-3a.75.75 0 1 0-1.06-1.06l-1.72 1.72V10.5Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "external") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M15.75 2.25H21a.75.75 0 0 1 .75.75v5.25a.75.75 0 0 1-1.5 0V4.81L8.03 17.03a.75.75 0 0 1-1.06-1.06L19.19 3.75h-3.44a.75.75 0 0 1 0-1.5Zm-10.5 4.5a1.5 1.5 0 0 0-1.5 1.5v10.5a1.5 1.5 0 0 0 1.5 1.5h10.5a1.5 1.5 0 0 0 1.5-1.5V10.5a.75.75 0 0 1 1.5 0v8.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V8.25a3 3 0 0 1 3-3h8.25a.75.75 0 0 1 0 1.5H5.25Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "info") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"></path></svg>`);
      } else if (__props.name == "disclaimer") {
        _push(`<svg class="h-full w-full" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"></path></svg>`);
      } else if (__props.name == "adjust") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="h-full w-full" viewBox="0 0 256 256"><path d="M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM146.34,77.66a8,8,0,0,1,11.32-11.32L168,76.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,88l10.35,10.34a8,8,0,0,1-11.32,11.32L168,99.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,88ZM112,176H96v16a8,8,0,0,1-16,0V176H64a8,8,0,0,1,0-16H80V144a8,8,0,0,1,16,0v16h16a8,8,0,0,1,0,16Zm0-80H64a8,8,0,0,1,0-16h48a8,8,0,0,1,0,16Zm80,96H144a8,8,0,0,1,0-16h48a8,8,0,0,1,0,16Zm0-32H144a8,8,0,0,1,0-16h48a8,8,0,0,1,0,16Z"></path></svg>`);
      } else if (__props.name == "transfer") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="h-full w-full" viewBox="0 0 256 256"><path d="M254.07,106.79,208.53,53.73A16,16,0,0,0,196.26,48H32A16,16,0,0,0,16,64V176a16,16,0,0,0,16,16H49a32,32,0,0,0,62,0h50a32,32,0,0,0,62,0h17a16,16,0,0,0,16-16V112A8,8,0,0,0,254.07,106.79ZM32,104V64H88v40Zm48,96a16,16,0,1,1,16-16A16,16,0,0,1,80,200Zm80-96H104V64h56Zm32,96a16,16,0,1,1,16-16A16,16,0,0,1,192,200Zm-16-96V64h20.26l34.33,40Z"></path></svg>`);
      } else if (__props.name == "return") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="h-full w-full" viewBox="0 0 256 256"><path d="M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm-32,96a8,8,0,0,1-8,8H99.31l10.35,10.34a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L99.31,128H168V104a8,8,0,0,1,16,0Z"></path></svg>`);
      } else if (__props.name == "calendar") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="h-full w-full" viewBox="0 0 256 256"><path d="M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM112,184a8,8,0,0,1-16,0V132.94l-4.42,2.22a8,8,0,0,1-7.16-14.32l16-8A8,8,0,0,1,112,120Zm56-8a8,8,0,0,1,0,16H136a8,8,0,0,1-6.4-12.8l28.78-38.37A8,8,0,1,0,145.07,132a8,8,0,1,1-13.85-8A24,24,0,0,1,176,136a23.76,23.76,0,0,1-4.84,14.45L152,176ZM48,80V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80Z"></path></svg>`);
      } else if (__props.name == "calendar-dots") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="h-full w-full" viewBox="0 0 256 256"><path d="M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM84,184a12,12,0,1,1,12-12A12,12,0,0,1,84,184Zm44,0a12,12,0,1,1,12-12A12,12,0,0,1,128,184Zm0-40a12,12,0,1,1,12-12A12,12,0,0,1,128,144Zm44,40a12,12,0,1,1,12-12A12,12,0,0,1,172,184Zm0-40a12,12,0,1,1,12-12A12,12,0,0,1,172,144Zm36-64H48V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24Z"></path></svg>`);
      } else if (__props.name == "scale") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M12 3v17.25m0 0c-1.472 0-2.882.265-4.185.75M12 20.25c1.472 0 2.882.265 4.185.75M18.75 4.97A48.416 48.416 0 0 0 12 4.5c-2.291 0-4.545.16-6.75.47m13.5 0c1.01.143 2.01.317 3 .52m-3-.52 2.62 10.726c.122.499-.106 1.028-.589 1.202a5.988 5.988 0 0 1-2.031.352 5.988 5.988 0 0 1-2.031-.352c-.483-.174-.711-.703-.59-1.202L18.75 4.971Zm-16.5.52c.99-.203 1.99-.377 3-.52m0 0 2.62 10.726c.122.499-.106 1.028-.589 1.202a5.989 5.989 0 0 1-2.031.352 5.989 5.989 0 0 1-2.031-.352c-.483-.174-.711-.703-.59-1.202L5.25 4.971Z"></path></svg>`);
      } else if (__props.name == "docs") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M7.5 3.375c0-1.036.84-1.875 1.875-1.875h.375a3.75 3.75 0 0 1 3.75 3.75v1.875C13.5 8.161 14.34 9 15.375 9h1.875A3.75 3.75 0 0 1 21 12.75v3.375C21 17.16 20.16 18 19.125 18h-9.75A1.875 1.875 0 0 1 7.5 16.125V3.375Z"></path><path d="M15 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 17.25 7.5h-1.875A.375.375 0 0 1 15 7.125V5.25ZM4.875 6H6v10.125A3.375 3.375 0 0 0 9.375 19.5H16.5v1.125c0 1.035-.84 1.875-1.875 1.875h-9.75A1.875 1.875 0 0 1 3 20.625V7.875C3 6.839 3.84 6 4.875 6Z"></path></svg>`);
      } else if (__props.name == "docs2") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="h-full w-full"><path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20"></path><path d="M8 11h8"></path><path d="M8 7h6"></path></svg>`);
      } else if (__props.name == "truck") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M3.375 4.5C2.339 4.5 1.5 5.34 1.5 6.375V13.5h12V6.375c0-1.036-.84-1.875-1.875-1.875h-8.25ZM13.5 15h-12v2.625c0 1.035.84 1.875 1.875 1.875h.375a3 3 0 1 1 6 0h3a.75.75 0 0 0 .75-.75V15Z"></path><path d="M8.25 19.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0ZM15.75 6.75a.75.75 0 0 0-.75.75v11.25c0 .087.015.17.042.248a3 3 0 0 1 5.958.464c.853-.175 1.522-.935 1.464-1.883a18.659 18.659 0 0 0-3.732-10.104 1.837 1.837 0 0 0-1.47-.725H15.75Z"></path><path d="M19.5 19.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0Z"></path></svg>`);
      } else if (__props.name == "truck-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M8.25 18.75a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h6m-9 0H3.375a1.125 1.125 0 0 1-1.125-1.125V14.25m17.25 4.5a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h1.125c.621 0 1.129-.504 1.09-1.124a17.902 17.902 0 0 0-3.213-9.193 2.056 2.056 0 0 0-1.58-.86H14.25M16.5 18.75h-2.25m0-11.177v-.958c0-.568-.422-1.048-.987-1.106a48.554 48.554 0 0 0-10.026 0 1.106 1.106 0 0 0-.987 1.106v7.635m12-6.677v6.677m0 4.5v-4.5m0 0h-12"></path></svg>`);
      } else if (__props.name == "archive") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="m20.25 7.5-.625 10.632a2.25 2.25 0 0 1-2.247 2.118H6.622a2.25 2.25 0 0 1-2.247-2.118L3.75 7.5M10 11.25h4M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"></path></svg>`);
      } else if (__props.name == "settings") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M11.42 15.17 17.25 21A2.652 2.652 0 0 0 21 17.25l-5.877-5.877M11.42 15.17l2.496-3.03c.317-.384.74-.626 1.208-.766M11.42 15.17l-4.655 5.653a2.548 2.548 0 1 1-3.586-3.586l6.837-5.63m5.108-.233c.55-.164 1.163-.188 1.743-.14a4.5 4.5 0 0 0 4.486-6.336l-3.276 3.277a3.004 3.004 0 0 1-2.25-2.25l3.276-3.276a4.5 4.5 0 0 0-6.336 4.486c.091 1.076-.071 2.264-.904 2.95l-.102.085m-1.745 1.437L5.909 7.5H4.5L2.25 3.75l1.5-1.5L7.5 4.5v1.409l4.26 4.26m-1.745 1.437 1.745-1.437m6.615 8.206L15.75 15.75M4.867 19.125h.008v.008h-.008v-.008Z"></path></svg>`);
      } else if (__props.name == "envelope") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"></path></svg>`);
      } else if (__props.name == "file-text") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M5.625 1.5c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0 0 16.5 9h-1.875a1.875 1.875 0 0 1-1.875-1.875V5.25A3.75 3.75 0 0 0 9 1.5H5.625ZM7.5 15a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 7.5 15Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H8.25Z" clip-rule="evenodd"></path><path d="M12.971 1.816A5.23 5.23 0 0 1 14.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 0 1 3.434 1.279 9.768 9.768 0 0 0-6.963-6.963Z"></path></svg>`);
      } else if (__props.name == "dollar") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M10.464 8.746c.227-.18.497-.311.786-.394v2.795a2.252 2.252 0 0 1-.786-.393c-.394-.313-.546-.681-.546-1.004 0-.323.152-.691.546-1.004ZM12.75 15.662v-2.824c.347.085.664.228.921.421.427.32.579.686.579.991 0 .305-.152.671-.579.991a2.534 2.534 0 0 1-.921.42Z"></path><path fill-rule="evenodd" d="M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM12.75 6a.75.75 0 0 0-1.5 0v.816a3.836 3.836 0 0 0-1.72.756c-.712.566-1.112 1.35-1.112 2.178 0 .829.4 1.612 1.113 2.178.502.4 1.102.647 1.719.756v2.978a2.536 2.536 0 0 1-.921-.421l-.879-.66a.75.75 0 0 0-.9 1.2l.879.66c.533.4 1.169.645 1.821.75V18a.75.75 0 0 0 1.5 0v-.81a4.124 4.124 0 0 0 1.821-.749c.745-.559 1.179-1.344 1.179-2.191 0-.847-.434-1.632-1.179-2.191a4.122 4.122 0 0 0-1.821-.75V8.354c.29.082.559.213.786.393l.415.33a.75.75 0 0 0 .933-1.175l-.415-.33a3.836 3.836 0 0 0-1.719-.755V6Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "dollar-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M12 6v12m-3-2.818.879.659c1.171.879 3.07.879 4.242 0 1.172-.879 1.172-2.303 0-3.182C13.536 12.219 12.768 12 12 12c-.725 0-1.45-.22-2.003-.659-1.106-.879-1.106-2.303 0-3.182s2.9-.879 4.006 0l.415.33M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"></path></svg>`);
      } else if (__props.name == "receipt") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M12 1.5c-1.921 0-3.816.111-5.68.327-1.497.174-2.57 1.46-2.57 2.93V21.75a.75.75 0 0 0 1.029.696l3.471-1.388 3.472 1.388a.75.75 0 0 0 .556 0l3.472-1.388 3.471 1.388a.75.75 0 0 0 1.029-.696V4.757c0-1.47-1.073-2.756-2.57-2.93A49.255 49.255 0 0 0 12 1.5Zm3.53 7.28a.75.75 0 0 0-1.06-1.06l-6 6a.75.75 0 1 0 1.06 1.06l6-6ZM8.625 9a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Zm5.625 3.375a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "receipt-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="m9 14.25 6-6m4.5-3.493V21.75l-3.75-1.5-3.75 1.5-3.75-1.5-3.75 1.5V4.757c0-1.108.806-2.057 1.907-2.185a48.507 48.507 0 0 1 11.186 0c1.1.128 1.907 1.077 1.907 2.185ZM9.75 9h.008v.008H9.75V9Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm4.125 4.5h.008v.008h-.008V13.5Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"></path></svg>`);
      } else if (__props.name == "book") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M11.25 4.533A9.707 9.707 0 0 0 6 3a9.735 9.735 0 0 0-3.25.555.75.75 0 0 0-.5.707v14.25a.75.75 0 0 0 1 .707A8.237 8.237 0 0 1 6 18.75c1.995 0 3.823.707 5.25 1.886V4.533ZM12.75 20.636A8.214 8.214 0 0 1 18 18.75c.966 0 1.89.166 2.75.47a.75.75 0 0 0 1-.708V4.262a.75.75 0 0 0-.5-.707A9.735 9.735 0 0 0 18 3a9.707 9.707 0 0 0-5.25 1.533v16.103Z"></path></svg>`);
      } else if (__props.name == "book-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25"></path></svg>`);
      } else if (__props.name == "x") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12"></path></svg>`);
      } else if (__props.name == "folder") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M19.5 21a3 3 0 0 0 3-3v-4.5a3 3 0 0 0-3-3h-15a3 3 0 0 0-3 3V18a3 3 0 0 0 3 3h15ZM1.5 10.146V6a3 3 0 0 1 3-3h5.379a2.25 2.25 0 0 1 1.59.659l2.122 2.121c.14.141.331.22.53.22H19.5a3 3 0 0 1 3 3v1.146A4.483 4.483 0 0 0 19.5 9h-15a4.483 4.483 0 0 0-3 1.146Z"></path></svg>`);
      } else if (__props.name == "folder-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M2.25 12.75V12A2.25 2.25 0 0 1 4.5 9.75h15A2.25 2.25 0 0 1 21.75 12v.75m-8.69-6.44-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z"></path></svg>`);
      } else if (__props.name == "star") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.006 5.404.434c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.434 2.082-5.005Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "star-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M11.48 3.499a.562.562 0 0 1 1.04 0l2.125 5.111a.563.563 0 0 0 .475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 0 0-.182.557l1.285 5.385a.562.562 0 0 1-.84.61l-4.725-2.885a.562.562 0 0 0-.586 0L6.982 20.54a.562.562 0 0 1-.84-.61l1.285-5.386a.562.562 0 0 0-.182-.557l-4.204-3.602a.562.562 0 0 1 .321-.988l5.518-.442a.563.563 0 0 0 .475-.345L11.48 3.5Z"></path></svg>`);
      } else if (__props.name == "chip") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M16.5 7.5h-9v9h9v-9Z"></path><path fill-rule="evenodd" d="M8.25 2.25A.75.75 0 0 1 9 3v.75h2.25V3a.75.75 0 0 1 1.5 0v.75H15V3a.75.75 0 0 1 1.5 0v.75h.75a3 3 0 0 1 3 3v.75H21A.75.75 0 0 1 21 9h-.75v2.25H21a.75.75 0 0 1 0 1.5h-.75V15H21a.75.75 0 0 1 0 1.5h-.75v.75a3 3 0 0 1-3 3h-.75V21a.75.75 0 0 1-1.5 0v-.75h-2.25V21a.75.75 0 0 1-1.5 0v-.75H9V21a.75.75 0 0 1-1.5 0v-.75h-.75a3 3 0 0 1-3-3v-.75H3A.75.75 0 0 1 3 15h.75v-2.25H3a.75.75 0 0 1 0-1.5h.75V9H3a.75.75 0 0 1 0-1.5h.75v-.75a3 3 0 0 1 3-3h.75V3a.75.75 0 0 1 .75-.75ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-.75.75H6.75a.75.75 0 0 1-.75-.75V6.75Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "chip-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M8.25 3v1.5M4.5 8.25H3m18 0h-1.5M4.5 12H3m18 0h-1.5m-15 3.75H3m18 0h-1.5M8.25 19.5V21M12 3v1.5m0 15V21m3.75-18v1.5m0 15V21m-9-1.5h10.5a2.25 2.25 0 0 0 2.25-2.25V6.75a2.25 2.25 0 0 0-2.25-2.25H6.75A2.25 2.25 0 0 0 4.5 6.75v10.5a2.25 2.25 0 0 0 2.25 2.25Zm.75-12h9v9h-9v-9Z"></path></svg>`);
      } else if (__props.name == "group") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M8.25 6.75a3.75 3.75 0 1 1 7.5 0 3.75 3.75 0 0 1-7.5 0ZM15.75 9.75a3 3 0 1 1 6 0 3 3 0 0 1-6 0ZM2.25 9.75a3 3 0 1 1 6 0 3 3 0 0 1-6 0ZM6.31 15.117A6.745 6.745 0 0 1 12 12a6.745 6.745 0 0 1 6.709 7.498.75.75 0 0 1-.372.568A12.696 12.696 0 0 1 12 21.75c-2.305 0-4.47-.612-6.337-1.684a.75.75 0 0 1-.372-.568 6.787 6.787 0 0 1 1.019-4.38Z" clip-rule="evenodd"></path><path d="M5.082 14.254a8.287 8.287 0 0 0-1.308 5.135 9.687 9.687 0 0 1-1.764-.44l-.115-.04a.563.563 0 0 1-.373-.487l-.01-.121a3.75 3.75 0 0 1 3.57-4.047ZM20.226 19.389a8.287 8.287 0 0 0-1.308-5.135 3.75 3.75 0 0 1 3.57 4.047l-.01.121a.563.563 0 0 1-.373.486l-.115.04c-.567.2-1.156.349-1.764.441Z"></path></svg>`);
      } else if (__props.name == "group-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M18 18.72a9.094 9.094 0 0 0 3.741-.479 3 3 0 0 0-4.682-2.72m.94 3.198.001.031c0 .225-.012.447-.037.666A11.944 11.944 0 0 1 12 21c-2.17 0-4.207-.576-5.963-1.584A6.062 6.062 0 0 1 6 18.719m12 0a5.971 5.971 0 0 0-.941-3.197m0 0A5.995 5.995 0 0 0 12 12.75a5.995 5.995 0 0 0-5.058 2.772m0 0a3 3 0 0 0-4.681 2.72 8.986 8.986 0 0 0 3.74.477m.94-3.197a5.971 5.971 0 0 0-.94 3.197M15 6.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm6 3a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Zm-13.5 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Z"></path></svg>`);
      } else if (__props.name == "users") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M4.5 6.375a4.125 4.125 0 1 1 8.25 0 4.125 4.125 0 0 1-8.25 0ZM14.25 8.625a3.375 3.375 0 1 1 6.75 0 3.375 3.375 0 0 1-6.75 0ZM1.5 19.125a7.125 7.125 0 0 1 14.25 0v.003l-.001.119a.75.75 0 0 1-.363.63 13.067 13.067 0 0 1-6.761 1.873c-2.472 0-4.786-.684-6.76-1.873a.75.75 0 0 1-.364-.63l-.001-.122ZM17.25 19.128l-.001.144a2.25 2.25 0 0 1-.233.96 10.088 10.088 0 0 0 5.06-1.01.75.75 0 0 0 .42-.643 4.875 4.875 0 0 0-6.957-4.611 8.586 8.586 0 0 1 1.71 5.157v.003Z"></path></svg>`);
      } else if (__props.name == "users-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M15 19.128a9.38 9.38 0 0 0 2.625.372 9.337 9.337 0 0 0 4.121-.952 4.125 4.125 0 0 0-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 0 1 8.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0 1 11.964-3.07M12 6.375a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0Zm8.25 2.25a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0Z"></path></svg>`);
      } else if (__props.name == "add-user") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"></path></svg>`);
      } else if (__props.name == "suppliers-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="h-full w-full" viewBox="0 0 256 256"><path d="M244.8,150.4a8,8,0,0,1-11.2-1.6A51.6,51.6,0,0,0,192,128a8,8,0,0,1-7.37-4.89,8,8,0,0,1,0-6.22A8,8,0,0,1,192,112a24,24,0,1,0-23.24-30,8,8,0,1,1-15.5-4A40,40,0,1,1,219,117.51a67.94,67.94,0,0,1,27.43,21.68A8,8,0,0,1,244.8,150.4ZM190.92,212a8,8,0,1,1-13.84,8,57,57,0,0,0-98.16,0,8,8,0,1,1-13.84-8,72.06,72.06,0,0,1,33.74-29.92,48,48,0,1,1,58.36,0A72.06,72.06,0,0,1,190.92,212ZM128,176a32,32,0,1,0-32-32A32,32,0,0,0,128,176ZM72,120a8,8,0,0,0-8-8A24,24,0,1,1,87.24,82a8,8,0,1,0,15.5-4A40,40,0,1,0,37,117.51,67.94,67.94,0,0,0,9.6,139.19a8,8,0,1,0,12.8,9.61A51.6,51.6,0,0,1,64,128,8,8,0,0,0,72,120Z"></path></svg>`);
      } else if (__props.name == "suppliers") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="h-full w-full" viewBox="0 0 256 256"><path d="M64.12,147.8a4,4,0,0,1-4,4.2H16a8,8,0,0,1-7.8-6.17,8.35,8.35,0,0,1,1.62-6.93A67.79,67.79,0,0,1,37,117.51a40,40,0,1,1,66.46-35.8,3.94,3.94,0,0,1-2.27,4.18A64.08,64.08,0,0,0,64,144C64,145.28,64,146.54,64.12,147.8Zm182-8.91A67.76,67.76,0,0,0,219,117.51a40,40,0,1,0-66.46-35.8,3.94,3.94,0,0,0,2.27,4.18A64.08,64.08,0,0,1,192,144c0,1.28,0,2.54-.12,3.8a4,4,0,0,0,4,4.2H240a8,8,0,0,0,7.8-6.17A8.33,8.33,0,0,0,246.17,138.89Zm-89,43.18a48,48,0,1,0-58.37,0A72.13,72.13,0,0,0,65.07,212,8,8,0,0,0,72,224H184a8,8,0,0,0,6.93-12A72.15,72.15,0,0,0,157.19,182.07Z"></path></svg>`);
      } else if (__props.name == "people-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="h-full w-full" viewBox="0 0 256 256"><path d="M27.2,126.4a8,8,0,0,0,11.2-1.6,52,52,0,0,1,83.2,0,8,8,0,0,0,11.2,1.59,7.73,7.73,0,0,0,1.59-1.59h0a52,52,0,0,1,83.2,0,8,8,0,0,0,12.8-9.61A67.85,67.85,0,0,0,203,93.51a40,40,0,1,0-53.94,0,67.27,67.27,0,0,0-21,14.31,67.27,67.27,0,0,0-21-14.31,40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,25.6,115.2,8,8,0,0,0,27.2,126.4ZM176,40a24,24,0,1,1-24,24A24,24,0,0,1,176,40ZM80,40A24,24,0,1,1,56,64,24,24,0,0,1,80,40ZM203,197.51a40,40,0,1,0-53.94,0,67.27,67.27,0,0,0-21,14.31,67.27,67.27,0,0,0-21-14.31,40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,25.6,219.2a8,8,0,1,0,12.8,9.6,52,52,0,0,1,83.2,0,8,8,0,0,0,11.2,1.59,7.73,7.73,0,0,0,1.59-1.59h0a52,52,0,0,1,83.2,0,8,8,0,0,0,12.8-9.61A67.85,67.85,0,0,0,203,197.51ZM80,144a24,24,0,1,1-24,24A24,24,0,0,1,80,144Zm96,0a24,24,0,1,1-24,24A24,24,0,0,1,176,144Z"></path></svg>`);
      } else if (__props.name == "people") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="h-full w-full" viewBox="0 0 256 256"><path d="M230.4,219.19A8,8,0,0,1,224,232H32a8,8,0,0,1-6.4-12.8A67.88,67.88,0,0,1,53,197.51a40,40,0,1,1,53.93,0,67.42,67.42,0,0,1,21,14.29,67.42,67.42,0,0,1,21-14.29,40,40,0,1,1,53.93,0A67.85,67.85,0,0,1,230.4,219.19ZM27.2,126.4a8,8,0,0,0,11.2-1.6,52,52,0,0,1,83.2,0,8,8,0,0,0,12.8,0,52,52,0,0,1,83.2,0,8,8,0,0,0,12.8-9.61A67.85,67.85,0,0,0,203,93.51a40,40,0,1,0-53.93,0,67.42,67.42,0,0,0-21,14.29,67.42,67.42,0,0,0-21-14.29,40,40,0,1,0-53.93,0A67.88,67.88,0,0,0,25.6,115.2,8,8,0,0,0,27.2,126.4Z"></path></svg>`);
      } else if (__props.name == "store") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M19.006 3.705a.75.75 0 1 0-.512-1.41L6 6.838V3a.75.75 0 0 0-.75-.75h-1.5A.75.75 0 0 0 3 3v4.93l-1.006.365a.75.75 0 0 0 .512 1.41l16.5-6Z"></path><path fill-rule="evenodd" d="M3.019 11.114 18 5.667v3.421l4.006 1.457a.75.75 0 1 1-.512 1.41l-.494-.18v8.475h.75a.75.75 0 0 1 0 1.5H2.25a.75.75 0 0 1 0-1.5H3v-9.129l.019-.007ZM18 20.25v-9.566l1.5.546v9.02H18Zm-9-6a.75.75 0 0 0-.75.75v4.5c0 .414.336.75.75.75h3a.75.75 0 0 0 .75-.75V15a.75.75 0 0 0-.75-.75H9Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "store-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M8.25 21v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21m0 0h4.5V3.545M12.75 21h7.5V10.75M2.25 21h1.5m18 0h-18M2.25 9l4.5-1.636M18.75 3l-1.5.545m0 6.205 3 1m1.5.5-1.5-.5M6.75 7.364V3h-3v18m3-13.636 10.5-3.819"></path></svg>`);
      } else if (__props.name == "funnel") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M3.792 2.938A49.069 49.069 0 0 1 12 2.25c2.797 0 5.54.236 8.209.688a1.857 1.857 0 0 1 1.541 1.836v1.044a3 3 0 0 1-.879 2.121l-6.182 6.182a1.5 1.5 0 0 0-.439 1.061v2.927a3 3 0 0 1-1.658 2.684l-1.757.878A.75.75 0 0 1 9.75 21v-5.818a1.5 1.5 0 0 0-.44-1.06L3.13 7.938a3 3 0 0 1-.879-2.121V4.774c0-.897.64-1.683 1.542-1.836Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "funnel-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z"></path></svg>`);
      } else if (__props.name == "sparkles") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M9 4.5a.75.75 0 0 1 .721.544l.813 2.846a3.75 3.75 0 0 0 2.576 2.576l2.846.813a.75.75 0 0 1 0 1.442l-2.846.813a3.75 3.75 0 0 0-2.576 2.576l-.813 2.846a.75.75 0 0 1-1.442 0l-.813-2.846a3.75 3.75 0 0 0-2.576-2.576l-2.846-.813a.75.75 0 0 1 0-1.442l2.846-.813A3.75 3.75 0 0 0 7.466 7.89l.813-2.846A.75.75 0 0 1 9 4.5ZM18 1.5a.75.75 0 0 1 .728.568l.258 1.036c.236.94.97 1.674 1.91 1.91l1.036.258a.75.75 0 0 1 0 1.456l-1.036.258c-.94.236-1.674.97-1.91 1.91l-.258 1.036a.75.75 0 0 1-1.456 0l-.258-1.036a2.625 2.625 0 0 0-1.91-1.91l-1.036-.258a.75.75 0 0 1 0-1.456l1.036-.258a2.625 2.625 0 0 0 1.91-1.91l.258-1.036A.75.75 0 0 1 18 1.5ZM16.5 15a.75.75 0 0 1 .712.513l.394 1.183c.15.447.5.799.948.948l1.183.395a.75.75 0 0 1 0 1.422l-1.183.395c-.447.15-.799.5-.948.948l-.395 1.183a.75.75 0 0 1-1.422 0l-.395-1.183a1.5 1.5 0 0 0-.948-.948l-1.183-.395a.75.75 0 0 1 0-1.422l1.183-.395c.447-.15.799-.5.948-.948l.395-1.183A.75.75 0 0 1 16.5 15Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "sparkles-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z"></path></svg>`);
      } else if (__props.name == "money") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M12 7.5a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5Z"></path><path fill-rule="evenodd" d="M1.5 4.875C1.5 3.839 2.34 3 3.375 3h17.25c1.035 0 1.875.84 1.875 1.875v9.75c0 1.036-.84 1.875-1.875 1.875H3.375A1.875 1.875 0 0 1 1.5 14.625v-9.75ZM8.25 9.75a3.75 3.75 0 1 1 7.5 0 3.75 3.75 0 0 1-7.5 0ZM18.75 9a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V9.75a.75.75 0 0 0-.75-.75h-.008ZM4.5 9.75A.75.75 0 0 1 5.25 9h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H5.25a.75.75 0 0 1-.75-.75V9.75Z" clip-rule="evenodd"></path><path d="M2.25 18a.75.75 0 0 0 0 1.5c5.4 0 10.63.722 15.6 2.075 1.19.324 2.4-.558 2.4-1.82V18.75a.75.75 0 0 0-.75-.75H2.25Z"></path></svg>`);
      } else if (__props.name == "money-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M2.25 18.75a60.07 60.07 0 0 1 15.797 2.101c.727.198 1.453-.342 1.453-1.096V18.75M3.75 4.5v.75A.75.75 0 0 1 3 6h-.75m0 0v-.375c0-.621.504-1.125 1.125-1.125H20.25M2.25 6v9m18-10.5v.75c0 .414.336.75.75.75h.75m-1.5-1.5h.375c.621 0 1.125.504 1.125 1.125v9.75c0 .621-.504 1.125-1.125 1.125h-.375m1.5-1.5H21a.75.75 0 0 0-.75.75v.75m0 0H3.75m0 0h-.375a1.125 1.125 0 0 1-1.125-1.125V15m1.5 1.5v-.75A.75.75 0 0 0 3 15h-.75M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm3 0h.008v.008H18V10.5Zm-12 0h.008v.008H6V10.5Z"></path></svg>`);
      } else if (__props.name == "building") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" class="h-full w-full"><path d="M239.73,208H224V96a16,16,0,0,0-16-16H164a4,4,0,0,0-4,4V208H144V32.41a16.43,16.43,0,0,0-6.16-13,16,16,0,0,0-18.72-.69L39.12,72A16,16,0,0,0,32,85.34V208H16.27A8.18,8.18,0,0,0,8,215.47,8,8,0,0,0,16,224H240a8,8,0,0,0,8-8.53A8.18,8.18,0,0,0,239.73,208ZM76,184a8,8,0,0,1-8.53,8A8.18,8.18,0,0,1,60,183.72V168.27A8.19,8.19,0,0,1,67.47,160,8,8,0,0,1,76,168Zm0-56a8,8,0,0,1-8.53,8A8.19,8.19,0,0,1,60,127.72V112.27A8.19,8.19,0,0,1,67.47,104,8,8,0,0,1,76,112Zm40,56a8,8,0,0,1-8.53,8,8.18,8.18,0,0,1-7.47-8.26V168.27a8.19,8.19,0,0,1,7.47-8.26,8,8,0,0,1,8.53,8Zm0-56a8,8,0,0,1-8.53,8,8.19,8.19,0,0,1-7.47-8.26V112.27a8.19,8.19,0,0,1,7.47-8.26,8,8,0,0,1,8.53,8Z"></path></svg>`);
      } else if (__props.name == "building-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" class="h-full w-full"><path d="M240,208H224V96a16,16,0,0,0-16-16H144V32a16,16,0,0,0-24.88-13.32L39.12,72A16,16,0,0,0,32,85.34V208H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM208,96V208H144V96ZM48,85.34,128,32V208H48ZM112,112v16a8,8,0,0,1-16,0V112a8,8,0,1,1,16,0Zm-32,0v16a8,8,0,0,1-16,0V112a8,8,0,1,1,16,0Zm0,56v16a8,8,0,0,1-16,0V168a8,8,0,0,1,16,0Zm32,0v16a8,8,0,0,1-16,0V168a8,8,0,0,1,16,0Z"></path></svg>`);
      } else if (__props.name == "grid") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" class="h-full w-full"><path d="M120,56v48a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40h48A16,16,0,0,1,120,56Zm80-16H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm-96,96H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm96,0H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Z"></path></svg>`);
      } else if (__props.name == "grid-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" class="h-full w-full"><path d="M104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48Z"></path></svg>`);
      } else if (__props.name == "transaction") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" class="h-full w-full"><path d="M224,72H208V56a16,16,0,0,0-16-16H160a16,16,0,0,0-16,16V72H112V56A16,16,0,0,0,96,40H64A16,16,0,0,0,48,56V72H32A16,16,0,0,0,16,88v96a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V88A16,16,0,0,0,224,72ZM64,56H96V72H64Zm40,88H72a8,8,0,0,1,0-16h32a8,8,0,0,1,0,16Zm80,0h-8v8a8,8,0,0,1-16,0v-8h-8a8,8,0,0,1,0-16h8v-8a8,8,0,0,1,16,0v8h8a8,8,0,0,1,0,16Zm8-72H160V56h32Z"></path></svg>`);
      } else if (__props.name == "v-arrows") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M6.97 2.47a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1-1.06 1.06L8.25 4.81V16.5a.75.75 0 0 1-1.5 0V4.81L3.53 8.03a.75.75 0 0 1-1.06-1.06l4.5-4.5Zm9.53 4.28a.75.75 0 0 1 .75.75v11.69l3.22-3.22a.75.75 0 1 1 1.06 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 1 1 1.06-1.06l3.22 3.22V7.5a.75.75 0 0 1 .75-.75Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "paperclip") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="m18.375 12.739-7.693 7.693a4.5 4.5 0 0 1-6.364-6.364l10.94-10.94A3 3 0 1 1 19.5 7.372L8.552 18.32m.009-.01-.01.01m5.699-9.941-7.81 7.81a1.5 1.5 0 0 0 2.112 2.13"></path></svg>`);
      } else if (__props.name == "rects") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M5.566 4.657A4.505 4.505 0 0 1 6.75 4.5h10.5c.41 0 .806.055 1.183.157A3 3 0 0 0 15.75 3h-7.5a3 3 0 0 0-2.684 1.657ZM2.25 12a3 3 0 0 1 3-3h13.5a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3v-6ZM5.25 7.5c-.41 0-.806.055-1.184.157A3 3 0 0 1 6.75 6h10.5a3 3 0 0 1 2.683 1.657A4.505 4.505 0 0 0 18.75 7.5H5.25Z"></path></svg>`);
      } else if (__props.name == "squares") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M11.644 1.59a.75.75 0 0 1 .712 0l9.75 5.25a.75.75 0 0 1 0 1.32l-9.75 5.25a.75.75 0 0 1-.712 0l-9.75-5.25a.75.75 0 0 1 0-1.32l9.75-5.25Z"></path><path d="m3.265 10.602 7.668 4.129a2.25 2.25 0 0 0 2.134 0l7.668-4.13 1.37.739a.75.75 0 0 1 0 1.32l-9.75 5.25a.75.75 0 0 1-.71 0l-9.75-5.25a.75.75 0 0 1 0-1.32l1.37-.738Z"></path><path d="m10.933 19.231-7.668-4.13-1.37.739a.75.75 0 0 0 0 1.32l9.75 5.25c.221.12.489.12.71 0l9.75-5.25a.75.75 0 0 0 0-1.32l-1.37-.738-7.668 4.13a2.25 2.25 0 0 1-2.134-.001Z"></path></svg>`);
      } else if (__props.name == "squares-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-6 w-6"><path stroke-linecap="round" stroke-linejoin="round" d="M6.429 9.75 2.25 12l4.179 2.25m0-4.5 5.571 3 5.571-3m-11.142 0L2.25 7.5 12 2.25l9.75 5.25-4.179 2.25m0 0L21.75 12l-4.179 2.25m0 0 4.179 2.25L12 21.75 2.25 16.5l4.179-2.25m11.142 0-5.571 3-5.571-3"></path></svg>`);
      } else if (__props.name == "register") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="h-full w-full" viewBox="0 0 256 256"><path d="M239.76,158.06,217.28,68.12A16,16,0,0,0,201.75,56H136V40a16,16,0,0,0-16-16H80A16,16,0,0,0,64,40V56H54.25A16,16,0,0,0,38.72,68.12L16.24,158.06A7.93,7.93,0,0,0,16,160v32a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V160A7.93,7.93,0,0,0,239.76,158.06ZM168,88h16a8,8,0,0,1,0,16H168a8,8,0,0,1,0-16Zm0,32h16a8,8,0,0,1,0,16H168a8,8,0,0,1,0-16ZM136,88a8,8,0,0,1,0,16H120a8,8,0,0,1,0-16Zm8,40a8,8,0,0,1-8,8H120a8,8,0,0,1,0-16h16A8,8,0,0,1,144,128ZM80,40h40V56H80ZM72,88H88a8,8,0,0,1,0,16H72a8,8,0,0,1,0-16Zm0,32H88a8,8,0,0,1,0,16H72a8,8,0,0,1,0-16Zm152,72H32V168H224Z"></path></svg>`);
      } else if (__props.name == "register-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="h-full w-full" viewBox="0 0 256 256"><path d="M239.76,158.06,217.28,68.12A16,16,0,0,0,201.75,56H136V40a16,16,0,0,0-16-16H80A16,16,0,0,0,64,40V56H54.25A16,16,0,0,0,38.72,68.12L16.24,158.06A7.93,7.93,0,0,0,16,160v32a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V160A7.93,7.93,0,0,0,239.76,158.06ZM80,40h40V56H80ZM54.25,72h147.5l20,80H34.25ZM32,192V168H224v24ZM64,96a8,8,0,0,1,8-8H88a8,8,0,0,1,0,16H72A8,8,0,0,1,64,96Zm48,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H120A8,8,0,0,1,112,96Zm48,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H168A8,8,0,0,1,160,96ZM64,128a8,8,0,0,1,8-8H88a8,8,0,0,1,0,16H72A8,8,0,0,1,64,128Zm48,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H120A8,8,0,0,1,112,128Zm48,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H168A8,8,0,0,1,160,128Z"></path></svg>`);
      } else if (__props.name == "circles") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M21 6.375c0 2.692-4.03 4.875-9 4.875S3 9.067 3 6.375 7.03 1.5 12 1.5s9 2.183 9 4.875Z"></path><path d="M12 12.75c2.685 0 5.19-.586 7.078-1.609a8.283 8.283 0 0 0 1.897-1.384c.016.121.025.244.025.368C21 12.817 16.97 15 12 15s-9-2.183-9-4.875c0-.124.009-.247.025-.368a8.285 8.285 0 0 0 1.897 1.384C6.809 12.164 9.315 12.75 12 12.75Z"></path><path d="M12 16.5c2.685 0 5.19-.586 7.078-1.609a8.282 8.282 0 0 0 1.897-1.384c.016.121.025.244.025.368 0 2.692-4.03 4.875-9 4.875s-9-2.183-9-4.875c0-.124.009-.247.025-.368a8.284 8.284 0 0 0 1.897 1.384C6.809 15.914 9.315 16.5 12 16.5Z"></path><path d="M12 20.25c2.685 0 5.19-.586 7.078-1.609a8.282 8.282 0 0 0 1.897-1.384c.016.121.025.244.025.368 0 2.692-4.03 4.875-9 4.875s-9-2.183-9-4.875c0-.124.009-.247.025-.368a8.284 8.284 0 0 0 1.897 1.384C6.809 19.664 9.315 20.25 12 20.25Z"></path></svg>`);
      } else if (__props.name == "rects-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M6 6.878V6a2.25 2.25 0 0 1 2.25-2.25h7.5A2.25 2.25 0 0 1 18 6v.878m-12 0c.235-.083.487-.128.75-.128h10.5c.263 0 .515.045.75.128m-12 0A2.25 2.25 0 0 0 4.5 9v.878m13.5-3A2.25 2.25 0 0 1 19.5 9v.878m0 0a2.246 2.246 0 0 0-.75-.128H5.25c-.263 0-.515.045-.75.128m15 0A2.25 2.25 0 0 1 21 12v6a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 18v-6c0-.98.626-1.813 1.5-2.122"></path></svg>`);
      } else if (__props.name == "plus") {
        _push(`<svg fill="none" class="h-full w-full" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" d="M12 4.5v15m7.5-7.5h-15"></path></svg>`);
      } else if (__props.name == "adjust-h") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M18.75 12.75h1.5a.75.75 0 0 0 0-1.5h-1.5a.75.75 0 0 0 0 1.5ZM12 6a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 12 6ZM12 18a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 12 18ZM3.75 6.75h1.5a.75.75 0 1 0 0-1.5h-1.5a.75.75 0 0 0 0 1.5ZM5.25 18.75h-1.5a.75.75 0 0 1 0-1.5h1.5a.75.75 0 0 1 0 1.5ZM3 12a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 3 12ZM9 3.75a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5ZM12.75 12a2.25 2.25 0 1 1 4.5 0 2.25 2.25 0 0 1-4.5 0ZM9 15.75a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5Z"></path></svg>`);
      } else if (__props.name == "adjust-v") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M6 12a.75.75 0 0 1-.75-.75v-7.5a.75.75 0 1 1 1.5 0v7.5A.75.75 0 0 1 6 12ZM18 12a.75.75 0 0 1-.75-.75v-7.5a.75.75 0 0 1 1.5 0v7.5A.75.75 0 0 1 18 12ZM6.75 20.25v-1.5a.75.75 0 0 0-1.5 0v1.5a.75.75 0 0 0 1.5 0ZM18.75 18.75v1.5a.75.75 0 0 1-1.5 0v-1.5a.75.75 0 0 1 1.5 0ZM12.75 5.25v-1.5a.75.75 0 0 0-1.5 0v1.5a.75.75 0 0 0 1.5 0ZM12 21a.75.75 0 0 1-.75-.75v-7.5a.75.75 0 0 1 1.5 0v7.5A.75.75 0 0 1 12 21ZM3.75 15a2.25 2.25 0 1 0 4.5 0 2.25 2.25 0 0 0-4.5 0ZM12 11.25a2.25 2.25 0 1 1 0-4.5 2.25 2.25 0 0 1 0 4.5ZM15.75 15a2.25 2.25 0 1 0 4.5 0 2.25 2.25 0 0 0-4.5 0Z"></path></svg>`);
      } else if (__props.name == "textbox") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="h-full w-full" viewBox="0 0 256 256"><path d="M248,80v96a16,16,0,0,1-16,16H140a4,4,0,0,1-4-4V68a4,4,0,0,1,4-4h92A16,16,0,0,1,248,80ZM120,48V208a8,8,0,0,1-16,0V192H24A16,16,0,0,1,8,176V80A16,16,0,0,1,24,64h80V48a8,8,0,0,1,16,0ZM88,112a8,8,0,0,0-8-8H48a8,8,0,0,0,0,16h8v24a8,8,0,0,0,16,0V120h8A8,8,0,0,0,88,112Z"></path></svg>`);
      } else if (__props.name == "bolt") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"></path></svg>`);
      } else if (__props.name == "photo") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"></path></svg>`);
      } else if (__props.name == "search") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"></path></svg>`);
      } else if (__props.name == "eye") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"></path><path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"></path></svg>`);
      } else if (__props.name == "d-arrows") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M7.5 21 3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5"></path></svg>`);
      } else if (__props.name == "card") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M4.5 3.75a3 3 0 0 0-3 3v.75h21v-.75a3 3 0 0 0-3-3h-15Z"></path><path fill-rule="evenodd" d="M22.5 9.75h-21v7.5a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3v-7.5Zm-18 3.75a.75.75 0 0 1 .75-.75h6a.75.75 0 0 1 0 1.5h-6a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "card-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M2.25 8.25h19.5M2.25 9h19.5m-16.5 5.25h6m-6 2.25h3m-3.75 3h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Z"></path></svg>`);
      } else if (__props.name == "wrench") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M12 6.75a5.25 5.25 0 0 1 6.775-5.025.75.75 0 0 1 .313 1.248l-3.32 3.319c.063.475.276.934.641 1.299.365.365.824.578 1.3.64l3.318-3.319a.75.75 0 0 1 1.248.313 5.25 5.25 0 0 1-5.472 6.756c-1.018-.086-1.87.1-2.309.634L7.344 21.3A3.298 3.298 0 1 1 2.7 16.657l8.684-7.151c.533-.44.72-1.291.634-2.309A5.342 5.342 0 0 1 12 6.75ZM4.117 19.125a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "cube") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M12.378 1.602a.75.75 0 0 0-.756 0L3 6.632l9 5.25 9-5.25-8.622-5.03ZM21.75 7.93l-9 5.25v9l8.628-5.032a.75.75 0 0 0 .372-.648V7.93ZM11.25 22.18v-9l-9-5.25v8.57a.75.75 0 0 0 .372.648l8.628 5.033Z"></path></svg>`);
      } else if (__props.name == "cube-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="m21 7.5-9-5.25L3 7.5m18 0-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9"></path></svg>`);
      } else if (__props.name == "wallet") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" class="h-full w-full"><path d="M216,64H56a8,8,0,0,1,0-16H192a8,8,0,0,0,0-16H56A24,24,0,0,0,32,56V184a24,24,0,0,0,24,24H216a16,16,0,0,0,16-16V80A16,16,0,0,0,216,64Zm-36,80a12,12,0,1,1,12-12A12,12,0,0,1,180,144Z"></path></svg>`);
      } else if (__props.name == "tipjar") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" class="h-full w-full"><path d="M184,48.81V32a16,16,0,0,0-16-16H88A16,16,0,0,0,72,32V48.81A40.05,40.05,0,0,0,40,88V200a40,40,0,0,0,40,40h96a40,40,0,0,0,40-40V88A40.05,40.05,0,0,0,184,48.81ZM120,32h16V48H120ZM88,32h16V48H88Zm48,152v8a8,8,0,0,1-16,0v-8h-8a8,8,0,0,1,0-16h24a8,8,0,0,0,0-16H120a24,24,0,0,1,0-48V96a8,8,0,0,1,16,0v8h8a8,8,0,0,1,0,16H120a8,8,0,0,0,0,16h16a24,24,0,0,1,0,48ZM168,48H152V32h16Z"></path></svg>`);
      } else if (__props.name == "stack") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M21 6.375c0 2.692-4.03 4.875-9 4.875S3 9.067 3 6.375 7.03 1.5 12 1.5s9 2.183 9 4.875Z"></path><path d="M12 12.75c2.685 0 5.19-.586 7.078-1.609a8.283 8.283 0 0 0 1.897-1.384c.016.121.025.244.025.368C21 12.817 16.97 15 12 15s-9-2.183-9-4.875c0-.124.009-.247.025-.368a8.285 8.285 0 0 0 1.897 1.384C6.809 12.164 9.315 12.75 12 12.75Z"></path><path d="M12 16.5c2.685 0 5.19-.586 7.078-1.609a8.282 8.282 0 0 0 1.897-1.384c.016.121.025.244.025.368 0 2.692-4.03 4.875-9 4.875s-9-2.183-9-4.875c0-.124.009-.247.025-.368a8.284 8.284 0 0 0 1.897 1.384C6.809 15.914 9.315 16.5 12 16.5Z"></path><path d="M12 20.25c2.685 0 5.19-.586 7.078-1.609a8.282 8.282 0 0 0 1.897-1.384c.016.121.025.244.025.368 0 2.692-4.03 4.875-9 4.875s-9-2.183-9-4.875c0-.124.009-.247.025-.368a8.284 8.284 0 0 0 1.897 1.384C6.809 19.664 9.315 20.25 12 20.25Z"></path></svg>`);
      } else if (__props.name == "stack-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M20.25 6.375c0 2.278-3.694 4.125-8.25 4.125S3.75 8.653 3.75 6.375m16.5 0c0-2.278-3.694-4.125-8.25-4.125S3.75 4.097 3.75 6.375m16.5 0v11.25c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125V6.375m16.5 0v3.75m-16.5-3.75v3.75m16.5 0v3.75C20.25 16.153 16.556 18 12 18s-8.25-1.847-8.25-4.125v-3.75m16.5 0c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125"></path></svg>`);
      } else if (__props.name == "statement") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="h-full w-full"><path d="M8 5h13"></path><path d="M13 12h8"></path><path d="M13 19h8"></path><path d="M3 10a2 2 0 0 0 2 2h3"></path><path d="M3 5v12a2 2 0 0 0 2 2h3"></path></svg>`);
      } else if (__props.name == "bars") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M3 5.25a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 5.25Zm0 4.5A.75.75 0 0 1 3.75 9h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 9.75Zm0 4.5a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75Zm0 4.5a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "chart-xac") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="h-full w-full"><path d="M12 16v5"></path><path d="M16 14v7"></path><path d="M20 10v11"></path><path d="m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15"></path><path d="M4 18v3"></path><path d="M8 14v7"></path></svg>`);
      } else if (__props.name == "bar-chart") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path d="M18.375 2.25c-1.035 0-1.875.84-1.875 1.875v15.75c0 1.035.84 1.875 1.875 1.875h.75c1.035 0 1.875-.84 1.875-1.875V4.125c0-1.036-.84-1.875-1.875-1.875h-.75ZM9.75 8.625c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v11.25c0 1.035-.84 1.875-1.875 1.875h-.75a1.875 1.875 0 0 1-1.875-1.875V8.625ZM3 13.125c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v6.75c0 1.035-.84 1.875-1.875 1.875h-.75A1.875 1.875 0 0 1 3 19.875v-6.75Z"></path></svg>`);
      } else if (__props.name == "tick") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M19.916 4.626a.75.75 0 0 1 .208 1.04l-9 13.5a.75.75 0 0 1-1.154.114l-6-6a.75.75 0 0 1 1.06-1.06l5.353 5.353 8.493-12.74a.75.75 0 0 1 1.04-.207Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "copied") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M7.502 6h7.128A3.375 3.375 0 0 1 18 9.375v9.375a3 3 0 0 0 3-3V6.108c0-1.505-1.125-2.811-2.664-2.94a48.972 48.972 0 0 0-.673-.05A3 3 0 0 0 15 1.5h-1.5a3 3 0 0 0-2.663 1.618c-.225.015-.45.032-.673.05C8.662 3.295 7.554 4.542 7.502 6ZM13.5 3A1.5 1.5 0 0 0 12 4.5h4.5A1.5 1.5 0 0 0 15 3h-1.5Z" clip-rule="evenodd"></path><path fill-rule="evenodd" d="M3 9.375C3 8.339 3.84 7.5 4.875 7.5h9.75c1.036 0 1.875.84 1.875 1.875v11.25c0 1.035-.84 1.875-1.875 1.875h-9.75A1.875 1.875 0 0 1 3 20.625V9.375Zm9.586 4.594a.75.75 0 0 0-1.172-.938l-2.476 3.096-.908-.907a.75.75 0 0 0-1.06 1.06l1.5 1.5a.75.75 0 0 0 1.116-.062l3-3.75Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "copied-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0 1 18 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3 1.5 1.5 3-3.75"></path></svg>`);
      } else if (__props.name == "a-blank") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"></path></svg>`);
      } else if (__props.name == "check-badge") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M8.603 3.799A4.49 4.49 0 0 1 12 2.25c1.357 0 2.573.6 3.397 1.549a4.49 4.49 0 0 1 3.498 1.307 4.491 4.491 0 0 1 1.307 3.497A4.49 4.49 0 0 1 21.75 12a4.49 4.49 0 0 1-1.549 3.397 4.491 4.491 0 0 1-1.307 3.497 4.491 4.491 0 0 1-3.497 1.307A4.49 4.49 0 0 1 12 21.75a4.49 4.49 0 0 1-3.397-1.549 4.49 4.49 0 0 1-3.498-1.306 4.491 4.491 0 0 1-1.307-3.498A4.49 4.49 0 0 1 2.25 12c0-1.357.6-2.573 1.549-3.397a4.49 4.49 0 0 1 1.307-3.497 4.49 4.49 0 0 1 3.497-1.307Zm7.007 6.387a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "check-badge-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12.75 11.25 15 15 9.75M21 12c0 1.268-.63 2.39-1.593 3.068a3.745 3.745 0 0 1-1.043 3.296 3.745 3.745 0 0 1-3.296 1.043A3.745 3.745 0 0 1 12 21c-1.268 0-2.39-.63-3.068-1.593a3.746 3.746 0 0 1-3.296-1.043 3.745 3.745 0 0 1-1.043-3.296A3.745 3.745 0 0 1 3 12c0-1.268.63-2.39 1.593-3.068a3.745 3.745 0 0 1 1.043-3.296 3.746 3.746 0 0 1 3.296-1.043A3.746 3.746 0 0 1 12 3c1.268 0 2.39.63 3.068 1.593a3.746 3.746 0 0 1 3.296 1.043 3.746 3.746 0 0 1 1.043 3.296A3.745 3.745 0 0 1 21 12Z"></path></svg>`);
      } else if (__props.name == "download-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M12 9.75v6.75m0 0-3-3m3 3 3-3m-8.25 6a4.5 4.5 0 0 1-1.41-8.775 5.25 5.25 0 0 1 10.233-2.33 3 3 0 0 1 3.758 3.848A3.752 3.752 0 0 1 18 19.5H6.75Z"></path></svg>`);
      } else if (__props.name == "calc") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M6.32 1.827a49.255 49.255 0 0 1 11.36 0c1.497.174 2.57 1.46 2.57 2.93V19.5a3 3 0 0 1-3 3H6.75a3 3 0 0 1-3-3V4.757c0-1.47 1.073-2.756 2.57-2.93ZM7.5 11.25a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H8.25a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75H8.25Zm-.75 3a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H8.25a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V18a.75.75 0 0 0-.75-.75H8.25Zm1.748-6a.75.75 0 0 1 .75-.75h.007a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.007a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.335.75.75.75h.007a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75h-.007Zm-.75 3a.75.75 0 0 1 .75-.75h.007a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.007a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.335.75.75.75h.007a.75.75 0 0 0 .75-.75V18a.75.75 0 0 0-.75-.75h-.007Zm1.754-6a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75h-.008Zm-.75 3a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V18a.75.75 0 0 0-.75-.75h-.008Zm1.748-6a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75h-.008Zm-8.25-6A.75.75 0 0 1 8.25 6h7.5a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75v-.75Zm9 9a.75.75 0 0 0-1.5 0V18a.75.75 0 0 0 1.5 0v-2.25Z" clip-rule="evenodd"></path></svg>`);
      } else if (__props.name == "tablet-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M10.5 19.5h3m-6.75 2.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-15a2.25 2.25 0 0 0-2.25-2.25H6.75A2.25 2.25 0 0 0 4.5 4.5v15a2.25 2.25 0 0 0 2.25 2.25Z"></path></svg>`);
      } else if (__props.name == "calc-o") {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-full w-full"><path stroke-linecap="round" stroke-linejoin="round" d="M15.75 15.75V18m-7.5-6.75h.008v.008H8.25v-.008Zm0 2.25h.008v.008H8.25V13.5Zm0 2.25h.008v.008H8.25v-.008Zm0 2.25h.008v.008H8.25V18Zm2.498-6.75h.007v.008h-.007v-.008Zm0 2.25h.007v.008h-.007V13.5Zm0 2.25h.007v.008h-.007v-.008Zm0 2.25h.007v.008h-.007V18Zm2.504-6.75h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V13.5Zm0 2.25h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V18Zm2.498-6.75h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V13.5ZM8.25 6h7.5v2.25h-7.5V6ZM12 2.25c-1.892 0-3.758.11-5.593.322C5.307 2.7 4.5 3.65 4.5 4.757V19.5a2.25 2.25 0 0 0 2.25 2.25h10.5a2.25 2.25 0 0 0 2.25-2.25V4.757c0-1.108-.806-2.057-1.907-2.185A48.507 48.507 0 0 0 12 2.25Z"></path></svg>`);
      } else {
        _push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="h-full w-full"><path fill-rule="evenodd" d="M11.097 1.515a.75.75 0 0 1 .589.882L10.666 7.5h4.47l1.079-5.397a.75.75 0 1 1 1.47.294L16.665 7.5h3.585a.75.75 0 0 1 0 1.5h-3.885l-1.2 6h3.585a.75.75 0 0 1 0 1.5h-3.885l-1.08 5.397a.75.75 0 1 1-1.47-.294l1.02-5.103h-4.47l-1.08 5.397a.75.75 0 1 1-1.47-.294l1.02-5.103H3.75a.75.75 0 0 1 0-1.5h3.885l1.2-6H5.25a.75.75 0 0 1 0-1.5h3.885l1.08-5.397a.75.75 0 0 1 .882-.588ZM10.365 9l-1.2 6h4.47l1.2-6h-4.47Z" clip-rule="evenodd"></path></svg>`);
      }
      _push(`</div>`);
    };
  }
};
const _sfc_setup$6 = _sfc_main$6.setup;
_sfc_main$6.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Icon.vue");
  return _sfc_setup$6 ? _sfc_setup$6(props, ctx) : void 0;
};
const _sfc_main$5 = {
  __name: "PackingList",
  __ssrInlineRender: true,
  props: {
    record: { type: Object, required: true },
    type: { type: String, required: true }
  },
  setup(__props) {
    const { t: t3 } = useI18n();
    const props = __props;
    const typeConfig = computed(() => {
      const configs = {
        sale: {
          label: t3("Sale"),
          noLabel: t3("Sale No. {x}", { x: props.record?.id })
        },
        purchase: {
          label: t3("Purchase"),
          noLabel: t3("Purchase No. {x}", { x: props.record?.id })
        },
        transfer: {
          label: t3("Transfer"),
          noLabel: t3("Transfer No. {x}", { x: props.record?.id })
        },
        adjustment: {
          label: t3("Adjustment"),
          noLabel: t3("Adjustment No. {x}", { x: props.record?.id })
        },
        quotation: {
          label: t3("Quotation"),
          noLabel: t3("Quotation No. {x}", { x: props.record?.id })
        },
        return_order: {
          label: t3("Return Order"),
          noLabel: t3("Return Order No. {x}", { x: props.record?.id })
        }
      };
      return configs[props.type] || configs.sale;
    });
    return (_ctx, _push, _parent, _attrs) => {
      const _component_Icon = resolveComponent("Icon");
      if (__props.record) {
        _push(`<!--[--><span class="absolute end-12 top-4 inline-flex items-center gap-x-4 sm:end-14 print:hidden"><button type="button" class="link -m-2 p-2">`);
        _push(ssrRenderComponent(_component_Icon, {
          name: "print-o",
          class: "size-5"
        }, null, _parent));
        _push(`</button></span><div class="border-b border-gray-200 px-4 py-4 sm:px-6 dark:border-gray-700 print:hidden"><div class="sm:flex sm:items-baseline sm:justify-between"><div class="sm:w-0 sm:flex-1"><h1 class="text-focus text-base font-semibold">${ssrInterpolate(_ctx.$t("Packing List"))} ${ssrInterpolate(typeConfig.value.label)} #${ssrInterpolate(__props.record?.id)} (${ssrInterpolate(__props.record?.reference)}) </h1><p class="text-mute mt-1 truncate text-sm">${ssrInterpolate(_ctx.$t("Please view the details below"))}</p></div></div></div><div class="mt-4 px-6 py-4 print:m-0 print:py-0"><div class="mb-1 max-h-16 max-w-[250px]">`);
        if (__props.record.store?.logo) {
          _push(`<img class="h-16 max-w-full"${ssrRenderAttr("src", __props.record.store.logo)}${ssrRenderAttr("alt", __props.record.store.name)}>`);
        } else {
          _push(`<!--[-->`);
          if (_ctx.$page.props.settings?.logo) {
            _push(`<img class="h-16 max-w-full dark:hidden"${ssrRenderAttr("src", _ctx.$page.props.settings?.logo)}${ssrRenderAttr("alt", _ctx.$page.props.settings?.name)}>`);
          } else {
            _push(`<!---->`);
          }
          if (_ctx.$page.props.settings?.logo_dark) {
            _push(`<img class="hidden h-16 max-w-full dark:block"${ssrRenderAttr("src", _ctx.$page.props.settings?.logo_dark)}${ssrRenderAttr("alt", _ctx.$page.props.settings?.name)}>`);
          } else {
            _push(`<!---->`);
          }
          _push(`<!--]-->`);
        }
        _push(`</div><div class="mb-8 flex items-start justify-between gap-3"><div class="flex w-3/5 flex-col"><div class="text-lg font-semibold">${ssrInterpolate(__props.record.store?.name)}</div><div class="text-sm">${ssrInterpolate(_ctx.$address(__props.record.store))}</div>`);
        if (__props.record.store?.phone) {
          _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Phone"))}: ${ssrInterpolate(__props.record.store.phone)}</div>`);
        } else {
          _push(`<!---->`);
        }
        if (__props.record.store?.email) {
          _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Email"))}: ${ssrInterpolate(__props.record.store.email)}</div>`);
        } else {
          _push(`<!---->`);
        }
        _push(`</div><div class="w-2/5"><div class="mb-1 text-lg font-extrabold uppercase">${ssrInterpolate(typeConfig.value.label)}</div><div class="text-sm">${ssrInterpolate(typeConfig.value.noLabel)}</div><div class="text-sm">${ssrInterpolate(_ctx.$t("Date"))}: ${ssrInterpolate(_ctx.$date(__props.record.date || __props.record.created_at))}</div><div class="text-sm">${ssrInterpolate(_ctx.$t("Created at"))}: ${ssrInterpolate(_ctx.$datetime(__props.record.created_at))}</div><div class="flex gap-1 text-sm">${ssrInterpolate(_ctx.$t("Reference"))}: <p class="truncate hover:text-clip print:block print:text-clip" dir="rtl">${ssrInterpolate(__props.record.reference)}</p></div></div></div>`);
        if (__props.record.items) {
          _push(`<div class="overflow-x-auto"><table class="w-full divide-y divide-gray-200 dark:divide-gray-700 print:divide-gray-400 dark:print:divide-gray-400"><thead><tr><th class="w-7 p-2 text-center font-bold uppercase">#</th><th class="p-2 text-start font-bold uppercase">${ssrInterpolate(_ctx.$t("Description"))}</th><th class="p-2 text-start font-bold uppercase">${ssrInterpolate(_ctx.$t("Rack"))}</th><th class="w-[80px] p-2 text-center font-bold uppercase">${ssrInterpolate(_ctx.$t("Qty"))}</th></tr></thead><!--[-->`);
          ssrRenderList(__props.record.items, (item2, index) => {
            _push(`<!--[-->`);
            if (item2.variations && item2.variations.length) {
              _push(`<tbody><tr><td class="w-7 p-2 text-end">${ssrInterpolate(index + 1)}</td><td class="p-2">${ssrInterpolate(item2.product.name)}</td><td class="p-2"></td><td class="p-2"></td></tr><!--[-->`);
              ssrRenderList(item2.variations, (variation2) => {
                _push(`<tr><td class="w-7"></td><td class="p-2">${ssrInterpolate(_ctx.$meta(variation2.meta))}</td><td class="p-2 font-bold">${ssrInterpolate(variation2.pivot.rack_location || item2.product.rack_location || "")}</td><td class="p-2 text-end">${ssrInterpolate(_ctx.$number_qty(variation2.pivot.quantity))}</td></tr>`);
              });
              _push(`<!--]--></tbody>`);
            } else {
              _push(`<tbody class="divide-y divide-gray-200 border-y border-gray-200 dark:divide-gray-700 dark:border-gray-700 print:divide-gray-400 dark:print:divide-gray-400"><tr><td class="w-7 p-2 text-end">${ssrInterpolate(index + 1)}</td><td class="p-2">${ssrInterpolate(item2.product.name)}</td><td class="p-2 font-bold">${ssrInterpolate(item2.product.type == "Service" ? "" : item2.product.rack_location || "")}</td><td class="p-2 text-end">${ssrInterpolate(_ctx.$number_qty(item2.quantity))}</td></tr></tbody>`);
            }
            _push(`<!--]-->`);
          });
          _push(`<!--]--><tfoot class="divide-y divide-gray-200 dark:divide-gray-700"><tr><th colspan="3" class="p-2 text-end text-lg font-bold">${ssrInterpolate(_ctx.$t("Total Items"))}</th><th class="p-2 text-end text-lg font-bold">${ssrInterpolate(_ctx.$decimal_qty(__props.record.items.reduce((a2, i2) => Number(i2.quantity) + a2, 0)))}</th></tr></tfoot></table></div>`);
        } else {
          _push(`<!---->`);
        }
        _push(`</div><!--]-->`);
      } else {
        _push(`<div${ssrRenderAttrs(mergeProps({ class: "flex min-h-64 items-center justify-center p-6 text-lg font-thin" }, _attrs))}>${ssrInterpolate(_ctx.$t("No data found, the record might not belong to the selected store."))}</div>`);
      }
    };
  }
};
const _sfc_setup$5 = _sfc_main$5.setup;
_sfc_main$5.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Templates/PackingList.vue");
  return _sfc_setup$5 ? _sfc_setup$5(props, ctx) : void 0;
};
const _sfc_main$4 = {
  __name: "TemplateMinimal",
  __ssrInlineRender: true,
  props: {
    record: { type: Object, required: true },
    type: { type: String, required: true },
    xfetch: { type: Boolean, default: false },
    editRow: { type: Function, default: null }
  },
  setup(__props) {
    const { t: t3 } = useI18n();
    const props = __props;
    const typeConfig = computed(() => {
      const configs = {
        sale: {
          label: t3("Sale"),
          noLabel: t3("{x} No.", { x: t3("Sale") }),
          permission: "update-sales",
          personLabel: t3("Sell To"),
          showPerson: true,
          personField: "customer",
          showAddress: true,
          showItems: true,
          showPayments: true,
          showPaid: true,
          showBalance: true,
          priceField: "price"
        },
        quotation: {
          label: t3("Quotation"),
          noLabel: t3("{x} No.", { x: t3("Quotation") }),
          permission: "update-quotations",
          personLabel: t3("Quote To"),
          showPerson: true,
          personField: "customer",
          showAddress: true,
          showItems: true,
          showPayments: false,
          showPaid: false,
          showBalance: false,
          priceField: "price"
        },
        purchase: {
          label: t3("Purchase"),
          noLabel: t3("{x} No.", { x: t3("Purchase") }),
          permission: "update-purchases",
          personLabel: t3("Purchase From"),
          showPerson: true,
          personField: "supplier",
          showAddress: false,
          showItems: true,
          showPayments: true,
          showPaid: false,
          showBalance: false,
          priceField: "cost"
        },
        payment: {
          label: t3("Payment"),
          noLabel: t3("{x} No.", { x: t3("Payment") }),
          permission: "update-payments",
          personLabel: t3("From"),
          showPerson: true,
          personField: "customer",
          showAddress: false,
          showItems: false,
          showPayments: false,
          showPaid: false,
          showBalance: false
        },
        expense: {
          label: t3("Expense"),
          noLabel: t3("{x} No.", { x: t3("Expense") }),
          permission: "update-expenses",
          personLabel: t3("Order To"),
          showPerson: true,
          personField: "supplier",
          showAddress: false,
          showItems: false,
          showPayments: false,
          showPaid: false,
          showBalance: false
        },
        transfer: {
          label: t3("Transfer"),
          noLabel: t3("{x} No.", { x: t3("Transfer") }),
          permission: "update-transfers",
          personLabel: t3("Transfer To"),
          showPerson: true,
          personField: "to_store",
          showAddress: false,
          showItems: true,
          showPayments: false,
          showPaid: false,
          showBalance: false,
          showPrices: false
        },
        adjustment: {
          label: t3("Adjustment"),
          noLabel: t3("{x} No.", { x: t3("Adjustment") }),
          permission: "update-adjustments",
          showPerson: false,
          showAddress: false,
          showItems: true,
          showPayments: false,
          showPaid: false,
          showBalance: false,
          showPrices: false
        },
        return_order: {
          label: t3("Return Order"),
          noLabel: t3("{x} No.", { x: t3("Return Order") }),
          permission: "update-return-orders",
          personLabel: props.record?.type === "Purchase" ? t3("Returned To") : t3("Returned From"),
          showPerson: true,
          personField: props.record?.type === "Purchase" ? "supplier" : "customer",
          showAddress: false,
          showItems: true,
          showPayments: false,
          showPaid: false,
          showBalance: false,
          priceField: props.record?.type === "Purchase" ? "cost" : "price"
        },
        delivery: {
          label: t3("Delivery"),
          noLabel: t3("{x} No.", { x: t3("Delivery Order") }),
          permission: "update-deliveries",
          personLabel: t3("Deliver To"),
          showPerson: true,
          personField: "customer",
          showAddress: true,
          showItems: false,
          showPayments: false,
          showPaid: false,
          showBalance: false
        }
      };
      return configs[props.type] || configs.sale;
    });
    const person = computed(() => {
      if (!typeConfig.value.showPerson || !typeConfig.value.personField) return null;
      return props.record[typeConfig.value.personField];
    });
    return (_ctx, _push, _parent, _attrs) => {
      const _component_Icon = resolveComponent("Icon");
      _push(`<div${ssrRenderAttrs(mergeProps({ class: "font-mono text-sm" }, _attrs))}>`);
      if (!__props.xfetch) {
        _push(`<!--[--><span class="absolute end-12 top-4 inline-flex items-center gap-x-4 sm:end-14 print:hidden"><button type="button" class="link -m-2 p-2">`);
        _push(ssrRenderComponent(_component_Icon, {
          name: "print-o",
          class: "size-5"
        }, null, _parent));
        _push(`</button>`);
        if (__props.editRow && _ctx.$can(typeConfig.value.permission)) {
          _push(`<button type="button" class="link -m-2 p-2">`);
          _push(ssrRenderComponent(_component_Icon, {
            name: "edit-o",
            class: "size-5"
          }, null, _parent));
          _push(`</button>`);
        } else {
          _push(`<!---->`);
        }
        _push(`</span><div class="border-b border-gray-200 px-4 py-4 sm:px-6 dark:border-gray-700 print:hidden"><div class="sm:flex sm:items-baseline sm:justify-between"><div class="sm:w-0 sm:flex-1"><h1 class="text-focus text-base font-semibold">${ssrInterpolate(typeConfig.value.label)} #${ssrInterpolate(__props.record?.id)} (${ssrInterpolate(__props.record?.reference)})</h1><p class="text-mute mt-1 truncate text-sm">${ssrInterpolate(_ctx.$t("Please view the details below"))}</p></div></div></div><!--]-->`);
      } else {
        _push(`<!---->`);
      }
      _push(`<div class="mx-auto mb-1 max-h-16 max-w-60 px-4">`);
      if (__props.record.store?.logo) {
        _push(`<img class="h-16 max-w-full"${ssrRenderAttr("src", __props.record.store.logo)}${ssrRenderAttr("alt", __props.record.store.name)}>`);
      } else {
        _push(`<!--[-->`);
        if (_ctx.$page.props.settings?.logo) {
          _push(`<img${ssrRenderAttr("alt", _ctx.$page.props.settings?.name)}${ssrRenderAttr("src", _ctx.$page.props.settings?.logo)} class="h-16 max-w-full dark:hidden print:block!">`);
        } else {
          _push(`<!---->`);
        }
        if (_ctx.$page.props.settings?.logo_dark) {
          _push(`<img${ssrRenderAttr("alt", _ctx.$page.props.settings?.name)}${ssrRenderAttr("src", _ctx.$page.props.settings?.logo_dark)} class="hidden h-16 max-w-full dark:block print:hidden!">`);
        } else {
          _push(`<!---->`);
        }
        _push(`<!--]-->`);
      }
      _push(`</div><div class="px-4 py-2 text-center"><div class="text-sm font-bold">${ssrInterpolate(__props.record.store?.name)}</div><div>${ssrInterpolate(_ctx.$address(__props.record.store))}</div>`);
      if (__props.record.store?.phone) {
        _push(`<div>${ssrInterpolate(_ctx.$t("Phone"))}: ${ssrInterpolate(__props.record.store.phone)}</div>`);
      } else {
        _push(`<!---->`);
      }
      if (__props.record.store?.email) {
        _push(`<div>${ssrInterpolate(_ctx.$t("Email"))}: ${ssrInterpolate(__props.record.store.email)}</div>`);
      } else {
        _push(`<!---->`);
      }
      _push(`</div><div class="border-t border-dashed border-gray-400 px-4 py-2 dark:border-gray-600"><div class="flex justify-between"><span>${ssrInterpolate(typeConfig.value.noLabel)}:</span><span>#${ssrInterpolate(__props.record.id)}</span></div><div class="flex justify-between"><span>${ssrInterpolate(_ctx.$t("Ref"))}:</span><span>${ssrInterpolate(__props.record.reference)}</span></div><div class="flex justify-between"><span>${ssrInterpolate(_ctx.$t("Date"))}:</span><span>${ssrInterpolate(_ctx.$date(__props.record.date || __props.record.created_at))}</span></div></div>`);
      if (person.value) {
        _push(`<div class="flex w-full gap-6 px-4 py-4"><div class=""><h2 class="mb-1 text-xs font-bold">${ssrInterpolate(typeConfig.value.personLabel)}</h2><div class="font-semibold">${ssrInterpolate(person.value.company || person.value.name)}</div>`);
        if (person.value.company) {
          _push(`<div class="font-semibold">${ssrInterpolate(_ctx.$t("Attn"))}: ${ssrInterpolate(person.value.name)}</div>`);
        } else {
          _push(`<!---->`);
        }
        _push(`<div class="text-sm">${ssrInterpolate(_ctx.$address(person.value))}</div>`);
        if (person.value.phone) {
          _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Phone"))}: ${ssrInterpolate(person.value.phone)}</div>`);
        } else {
          _push(`<!---->`);
        }
        if (person.value.email) {
          _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Email"))}: ${ssrInterpolate(person.value.email)}</div>`);
        } else {
          _push(`<!---->`);
        }
        _push(`</div>`);
        if (typeConfig.value.showAddress && __props.record.address) {
          _push(`<div><h2 class="mb-1 text-xs font-bold">${ssrInterpolate(_ctx.$t("Ship To"))}</h2><div class="font-semibold">${ssrInterpolate(__props.record.address.company || __props.record.address.name)}</div>`);
          if (__props.record.address.company) {
            _push(`<div class="font-semibold">${ssrInterpolate(_ctx.$t("Attn"))}: ${ssrInterpolate(__props.record.address.name)}</div>`);
          } else {
            _push(`<!---->`);
          }
          _push(`<div class="text-sm">${ssrInterpolate(_ctx.$address(__props.record.address))}</div>`);
          if (__props.record.address.phone) {
            _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Phone"))}: ${ssrInterpolate(__props.record.address.phone)}</div>`);
          } else {
            _push(`<!---->`);
          }
          if (__props.record.address.email) {
            _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Email"))}: ${ssrInterpolate(__props.record.address.email)}</div>`);
          } else {
            _push(`<!---->`);
          }
          _push(`</div>`);
        } else {
          _push(`<!---->`);
        }
        _push(`</div>`);
      } else {
        _push(`<!---->`);
      }
      ssrRenderSlot(_ctx.$slots, "content", {
        record: __props.record,
        typeConfig: typeConfig.value
      }, null, _push, _parent);
      if (typeConfig.value.showItems && __props.record.items) {
        _push(`<!--[--><div class="border-t border-dashed border-gray-400 px-4 py-2 dark:border-gray-600"><table class="w-full"><thead><tr class="border-b border-dashed border-gray-300 dark:border-gray-600"><th class="py-1 text-start">#</th><th class="py-1 text-start">${ssrInterpolate(_ctx.$t("Item"))}</th><th class="py-1 text-end">${ssrInterpolate(_ctx.$t("Qty"))}</th>`);
        if (typeConfig.value.showPrices !== false) {
          _push(`<!--[--><th class="py-1 text-end">${ssrInterpolate(_ctx.$t("Price"))}</th><th class="py-1 text-end">${ssrInterpolate(_ctx.$t("Total"))}</th><!--]-->`);
        } else {
          _push(`<!---->`);
        }
        _push(`</tr></thead><tbody><!--[-->`);
        ssrRenderList(__props.record.items, (item2, index) => {
          _push(`<!--[-->`);
          if (item2.variations && item2.variations.length) {
            _push(`<!--[--><tr><td class="py-0.5">${ssrInterpolate(index + 1)}</td><td colspan="4" class="py-0.5 font-semibold">${ssrInterpolate(item2.product?.name || "")}</td></tr><!--[-->`);
            ssrRenderList(item2.variations, (v2) => {
              _push(`<tr><td></td><td class="truncate py-0.5 ps-1">${ssrInterpolate(_ctx.$meta(v2.meta))}</td><td class="py-0.5 text-end">${ssrInterpolate(_ctx.$number_qty(v2.pivot.quantity))}</td>`);
              if (typeConfig.value.showPrices !== false) {
                _push(`<!--[--><td class="py-0.5 text-end">${ssrInterpolate(_ctx.$number(v2.pivot[typeConfig.value.priceField]))}</td><td class="py-0.5 text-end">${ssrInterpolate(_ctx.$number(v2.pivot.total))}</td><!--]-->`);
              } else {
                _push(`<!---->`);
              }
              _push(`</tr>`);
            });
            _push(`<!--]--><!--]-->`);
          } else {
            _push(`<tr><td class="py-0.5">${ssrInterpolate(index + 1)}</td><td class="truncate py-0.5">${ssrInterpolate(item2.product?.name || item2.comment || "")}</td><td class="py-0.5 text-end">${ssrInterpolate(_ctx.$number_qty(item2.quantity))}</td>`);
            if (typeConfig.value.showPrices !== false) {
              _push(`<!--[--><td class="py-0.5 text-end">${ssrInterpolate(_ctx.$number(item2[typeConfig.value.priceField]))}</td><td class="py-0.5 text-end">${ssrInterpolate(_ctx.$number(item2.total))}</td><!--]-->`);
            } else {
              _push(`<!---->`);
            }
            _push(`</tr>`);
          }
          _push(`<!--]-->`);
        });
        _push(`<!--]--></tbody></table></div><div class="border-t border-dashed border-gray-400 px-4 py-2 dark:border-gray-600">`);
        if (typeConfig.value.showPrices !== false) {
          _push(`<!--[-->`);
          if (_ctx.$decimal(__props.record.total_discount_amount, true) > 0) {
            _push(`<div class="flex justify-end gap-4"><span>${ssrInterpolate(_ctx.$t("Discount"))}:</span><span class="w-20 text-end">${ssrInterpolate(_ctx.$currency(__props.record.total_discount_amount))}</span></div>`);
          } else {
            _push(`<!---->`);
          }
          if (_ctx.$decimal(__props.record.total_tax_amount, true) > 0) {
            _push(`<!--[--><div class="flex justify-end gap-4"><span>${ssrInterpolate(_ctx.$t("Subtotal"))}:</span><span class="w-20 text-end">${ssrInterpolate(_ctx.$currency(__props.record.subtotal))}</span></div><div class="flex justify-end gap-4"><span>${ssrInterpolate(_ctx.$t("Tax"))}:</span><span class="w-20 text-end">${ssrInterpolate(_ctx.$currency(__props.record.total_tax_amount))}</span></div><!--]-->`);
          } else {
            _push(`<!---->`);
          }
          _push(`<div class="flex justify-end gap-4 font-bold"><span>${ssrInterpolate(_ctx.$t("Total"))}:</span><span class="w-20 text-end">${ssrInterpolate(_ctx.$currency(__props.record.grand_total))}</span></div>`);
          if (typeConfig.value.showPaid) {
            _push(`<div class="flex justify-end gap-4"><span>${ssrInterpolate(_ctx.$t("Paid"))}:</span><span class="w-20 text-end">${ssrInterpolate(_ctx.$currency(__props.record.paid))}</span></div>`);
          } else {
            _push(`<!---->`);
          }
          if (typeConfig.value.showBalance) {
            _push(`<div class="flex justify-end gap-4 font-bold"><span>${ssrInterpolate(_ctx.$t("Balance"))}:</span><span class="w-20 text-end">${ssrInterpolate(_ctx.$currency(__props.record.grand_total - __props.record.paid))}</span></div>`);
          } else {
            _push(`<!---->`);
          }
          _push(`<!--]-->`);
        } else {
          _push(`<div class="flex justify-center gap-4 font-bold"><span>${ssrInterpolate(_ctx.$t("Total Quantity"))}:</span><span class="w-20 text-center">${ssrInterpolate(_ctx.$number_qty(__props.record.items.reduce((a2, i2) => Number(i2.quantity) + a2, 0)))}</span></div>`);
        }
        _push(`</div><!--]-->`);
      } else {
        _push(`<!---->`);
      }
      ssrRenderSlot(_ctx.$slots, "amount", { record: __props.record }, null, _push, _parent);
      if (__props.record.details) {
        _push(`<div class="mb-4 px-4 pt-6 text-center text-sm">${ssrInterpolate(__props.record.details)}</div>`);
      } else {
        _push(`<!---->`);
      }
      if (typeConfig.value.showPayments && __props.record.payments && __props.record.payments.length) {
        _push(`<div class="border-t border-dashed border-gray-400 px-4 py-2 dark:border-gray-600 print:hidden"><div class="mb-1 font-bold">${ssrInterpolate(_ctx.$t("Payments"))}</div><!--[-->`);
        ssrRenderList(__props.record.payments, (p2) => {
          _push(`<div class="flex justify-between"><span>${ssrInterpolate(_ctx.$date(p2.date))} ${ssrInterpolate(_ctx.$t(p2.method))}</span><span>${ssrInterpolate(_ctx.$currency(p2.amount))}</span></div>`);
        });
        _push(`<!--]--></div>`);
      } else {
        _push(`<!---->`);
      }
      _push(`</div>`);
    };
  }
};
const _sfc_setup$4 = _sfc_main$4.setup;
_sfc_main$4.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Templates/TemplateMinimal.vue");
  return _sfc_setup$4 ? _sfc_setup$4(props, ctx) : void 0;
};
const _sfc_main$3 = {
  __name: "TemplateOne",
  __ssrInlineRender: true,
  props: {
    record: { type: Object, required: true },
    type: { type: String, required: true },
    custom_fields: { type: Array, default: () => [] },
    editRow: { type: Function, default: null },
    xfetch: { type: Boolean, default: false },
    qrUrl: { type: String, default: null },
    showPackingList: { type: Boolean, default: false }
  },
  setup(__props) {
    const { t: t3 } = useI18n();
    const page = usePage();
    const props = __props;
    const colspan = ref(4);
    const qrcode = ref(null);
    const packing = ref(false);
    const typeConfig = computed(() => {
      const configs = {
        sale: {
          label: t3("Sale"),
          noLabel: t3("Sale No. {x}", { x: props.record?.id }),
          permission: "update-sales",
          personLabel: t3("Sell To"),
          showPerson: true,
          personField: "customer",
          showAddress: true,
          showItems: true,
          showPayments: true,
          showPaid: true,
          showBalance: true,
          priceField: "price",
          quantityField: "quantity"
        },
        quotation: {
          label: t3("Quotation"),
          noLabel: t3("Quotation No. {x}", { x: props.record?.id }),
          permission: "update-quotations",
          personLabel: t3("Quote To"),
          showPerson: true,
          personField: "customer",
          showAddress: true,
          showItems: true,
          showPayments: false,
          showPaid: false,
          showBalance: false,
          priceField: "price",
          quantityField: "quantity"
        },
        purchase: {
          label: t3("Purchase"),
          noLabel: t3("Purchase No. {x}", { x: props.record?.id }),
          permission: "update-purchases",
          personLabel: t3("Purchase From"),
          showPerson: true,
          personField: "supplier",
          showAddress: false,
          showItems: true,
          showPayments: true,
          showPaid: false,
          showBalance: false,
          priceField: "cost",
          quantityField: "quantity"
        },
        payment: {
          label: t3("Payment"),
          noLabel: t3("Payment No. {x}", { x: props.record?.id }),
          permission: "update-payments",
          personLabel: t3("From"),
          showPerson: true,
          personField: "customer",
          showAddress: false,
          showItems: false,
          showPayments: false,
          showPaid: false,
          showBalance: false
        },
        expense: {
          label: t3("Expense"),
          noLabel: t3("Expense No. {x}", { x: props.record?.id }),
          permission: "update-expenses",
          personLabel: t3("Order To"),
          showPerson: true,
          personField: "supplier",
          showAddress: false,
          showItems: false,
          showPayments: false,
          showPaid: false,
          showBalance: false
        },
        transfer: {
          label: t3("Transfer"),
          noLabel: t3("Transfer No. {x}", { x: props.record?.id }),
          permission: "update-transfers",
          personLabel: t3("Transfer To"),
          showPerson: true,
          personField: "to_store",
          showAddress: false,
          showItems: true,
          showPayments: false,
          showPaid: false,
          showBalance: false,
          showPrices: false,
          quantityField: "quantity"
        },
        adjustment: {
          label: t3("Adjustment"),
          noLabel: t3("Adjustment No. {x}", { x: props.record?.id }),
          permission: "update-adjustments",
          showPerson: false,
          showAddress: false,
          showItems: true,
          showPayments: false,
          showPaid: false,
          showBalance: false,
          showPrices: false,
          quantityField: "quantity"
        },
        return_order: {
          label: t3("Return Order"),
          noLabel: t3("Return Order No. {x}", { x: props.record?.id }),
          permission: "update-return-orders",
          personLabel: props.record?.type === "Purchase" ? t3("Returned To") : t3("Returned From"),
          showPerson: true,
          personField: props.record?.type === "Purchase" ? "supplier" : "customer",
          showAddress: false,
          showItems: true,
          showPayments: false,
          showPaid: false,
          showBalance: false,
          priceField: props.record?.type === "Purchase" ? "cost" : "price",
          quantityField: "quantity"
        },
        delivery: {
          label: t3("Delivery"),
          noLabel: t3("Delivery Order No. {x}", { x: props.record?.id }),
          permission: "update-deliveries",
          personLabel: t3("Deliver To"),
          showPerson: true,
          personField: "customer",
          showAddress: true,
          showItems: false,
          showPayments: false,
          showPaid: false,
          showBalance: false
        }
      };
      return configs[props.type] || configs.sale;
    });
    const person = computed(() => {
      if (!typeConfig.value.showPerson || !typeConfig.value.personField) return null;
      return props.record[typeConfig.value.personField];
    });
    onMounted(async () => {
      if (page.props.settings.show_discount == 1) {
        colspan.value++;
      }
      if (page.props.settings.show_tax == 1) {
        colspan.value++;
      }
      await nextTick();
      if (props.qrUrl) {
        qrcode.value = await generateQR(props.qrUrl);
      }
      JsBarcode(".barcode").init();
    });
    async function generateQR(text) {
      try {
        return await QRCode.toString(text, { type: "svg" });
      } catch (err) {
        console.error(err);
        return `<span class="text-red-500">${err.toString()}</span>`;
      }
    }
    return (_ctx, _push, _parent, _attrs) => {
      const _component_Icon = resolveComponent("Icon");
      _push(`<div${ssrRenderAttrs(_attrs)}>`);
      if (!__props.xfetch) {
        _push(`<!--[--><span class="absolute end-12 top-4 inline-flex items-center gap-x-4 sm:end-14 print:hidden"><button type="button" class="link -m-2 p-2">`);
        _push(ssrRenderComponent(_component_Icon, {
          name: "print-o",
          class: "size-5"
        }, null, _parent));
        _push(`</button>`);
        if (__props.showPackingList) {
          _push(`<button type="button" class="link -m-2 p-2">`);
          _push(ssrRenderComponent(_component_Icon, {
            name: "archive",
            class: "size-5"
          }, null, _parent));
          _push(`</button>`);
        } else {
          _push(`<!---->`);
        }
        if (__props.editRow && _ctx.$can(typeConfig.value.permission)) {
          _push(`<button type="button" class="link -m-2 p-2">`);
          _push(ssrRenderComponent(_component_Icon, {
            name: "edit-o",
            class: "size-5"
          }, null, _parent));
          _push(`</button>`);
        } else {
          _push(`<!---->`);
        }
        _push(`</span><div class="border-b border-gray-200 px-4 py-4 sm:px-6 dark:border-gray-700 print:hidden"><div class="sm:flex sm:items-baseline sm:justify-between"><div class="sm:w-0 sm:flex-1"><h1 class="text-focus text-base font-semibold">${ssrInterpolate(typeConfig.value.label)} #${ssrInterpolate(__props.record?.id)} (${ssrInterpolate(__props.record?.reference)})</h1><p class="text-mute mt-1 truncate text-sm">${ssrInterpolate(_ctx.$t("Please view the details below"))}</p></div></div></div><!--]-->`);
      } else {
        _push(`<!---->`);
      }
      ssrRenderSlot(_ctx.$slots, "alerts", {}, null, _push, _parent);
      _push(`<div class="mt-4 px-6 py-4 print:m-0 print:py-0"><div class="mb-1 max-h-16 max-w-[250px]">`);
      if (__props.record.store?.logo) {
        _push(`<img class="h-16 max-w-full"${ssrRenderAttr("src", __props.record.store.logo)}${ssrRenderAttr("alt", __props.record.store.name)}>`);
      } else {
        _push(`<!--[-->`);
        if (_ctx.$page.props.settings?.logo) {
          _push(`<img${ssrRenderAttr("alt", _ctx.$page.props.settings?.name)}${ssrRenderAttr("src", _ctx.$page.props.settings?.logo)} class="h-16 max-w-full dark:hidden print:block!">`);
        } else {
          _push(`<!---->`);
        }
        if (_ctx.$page.props.settings?.logo_dark) {
          _push(`<img${ssrRenderAttr("alt", _ctx.$page.props.settings?.name)}${ssrRenderAttr("src", _ctx.$page.props.settings?.logo_dark)} class="hidden h-16 max-w-full dark:block print:hidden!">`);
        } else {
          _push(`<!---->`);
        }
        _push(`<!--]-->`);
      }
      _push(`</div><div class="flex items-start justify-between gap-3"><div class="flex w-3/5 flex-col"><div class="text-lg font-semibold">${ssrInterpolate(__props.record.store?.name)}</div><div class="text-sm">${ssrInterpolate(_ctx.$address(__props.record.store))}</div>`);
      if (__props.record.store?.phone) {
        _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Phone"))}: ${ssrInterpolate(__props.record.store.phone)}</div>`);
      } else {
        _push(`<!---->`);
      }
      if (__props.record.store?.email) {
        _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Email"))}: ${ssrInterpolate(__props.record.store.email)}</div>`);
      } else {
        _push(`<!---->`);
      }
      _push(`</div><div class="w-2/5"><div class="mb-1 text-lg font-extrabold uppercase">${ssrInterpolate(typeConfig.value.label)}</div><div class="text-sm">${ssrInterpolate(typeConfig.value.noLabel)}</div><div class="text-sm">${ssrInterpolate(_ctx.$t("Date"))}: ${ssrInterpolate(_ctx.$date(__props.record.date || __props.record.created_at))}</div><div class="text-sm">${ssrInterpolate(_ctx.$t("Created at"))}: ${ssrInterpolate(_ctx.$datetime(__props.record.created_at))}</div><div class="flex gap-1 text-sm">${ssrInterpolate(_ctx.$t("Reference"))}: <p class="truncate hover:text-clip print:block print:text-clip" dir="rtl">${ssrInterpolate(__props.record.reference)}</p></div>`);
      if (__props.record.due_date) {
        _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Due Date"))}: ${ssrInterpolate(_ctx.$date(__props.record.due_date))}</div>`);
      } else {
        _push(`<!---->`);
      }
      _push(`</div></div>`);
      if (__props.qrUrl) {
        _push(`<div class="mt-6 flex items-center justify-center gap-6"><div class="bc-image h-[80px] overflow-hidden rounded"><svg class="barcode"${ssrRenderAttr("jsbarcode-width", 1)}${ssrRenderAttr("jsbarcode-margin", 5)}${ssrRenderAttr("jsbarcode-height", 70)}${ssrRenderAttr("jsbarcode-fontsize", 12)}${ssrRenderAttr("jsbarcode-textmargin", 3)} jsbarcode-format="CODE128" jsbarcode-fontoptions="bold"${ssrRenderAttr("jsbarcode-displayvalue", false)}${ssrRenderAttr("jsbarcode-value", __props.record.reference)}></svg></div><div class="qr-image qrcode h-[80px] overflow-hidden rounded">${qrcode.value ?? ""}</div></div>`);
      } else {
        _push(`<!---->`);
      }
      if (person.value) {
        _push(`<div class="mt-6 flex w-full gap-6"><div class=""><h2 class="mb-1 text-xs font-bold">${ssrInterpolate(typeConfig.value.personLabel)}</h2><div class="text-lg font-semibold">${ssrInterpolate(person.value.company || person.value.name)}</div><div class="text-sm">${ssrInterpolate(_ctx.$address(person.value))}</div>`);
        if (person.value.phone) {
          _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Phone"))}: ${ssrInterpolate(person.value.phone)}</div>`);
        } else {
          _push(`<!---->`);
        }
        if (person.value.email) {
          _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Email"))}: ${ssrInterpolate(person.value.email)}</div>`);
        } else {
          _push(`<!---->`);
        }
        _push(`</div>`);
        if (typeConfig.value.showAddress && __props.record.address) {
          _push(`<div><h2 class="mb-1 text-xs font-bold">${ssrInterpolate(_ctx.$t("Ship To"))}</h2><div class="text-lg font-semibold">${ssrInterpolate(__props.record.address.company || __props.record.address.name)}</div><div class="text-sm">${ssrInterpolate(_ctx.$address(__props.record.address))}</div>`);
          if (__props.record.address.phone) {
            _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Phone"))}: ${ssrInterpolate(__props.record.address.phone)}</div>`);
          } else {
            _push(`<!---->`);
          }
          if (__props.record.address.email) {
            _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Email"))}: ${ssrInterpolate(__props.record.address.email)}</div>`);
          } else {
            _push(`<!---->`);
          }
          _push(`</div>`);
        } else {
          _push(`<!---->`);
        }
        _push(`</div>`);
      } else {
        _push(`<!---->`);
      }
      _push(`<div class="mt-6">`);
      ssrRenderSlot(_ctx.$slots, "content", {
        record: __props.record,
        typeConfig: typeConfig.value
      }, null, _push, _parent);
      _push(`</div>`);
      if (typeConfig.value.showItems && __props.record.items) {
        _push(`<div class="overflow-x-auto"><table class="w-full divide-y divide-gray-200 dark:divide-gray-700 print:divide-gray-400 dark:print:divide-gray-400"><thead><tr><th class="w-7 p-2 text-center font-bold uppercase">#</th><th class="p-2 text-start font-bold uppercase">${ssrInterpolate(_ctx.$t("Description"))}</th>`);
        if (typeConfig.value.showPrices !== false) {
          _push(`<th class="w-[120px] p-2 text-center font-bold whitespace-nowrap uppercase">${ssrInterpolate(unref(page).props.settings.show_tax == 1 ? _ctx.$t("Price") : _ctx.$t("Unit Price"))}</th>`);
        } else {
          _push(`<!---->`);
        }
        _push(`<th class="w-[80px] p-2 text-center font-bold uppercase">${ssrInterpolate(_ctx.$t("Qty"))}</th>`);
        if (typeConfig.value.showPrices !== false) {
          _push(`<!--[-->`);
          if (unref(page).props.settings.show_discount == 1) {
            _push(`<th class="w-[80px] p-2 text-center font-bold uppercase">${ssrInterpolate(_ctx.$t("Discount"))}</th>`);
          } else {
            _push(`<!---->`);
          }
          if (unref(page).props.settings.show_tax == 1) {
            _push(`<th class="w-[80px] p-2 text-center font-bold uppercase">${ssrInterpolate(_ctx.$t("Tax"))}</th>`);
          } else {
            _push(`<!---->`);
          }
          _push(`<th class="w-[120px] p-2 text-center font-bold uppercase">${ssrInterpolate(_ctx.$t("Total"))}</th><!--]-->`);
        } else {
          _push(`<!---->`);
        }
        _push(`</tr></thead><!--[-->`);
        ssrRenderList(__props.record.items, (item2, index) => {
          _push(`<!--[-->`);
          if (item2.variations && item2.variations.length) {
            _push(`<tbody><tr><td class="w-7 p-2 text-end">${ssrInterpolate(index + 1)}</td><td class="px-2 py-1"><div class="flex items-center gap-2">`);
            if (item2.product && unref(page).props.settings.show_image == 1) {
              _push(`<!--[-->`);
              if (item2.product.photo) {
                _push(`<img class="h-8 w-8 self-start rounded-xs"${ssrRenderAttr("src", item2.product.photo)} alt="Product Image">`);
              } else {
                _push(`<img class="me-2 h-8 w-8 self-start rounded-xs" src="img/no-image.png" alt="No Image">`);
              }
              _push(`<!--]-->`);
            } else {
              _push(`<!---->`);
            }
            _push(`<div>${ssrInterpolate(item2.product?.name || "")} `);
            if (item2.comment) {
              _push(`<div class="text-xs">${ssrInterpolate(item2.comment)}</div>`);
            } else {
              _push(`<!---->`);
            }
            if (item2.batch_no || item2.expiry_date) {
              _push(`<div class="flex items-center gap-4 text-xs font-bold">`);
              if (item2.batch_no) {
                _push(`<div><span class="text-mute">${ssrInterpolate(_ctx.$t("Batch"))}:</span> ${ssrInterpolate(item2.batch_no)}</div>`);
              } else {
                _push(`<!---->`);
              }
              if (item2.expiry_date) {
                _push(`<div><span class="text-mute">${ssrInterpolate(_ctx.$t("Expiry"))}:</span> ${ssrInterpolate(item2.expiry_date)}</div>`);
              } else {
                _push(`<!---->`);
              }
              _push(`</div>`);
            } else {
              _push(`<!---->`);
            }
            _push(`</div></div></td>`);
            if (typeConfig.value.showPrices !== false) {
              _push(`<td class="p-2"></td>`);
            } else {
              _push(`<!---->`);
            }
            _push(`<td class="p-2 text-end"></td>`);
            if (typeConfig.value.showPrices !== false) {
              _push(`<!--[-->`);
              if (unref(page).props.settings.show_discount == 1) {
                _push(`<td class="p-2 text-end"></td>`);
              } else {
                _push(`<!---->`);
              }
              if (unref(page).props.settings.show_tax == 1) {
                _push(`<td class="p-2"></td>`);
              } else {
                _push(`<!---->`);
              }
              _push(`<td class="p-2"></td><!--]-->`);
            } else {
              _push(`<!---->`);
            }
            _push(`</tr><!--[-->`);
            ssrRenderList(item2.variations, (variation2) => {
              _push(`<tr><td class="w-7"></td><td class="p-2">${ssrInterpolate(_ctx.$meta(variation2.meta))}</td>`);
              if (typeConfig.value.showPrices !== false) {
                _push(`<td class="p-2 text-end">${ssrInterpolate(_ctx.$number(variation2.pivot[typeConfig.value.priceField]))}</td>`);
              } else {
                _push(`<!---->`);
              }
              _push(`<td class="p-2 text-center"><div class="flex items-center justify-center">${ssrInterpolate(_ctx.$number_qty(variation2.pivot.quantity))}${ssrInterpolate(variation2.pivot?.unit?.code || "")}</div></td>`);
              if (typeConfig.value.showPrices !== false) {
                _push(`<!--[-->`);
                if (unref(page).props.settings.show_discount == 1) {
                  _push(`<td class="p-2 text-end">${ssrInterpolate(_ctx.$number(variation2.pivot.discount_amount))}</td>`);
                } else {
                  _push(`<!---->`);
                }
                if (unref(page).props.settings.show_tax == 1) {
                  _push(`<td class="p-2 text-end">${ssrInterpolate(_ctx.$number(variation2.pivot.tax_amount))}</td>`);
                } else {
                  _push(`<!---->`);
                }
                _push(`<td class="p-2 text-end font-bold">${ssrInterpolate(_ctx.$number(variation2.pivot.total))}</td><!--]-->`);
              } else {
                _push(`<!---->`);
              }
              _push(`</tr>`);
            });
            _push(`<!--]--></tbody>`);
          } else {
            _push(`<tbody class="divide-y divide-gray-200 border-y border-gray-200 dark:divide-gray-700 dark:border-gray-700 print:divide-gray-400 dark:print:divide-gray-400"><tr><td class="w-7 p-2 text-end">${ssrInterpolate(index + 1)}</td><td class="px-2 py-1"><div class="flex items-center gap-2">`);
            if (item2.product && unref(page).props.settings.show_image == 1) {
              _push(`<!--[-->`);
              if (item2.product.photo) {
                _push(`<img class="h-8 w-8 self-start rounded-xs"${ssrRenderAttr("src", item2.product.photo)} alt="Product Image">`);
              } else {
                _push(`<img class="me-2 h-8 w-8 self-start rounded-xs" src="img/no-image.png" alt="No Image">`);
              }
              _push(`<!--]-->`);
            } else {
              _push(`<!---->`);
            }
            _push(`<div>${ssrInterpolate(item2.product?.name || "")} `);
            if (item2.comment) {
              _push(`<div class="${ssrRenderClass(item2.product?.name ? "text-xs" : "")}">${ssrInterpolate(item2.comment)}</div>`);
            } else {
              _push(`<!---->`);
            }
            if (item2.batch_no || item2.expiry_date) {
              _push(`<div class="flex items-center gap-4 text-xs font-bold">`);
              if (item2.batch_no) {
                _push(`<div><span class="text-mute">${ssrInterpolate(_ctx.$t("Batch"))}:</span> ${ssrInterpolate(item2.batch_no)}</div>`);
              } else {
                _push(`<!---->`);
              }
              if (item2.expiry_date) {
                _push(`<div><span class="text-mute">${ssrInterpolate(_ctx.$t("Expiry"))}:</span> ${ssrInterpolate(item2.expiry_date)}</div>`);
              } else {
                _push(`<!---->`);
              }
              _push(`</div>`);
            } else {
              _push(`<!---->`);
            }
            _push(`</div></div></td>`);
            if (typeConfig.value.showPrices !== false) {
              _push(`<td class="p-2 text-end">${ssrInterpolate(_ctx.$number(item2[typeConfig.value.priceField]))}</td>`);
            } else {
              _push(`<!---->`);
            }
            _push(`<td class="p-2 text-center"><div class="flex items-center justify-center">${ssrInterpolate(_ctx.$number_qty(item2.quantity))}${ssrInterpolate(item2.unit?.code || "")}</div></td>`);
            if (typeConfig.value.showPrices !== false) {
              _push(`<!--[-->`);
              if (unref(page).props.settings.show_discount == 1) {
                _push(`<td class="p-2 text-end">${ssrInterpolate(_ctx.$number(item2.discount_amount))}</td>`);
              } else {
                _push(`<!---->`);
              }
              if (unref(page).props.settings.show_tax == 1) {
                _push(`<td class="p-2 text-end">${ssrInterpolate(_ctx.$number(item2.tax_amount))}</td>`);
              } else {
                _push(`<!---->`);
              }
              _push(`<td class="p-2 text-end font-bold">${ssrInterpolate(_ctx.$number(item2.total))}</td><!--]-->`);
            } else {
              _push(`<!---->`);
            }
            _push(`</tr></tbody>`);
          }
          _push(`<!--]-->`);
        });
        _push(`<!--]-->`);
        if (typeConfig.value.showPrices !== false) {
          _push(`<tfoot class="break-inside-avoid divide-y divide-gray-200 dark:divide-gray-700">`);
          if (unref(page).props.settings.show_tax == 1) {
            _push(`<tr><th colspan="3" class="p-2 text-end text-lg font-bold">${ssrInterpolate(_ctx.$t("Total"))}</th><th class="p-2 text-end text-lg font-bold">${ssrInterpolate(_ctx.$decimal_qty(__props.record.items.reduce((a2, i2) => Number(i2.quantity) + a2, 0)))}</th>`);
            if (unref(page).props.settings.show_discount == 1) {
              _push(`<th class="p-2 text-end text-lg font-bold">${ssrInterpolate(_ctx.$currency(__props.record.total_discount_amount))}</th>`);
            } else {
              _push(`<!---->`);
            }
            if (unref(page).props.settings.show_tax == 1) {
              _push(`<th class="p-2 text-end text-lg font-bold">${ssrInterpolate(_ctx.$currency(__props.record.total_tax_amount))}</th>`);
            } else {
              _push(`<!---->`);
            }
            _push(`<th class="p-2 text-end text-lg font-bold">${ssrInterpolate(_ctx.$currency(__props.record.total))}</th></tr>`);
          } else {
            _push(`<!--[-->`);
            if (unref(page).props.settings.show_discount == 1 && Number(__props.record.total_discount_amount) > 0) {
              _push(`<tr><th${ssrRenderAttr("colspan", colspan.value)} class="p-2 text-end text-lg font-bold">${ssrInterpolate(_ctx.$t("Discount"))}</th><th class="p-2 text-end text-lg font-bold">${ssrInterpolate(_ctx.$currency(__props.record.total_discount_amount))}</th></tr>`);
            } else {
              _push(`<!---->`);
            }
            if (_ctx.$decimal(__props.record.total_tax_amount, true) > 0) {
              _push(`<!--[--><tr><th${ssrRenderAttr("colspan", colspan.value)} class="p-2 text-end text-lg font-bold">${ssrInterpolate(_ctx.$t("Subtotal"))}</th><th class="p-2 text-end text-lg font-bold">${ssrInterpolate(_ctx.$currency(__props.record.subtotal))}</th></tr><tr><th${ssrRenderAttr("colspan", colspan.value)} class="p-2 text-end text-lg font-bold">${ssrInterpolate(_ctx.$t("Tax"))}</th><th class="p-2 text-end text-lg font-bold">${ssrInterpolate(_ctx.$currency(__props.record.total_tax_amount))}</th></tr><!--]-->`);
            } else if (unref(page).props.settings.show_zero_taxes == 1) {
              _push(`<tr><th${ssrRenderAttr("colspan", colspan.value)} class="p-2 text-end text-lg font-bold">${ssrInterpolate(_ctx.$t("Tax"))}</th><th class="p-2 text-end text-lg font-bold">${ssrInterpolate(_ctx.$currency(__props.record.total_tax_amount))}</th></tr>`);
            } else {
              _push(`<!---->`);
            }
            _push(`<tr><th${ssrRenderAttr("colspan", colspan.value)} class="p-2 text-end text-lg font-bold">${ssrInterpolate(_ctx.$t("Total"))}</th><th class="p-2 text-end text-lg font-bold">${ssrInterpolate(_ctx.$currency(__props.record.grand_total))}</th></tr>`);
            if (typeConfig.value.showPaid) {
              _push(`<tr><th${ssrRenderAttr("colspan", colspan.value)} class="p-2 text-end text-lg font-bold">${ssrInterpolate(_ctx.$t("Paid"))}</th><th class="p-2 text-end text-lg font-bold">${ssrInterpolate(_ctx.$currency(__props.record.paid))}</th></tr>`);
            } else {
              _push(`<!---->`);
            }
            if (typeConfig.value.showBalance) {
              _push(`<tr><th${ssrRenderAttr("colspan", colspan.value)} class="p-2 text-end text-lg font-bold">${ssrInterpolate(_ctx.$t("Balance"))}</th><th class="p-2 text-end text-lg font-bold">${ssrInterpolate(_ctx.$currency(__props.record.grand_total - __props.record.paid))}</th></tr>`);
            } else {
              _push(`<!---->`);
            }
            _push(`<!--]-->`);
          }
          _push(`</tfoot>`);
        } else {
          _push(`<tfoot><tr><td colspan="2" class="px-2 pt-1 pb-2 text-center font-bold">${ssrInterpolate(_ctx.$t("Total Quantity"))}</td><td class="w-[80px] px-2 pt-1 pb-2 text-center font-bold">${ssrInterpolate(_ctx.$number_qty(__props.record.items.reduce((a2, i2) => Number(i2.quantity) + a2, 0)))}</td></tr></tfoot>`);
        }
        _push(`</table></div>`);
      } else {
        _push(`<!---->`);
      }
      _push(`<div class="-mx-4">`);
      ssrRenderSlot(_ctx.$slots, "amount", { record: __props.record }, null, _push, _parent);
      _push(`</div>`);
      _push(ssrRenderComponent(unref(_sfc_main$7), {
        modal: false,
        fields: __props.custom_fields,
        title: _ctx.$t("Custom Fields"),
        extra_attributes: __props.record.extra_attributes
      }, null, _parent));
      if (__props.record.details) {
        _push(`<div class="mb-4 pt-8">${ssrInterpolate(__props.record.details)}</div>`);
      } else {
        _push(`<!---->`);
      }
      if (__props.record.attachments && __props.record.attachments.length) {
        _push(`<div class="mt-8 w-full py-2 print:hidden">`);
        _push(ssrRenderComponent(unref(_sfc_main$u), {
          attachments: __props.record.attachments
        }, null, _parent));
        _push(`</div>`);
      } else {
        _push(`<!---->`);
      }
      _push(`</div>`);
      if (typeConfig.value.showPayments && __props.record.payments && __props.record.payments.length) {
        _push(`<div class="mx-6 mb-6 rounded-sm border border-gray-200 dark:border-gray-700 print:hidden"><h4 class="border-b border-gray-200 px-4 py-2 text-base font-extrabold dark:border-gray-700">${ssrInterpolate(_ctx.$t("Payments"))}</h4><div class="overflow-x-auto py-1"><table class="w-full divide-y divide-gray-200 text-sm dark:divide-gray-700"><thead><tr><th class="w-[140px] p-2 text-start font-bold uppercase">${ssrInterpolate(_ctx.$t("Date"))}</th><th class="p-2 text-start font-bold uppercase">${ssrInterpolate(_ctx.$t("Reference"))}</th><th class="w-[100px] p-2 text-start font-bold uppercase">${ssrInterpolate(_ctx.$t("Method"))}</th><th class="w-[120px] p-2 text-center font-bold uppercase">${ssrInterpolate(_ctx.$t("Amount"))}</th></tr></thead><tbody><!--[-->`);
        ssrRenderList(__props.record.payments, (p2) => {
          _push(`<tr><td class="p-2 whitespace-nowrap">${ssrInterpolate(_ctx.$date(p2.date))}</td><td class="p-2">${ssrInterpolate(p2.reference)}</td><td class="p-2 whitespace-nowrap">${ssrInterpolate(_ctx.$t(p2.method))}</td><td class="p-2 text-end">${ssrInterpolate(_ctx.$currency(p2.amount))}</td></tr>`);
        });
        _push(`<!--]--></tbody></table></div></div>`);
      } else {
        _push(`<!---->`);
      }
      if (__props.showPackingList) {
        _push(ssrRenderComponent(unref(_sfc_main$L), {
          show: packing.value,
          "max-width": "2xl",
          onClose: ($event) => packing.value = false,
          class: "modal-2"
        }, {
          default: withCtx((_2, _push2, _parent2, _scopeId) => {
            if (_push2) {
              _push2(ssrRenderComponent(_sfc_main$5, {
                record: __props.record,
                type: __props.type
              }, null, _parent2, _scopeId));
            } else {
              return [
                createVNode(_sfc_main$5, {
                  record: __props.record,
                  type: __props.type
                }, null, 8, ["record", "type"])
              ];
            }
          }),
          _: 1
        }, _parent));
      } else {
        _push(`<!---->`);
      }
      _push(`</div>`);
    };
  }
};
const _sfc_setup$3 = _sfc_main$3.setup;
_sfc_main$3.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Templates/TemplateOne.vue");
  return _sfc_setup$3 ? _sfc_setup$3(props, ctx) : void 0;
};
const _sfc_main$2 = {
  __name: "TemplateThree",
  __ssrInlineRender: true,
  props: {
    record: { type: Object, required: true },
    type: { type: String, required: true },
    custom_fields: { type: Array, default: () => [] },
    editRow: { type: Function, default: null },
    xfetch: { type: Boolean, default: false },
    qrUrl: { type: String, default: null },
    showPackingList: { type: Boolean, default: false }
  },
  setup(__props) {
    const { t: t3 } = useI18n();
    const page = usePage();
    const props = __props;
    const colspan = ref(4);
    const qrcode = ref(null);
    const packing = ref(false);
    const typeConfig = computed(() => {
      const configs = {
        sale: {
          label: t3("Sale"),
          noLabel: t3("{x} No.", { x: t3("Sale") }),
          permission: "update-sales",
          personLabel: t3("Billing Address"),
          showPerson: true,
          personField: "customer",
          showAddress: true,
          addressLabel: t3("Shipping Address"),
          showItems: true,
          showPayments: true,
          showPaid: true,
          showBalance: true,
          priceField: "price",
          quantityField: "quantity"
        },
        quotation: {
          label: t3("Quotation"),
          noLabel: t3("{x} No.", { x: t3("Quotation") }),
          permission: "update-quotations",
          personLabel: t3("Billing Address"),
          showPerson: true,
          personField: "customer",
          showAddress: true,
          addressLabel: t3("Shipping Address"),
          showItems: true,
          showPayments: false,
          showPaid: false,
          showBalance: false,
          priceField: "price",
          quantityField: "quantity"
        },
        purchase: {
          label: t3("Purchase"),
          noLabel: t3("{x} No.", { x: t3("Purchase") }),
          permission: "update-purchases",
          personLabel: t3("Purchase From"),
          showPerson: true,
          personField: "supplier",
          showAddress: false,
          showItems: true,
          showPayments: true,
          showPaid: false,
          showBalance: false,
          priceField: "cost",
          quantityField: "quantity"
        },
        payment: {
          label: t3("Payment"),
          noLabel: t3("{x} No.", { x: t3("Payment") }),
          permission: "update-payments",
          personLabel: t3("From"),
          showPerson: true,
          personField: "customer",
          showAddress: false,
          showItems: false,
          showPayments: false,
          showPaid: false,
          showBalance: false
        },
        expense: {
          label: t3("Expense"),
          noLabel: t3("{x} No.", { x: t3("Expense") }),
          permission: "update-expenses",
          personLabel: t3("Order To"),
          showPerson: true,
          personField: "supplier",
          showAddress: false,
          showItems: false,
          showPayments: false,
          showPaid: false,
          showBalance: false
        },
        transfer: {
          label: t3("Transfer"),
          noLabel: t3("{x} No.", { x: t3("Transfer") }),
          permission: "update-transfers",
          personLabel: t3("Transfer To"),
          showPerson: true,
          personField: "to_store",
          showAddress: false,
          showItems: true,
          showPayments: false,
          showPaid: false,
          showBalance: false,
          showPrices: false,
          quantityField: "quantity"
        },
        adjustment: {
          label: t3("Adjustment"),
          noLabel: t3("{x} No.", { x: t3("Adjustment") }),
          permission: "update-adjustments",
          showPerson: false,
          showAddress: false,
          showItems: true,
          showPayments: false,
          showPaid: false,
          showBalance: false,
          showPrices: false,
          quantityField: "quantity"
        },
        return_order: {
          label: t3("Return Order"),
          noLabel: t3("{x} No.", { x: t3("Return Order") }),
          permission: "update-return-orders",
          personLabel: props.record?.type === "Purchase" ? t3("Returned To") : t3("Returned From"),
          showPerson: true,
          personField: props.record?.type === "Purchase" ? "supplier" : "customer",
          showAddress: false,
          showItems: true,
          showPayments: false,
          showPaid: false,
          showBalance: false,
          priceField: props.record?.type === "Purchase" ? "cost" : "price",
          quantityField: "quantity"
        },
        delivery: {
          label: t3("Delivery"),
          noLabel: t3("{x} No.", { x: t3("Delivery Order") }),
          permission: "update-deliveries",
          personLabel: t3("Deliver To"),
          showPerson: true,
          personField: "customer",
          showAddress: true,
          showItems: false,
          showPayments: false,
          showPaid: false,
          showBalance: false
        }
      };
      return configs[props.type] || configs.sale;
    });
    const person = computed(() => {
      if (!typeConfig.value.showPerson || !typeConfig.value.personField) return null;
      return props.record[typeConfig.value.personField];
    });
    const paymentStatus = computed(() => {
      if (props.record.paid >= props.record.grand_total) {
        return { label: "Paid", class: "bg-green-100 text-green-800" };
      }
      if (props.record.due_date && new Date(props.record.due_date) < /* @__PURE__ */ new Date() && props.record.paid < props.record.grand_total) {
        return { label: "Overdue", class: "bg-red-100 text-red-800" };
      }
      if (props.record.due_date && new Date(props.record.due_date) > /* @__PURE__ */ new Date()) {
        return { label: "Pending", class: "bg-primary-100 text-primary-800" };
      }
      return { label: "Due", class: "bg-yellow-100 text-yellow-800" };
    });
    onMounted(async () => {
      if (page.props.settings.show_discount == 1) {
        colspan.value++;
      }
      if (page.props.settings.show_tax == 1) {
        colspan.value++;
      }
      await nextTick();
      if (props.qrUrl) {
        qrcode.value = await generateQR(props.qrUrl);
      }
      JsBarcode(".barcode").init();
    });
    async function generateQR(text) {
      try {
        return await QRCode.toString(text, { type: "svg" });
      } catch (err) {
        console.error(err);
        return `<span class="text-red-500">${err.toString()}</span>`;
      }
    }
    return (_ctx, _push, _parent, _attrs) => {
      const _component_Icon = resolveComponent("Icon");
      _push(`<div${ssrRenderAttrs(_attrs)}>`);
      if (!__props.xfetch) {
        _push(`<!--[--><span class="absolute end-12 top-4 inline-flex items-center gap-x-4 sm:end-14 print:hidden"><button type="button" class="link -m-2 p-2">`);
        _push(ssrRenderComponent(_component_Icon, {
          name: "print-o",
          class: "size-5"
        }, null, _parent));
        _push(`</button>`);
        if (__props.showPackingList) {
          _push(`<button type="button" class="link -m-2 p-2">`);
          _push(ssrRenderComponent(_component_Icon, {
            name: "archive",
            class: "size-5"
          }, null, _parent));
          _push(`</button>`);
        } else {
          _push(`<!---->`);
        }
        if (__props.editRow && _ctx.$can(typeConfig.value.permission)) {
          _push(`<button type="button" class="link -m-2 p-2">`);
          _push(ssrRenderComponent(_component_Icon, {
            name: "edit-o",
            class: "size-5"
          }, null, _parent));
          _push(`</button>`);
        } else {
          _push(`<!---->`);
        }
        _push(`</span><div class="border-b border-gray-200 px-4 py-4 sm:px-6 dark:border-gray-700 print:hidden"><div class="sm:flex sm:items-baseline sm:justify-between"><div class="sm:w-0 sm:flex-1"><h1 class="text-focus text-base font-semibold">${ssrInterpolate(typeConfig.value.label)} #${ssrInterpolate(__props.record?.id)} (${ssrInterpolate(__props.record?.reference)})</h1><p class="text-mute mt-1 truncate text-sm">${ssrInterpolate(_ctx.$t("Please view the details below"))}</p></div></div></div><!--]-->`);
      } else {
        _push(`<!---->`);
      }
      _push(`<div class="p-6 print:p-0">`);
      ssrRenderSlot(_ctx.$slots, "alerts", {}, null, _push, _parent);
      _push(`<div class="mb-6 flex justify-between"><div><h1 class="text-focus text-2xl font-black"><div class="max-h-16 min-h-10 max-w-[250px]">`);
      if (__props.record.store?.logo) {
        _push(`<img class="max-h-16 min-h-10 max-w-full"${ssrRenderAttr("src", __props.record.store.logo)}${ssrRenderAttr("alt", __props.record.store.name)}>`);
      } else {
        _push(`<!--[-->`);
        if (_ctx.$page.props.settings?.logo) {
          _push(`<img${ssrRenderAttr("alt", _ctx.$page.props.settings?.name)}${ssrRenderAttr("src", _ctx.$page.props.settings?.logo)} class="max-h-16 min-h-10 max-w-full dark:hidden print:block!">`);
        } else {
          _push(`<!---->`);
        }
        if (_ctx.$page.props.settings?.logo_dark) {
          _push(`<img${ssrRenderAttr("alt", _ctx.$page.props.settings?.name)}${ssrRenderAttr("src", _ctx.$page.props.settings?.logo_dark)} class="hidden max-h-16 min-h-10 max-w-full dark:block print:hidden!">`);
        } else {
          _push(`<!---->`);
        }
        _push(`<!--]-->`);
      }
      _push(`</div></h1><div>${ssrInterpolate(_ctx.$address(__props.record.store))}</div></div><div class="shrink-0 space-y-1 text-end text-sm whitespace-nowrap">`);
      if (__props.record.store?.phone) {
        _push(`<div>${ssrInterpolate(_ctx.$t("Phone"))}: ${ssrInterpolate(__props.record.store.phone)}</div>`);
      } else {
        _push(`<!---->`);
      }
      if (__props.record.store?.email) {
        _push(`<div>${ssrInterpolate(_ctx.$t("Email"))}: ${ssrInterpolate(__props.record.store.email)}</div>`);
      } else {
        _push(`<!---->`);
      }
      _push(`</div></div><div class="${ssrRenderClass([{
        "grid-cols-4": typeConfig.value.showPaid,
        "grid-cols-3": !typeConfig.value.showPaid && typeConfig.value.showPrices !== false,
        "grid-cols-2": typeConfig.value.showPrices === false
      }, "text-focus grid gap-4 border-t border-b border-gray-300 py-4 text-center text-sm font-semibold uppercase dark:border-gray-700"])}"><div class="text-left"><span class="font-bold">${ssrInterpolate(typeConfig.value.noLabel)}</span><br><span class="text-lg font-black">${ssrInterpolate(__props.record.id)}</span></div><div><span class="font-bold">${ssrInterpolate(_ctx.$t("Date"))}</span><br><span class="text-lg font-black">${ssrInterpolate(_ctx.$date(__props.record.date || __props.record.created_at))}</span></div>`);
      if (typeConfig.value.showPaid) {
        _push(`<div><span class="font-bold">${ssrInterpolate(_ctx.$t("Payment Status"))}</span><br><span class="${ssrRenderClass([paymentStatus.value.class, "mt-1 inline-block rounded-full px-3 py-px text-sm font-semibold"])}">${ssrInterpolate(_ctx.$t(paymentStatus.value.label))}</span></div>`);
      } else {
        _push(`<!---->`);
      }
      if (typeConfig.value.showPrices !== false) {
        _push(`<div class="text-right"><span class="font-bold">${ssrInterpolate(_ctx.$t("Total Amount"))}</span><br><span class="text-lg font-black">${ssrInterpolate(_ctx.$currency(__props.record.grand_total || __props.record.amount || 0))}</span></div>`);
      } else {
        _push(`<!---->`);
      }
      _push(`</div>`);
      if (__props.qrUrl) {
        _push(`<div class="flex items-center justify-between gap-6 border-b border-gray-300 py-2 dark:border-gray-700"><div class="bc-image h-[80px] overflow-hidden rounded"><svg class="barcode"${ssrRenderAttr("jsbarcode-width", 1)}${ssrRenderAttr("jsbarcode-margin", 5)}${ssrRenderAttr("jsbarcode-height", 70)}${ssrRenderAttr("jsbarcode-fontsize", 12)}${ssrRenderAttr("jsbarcode-textmargin", 3)} jsbarcode-format="CODE128" jsbarcode-fontoptions="bold"${ssrRenderAttr("jsbarcode-displayvalue", false)}${ssrRenderAttr("jsbarcode-value", __props.record.reference)}></svg></div><div class="qr-image qrcode h-[80px] overflow-hidden rounded">${qrcode.value ?? ""}</div></div>`);
      } else {
        _push(`<!---->`);
      }
      if (person.value) {
        _push(`<div class="mt-8 grid grid-cols-2 gap-8 text-sm"><div><p class="mb-2 font-bold uppercase">${ssrInterpolate(typeConfig.value.personLabel)}</p><div class="text-lg font-semibold">${ssrInterpolate(person.value.company || person.value.name)}</div><div class="text-sm">${ssrInterpolate(_ctx.$address(person.value))}</div>`);
        if (person.value.phone) {
          _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Phone"))}: ${ssrInterpolate(person.value.phone)}</div>`);
        } else {
          _push(`<!---->`);
        }
        if (person.value.email) {
          _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Email"))}: ${ssrInterpolate(person.value.email)}</div>`);
        } else {
          _push(`<!---->`);
        }
        _push(`</div>`);
        if (typeConfig.value.showAddress && __props.record.address) {
          _push(`<div><p class="mb-2 font-bold uppercase">${ssrInterpolate(typeConfig.value.addressLabel || _ctx.$t("Ship To"))}</p><div class="text-lg font-semibold">${ssrInterpolate(__props.record.address.company || __props.record.address.name)}</div><div class="text-sm">${ssrInterpolate(_ctx.$address(__props.record.address))}</div>`);
          if (__props.record.address.phone) {
            _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Phone"))}: ${ssrInterpolate(__props.record.address.phone)}</div>`);
          } else {
            _push(`<!---->`);
          }
          if (__props.record.address.email) {
            _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Email"))}: ${ssrInterpolate(__props.record.address.email)}</div>`);
          } else {
            _push(`<!---->`);
          }
          _push(`</div>`);
        } else {
          _push(`<!---->`);
        }
        _push(`</div>`);
      } else {
        _push(`<!---->`);
      }
      _push(`<div class="mt-6">`);
      ssrRenderSlot(_ctx.$slots, "content", {
        record: __props.record,
        typeConfig: typeConfig.value
      }, null, _push, _parent);
      _push(`</div>`);
      if (typeConfig.value.showItems && __props.record.items) {
        _push(`<div class="rounded-corners mt-6"><table class="w-full"><thead class="bg-gray-100 text-sm dark:bg-gray-900"><tr><th class="w-7 border border-gray-300 p-2 text-center font-bold uppercase dark:border-gray-700">#</th><th class="border border-gray-300 p-2 text-start font-bold uppercase dark:border-gray-700">${ssrInterpolate(_ctx.$t("Description"))}</th>`);
        if (typeConfig.value.showPrices !== false) {
          _push(`<th class="w-[120px] border border-gray-300 p-2 text-center font-bold whitespace-nowrap uppercase dark:border-gray-700">${ssrInterpolate(unref(page).props.settings.show_tax == 1 ? _ctx.$t("Price") : _ctx.$t("Unit Price"))}</th>`);
        } else {
          _push(`<!---->`);
        }
        _push(`<th class="w-[80px] border border-gray-300 p-2 text-center font-bold uppercase dark:border-gray-700">${ssrInterpolate(_ctx.$t("Qty"))}</th>`);
        if (typeConfig.value.showPrices !== false) {
          _push(`<!--[-->`);
          if (unref(page).props.settings.show_discount == 1) {
            _push(`<th class="w-[80px] border border-gray-300 p-2 text-center font-bold uppercase dark:border-gray-700">${ssrInterpolate(_ctx.$t("Discount"))}</th>`);
          } else {
            _push(`<!---->`);
          }
          if (unref(page).props.settings.show_tax == 1) {
            _push(`<th class="w-[80px] border border-gray-300 p-2 text-center font-bold uppercase dark:border-gray-700">${ssrInterpolate(_ctx.$t("Tax"))}</th>`);
          } else {
            _push(`<!---->`);
          }
          _push(`<th class="w-[120px] border border-gray-300 p-2 text-center font-bold uppercase dark:border-gray-700">${ssrInterpolate(_ctx.$t("Total"))}</th><!--]-->`);
        } else {
          _push(`<!---->`);
        }
        _push(`</tr></thead><!--[-->`);
        ssrRenderList(__props.record.items, (item2, index) => {
          _push(`<!--[-->`);
          if (item2.variations && item2.variations.length) {
            _push(`<tbody><tr><td class="w-7 border border-gray-300 p-2 text-end dark:border-gray-700">${ssrInterpolate(index + 1)}</td><td class="border border-gray-300 px-2 py-1 dark:border-gray-700"><div class="flex items-center gap-2">`);
            if (item2.product && unref(page).props.settings.show_image == 1) {
              _push(`<!--[-->`);
              if (item2.product.photo) {
                _push(`<img class="h-8 w-8 self-start rounded-xs"${ssrRenderAttr("src", item2.product.photo)} alt="Product Image">`);
              } else {
                _push(`<img class="me-2 h-8 w-8 self-start rounded-xs" src="img/no-image.png" alt="No Image">`);
              }
              _push(`<!--]-->`);
            } else {
              _push(`<!---->`);
            }
            _push(`<div>${ssrInterpolate(item2.product?.name || "")} `);
            if (item2.comment) {
              _push(`<div class="text-xs">${ssrInterpolate(item2.comment)}</div>`);
            } else {
              _push(`<!---->`);
            }
            _push(`</div></div></td>`);
            if (typeConfig.value.showPrices !== false) {
              _push(`<td class="border border-gray-300 p-2 dark:border-gray-700"></td>`);
            } else {
              _push(`<!---->`);
            }
            _push(`<td class="border border-gray-300 p-2 text-center dark:border-gray-700"></td>`);
            if (typeConfig.value.showPrices !== false) {
              _push(`<!--[-->`);
              if (unref(page).props.settings.show_discount == 1) {
                _push(`<td class="border border-gray-300 p-2 text-end dark:border-gray-700"></td>`);
              } else {
                _push(`<!---->`);
              }
              if (unref(page).props.settings.show_tax == 1) {
                _push(`<td class="border border-gray-300 p-2 dark:border-gray-700"></td>`);
              } else {
                _push(`<!---->`);
              }
              _push(`<td class="border border-gray-300 p-2 dark:border-gray-700"></td><!--]-->`);
            } else {
              _push(`<!---->`);
            }
            _push(`</tr><!--[-->`);
            ssrRenderList(item2.variations, (variation2) => {
              _push(`<tr><td class="w-7 border border-gray-300 dark:border-gray-700"></td><td class="border border-gray-300 p-2 dark:border-gray-700">${ssrInterpolate(_ctx.$meta(variation2.meta))}</td>`);
              if (typeConfig.value.showPrices !== false) {
                _push(`<td class="border border-gray-300 p-2 text-end dark:border-gray-700">${ssrInterpolate(_ctx.$number(variation2.pivot[typeConfig.value.priceField]))}</td>`);
              } else {
                _push(`<!---->`);
              }
              _push(`<td class="border border-gray-300 p-2 text-center dark:border-gray-700"><div class="flex items-center justify-center">${ssrInterpolate(_ctx.$number_qty(variation2.pivot.quantity))}${ssrInterpolate(variation2.pivot?.unit?.code || "")}</div></td>`);
              if (typeConfig.value.showPrices !== false) {
                _push(`<!--[-->`);
                if (unref(page).props.settings.show_discount == 1) {
                  _push(`<td class="border border-gray-300 p-2 text-end dark:border-gray-700">${ssrInterpolate(_ctx.$number(variation2.pivot.discount_amount))}</td>`);
                } else {
                  _push(`<!---->`);
                }
                if (unref(page).props.settings.show_tax == 1) {
                  _push(`<td class="border border-gray-300 p-2 text-end dark:border-gray-700">${ssrInterpolate(_ctx.$number(variation2.pivot.tax_amount))}</td>`);
                } else {
                  _push(`<!---->`);
                }
                _push(`<td class="border border-gray-300 p-2 text-end font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$number(variation2.pivot.total))}</td><!--]-->`);
              } else {
                _push(`<!---->`);
              }
              _push(`</tr>`);
            });
            _push(`<!--]--></tbody>`);
          } else {
            _push(`<tbody class="divide-y divide-gray-200 border-y border-gray-200 dark:divide-gray-700 dark:border-gray-700 print:divide-gray-400 dark:print:divide-gray-400"><tr><td class="w-7 border border-gray-300 p-2 text-end dark:border-gray-700">${ssrInterpolate(index + 1)}</td><td class="border border-gray-300 px-2 py-1 dark:border-gray-700"><div class="flex items-center gap-2">`);
            if (item2.product && unref(page).props.settings.show_image == 1) {
              _push(`<!--[-->`);
              if (item2.product.photo) {
                _push(`<img class="h-8 w-8 rounded-xs"${ssrRenderAttr("src", item2.product.photo)} alt="Product Image">`);
              } else {
                _push(`<img class="me-2 h-8 w-8 rounded-xs" src="img/no-image.png" alt="No Image">`);
              }
              _push(`<!--]-->`);
            } else {
              _push(`<!---->`);
            }
            _push(`<div>${ssrInterpolate(item2.product?.name || "")} <div class="text-mute text-sm">${ssrInterpolate(item2.product?.code || "")}</div>`);
            if (item2.comment) {
              _push(`<div class="${ssrRenderClass(item2.product?.name ? "text-mute text-xs" : "")}">${ssrInterpolate(item2.comment)}</div>`);
            } else {
              _push(`<!---->`);
            }
            _push(`</div></div></td>`);
            if (typeConfig.value.showPrices !== false) {
              _push(`<td class="border border-gray-300 p-2 text-end dark:border-gray-700">${ssrInterpolate(_ctx.$number(item2[typeConfig.value.priceField]))}</td>`);
            } else {
              _push(`<!---->`);
            }
            _push(`<td class="border border-gray-300 p-2 text-center dark:border-gray-700"><div class="flex items-center justify-center">${ssrInterpolate(_ctx.$number_qty(item2.quantity))}${ssrInterpolate(item2.unit?.code || "")}</div></td>`);
            if (typeConfig.value.showPrices !== false) {
              _push(`<!--[-->`);
              if (unref(page).props.settings.show_discount == 1) {
                _push(`<td class="border border-gray-300 p-2 text-end dark:border-gray-700">${ssrInterpolate(_ctx.$number(item2.discount_amount))}</td>`);
              } else {
                _push(`<!---->`);
              }
              if (unref(page).props.settings.show_tax == 1) {
                _push(`<td class="border border-gray-300 p-2 text-end dark:border-gray-700">${ssrInterpolate(_ctx.$number(item2.tax_amount))}</td>`);
              } else {
                _push(`<!---->`);
              }
              _push(`<td class="border border-gray-300 p-2 text-end font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$number(item2.total))}</td><!--]-->`);
            } else {
              _push(`<!---->`);
            }
            _push(`</tr></tbody>`);
          }
          _push(`<!--]-->`);
        });
        _push(`<!--]-->`);
        if (typeConfig.value.showPrices !== false) {
          _push(`<tfoot class="break-inside-avoid">`);
          if (unref(page).props.settings.show_tax == 1) {
            _push(`<tr><th colspan="3" class="border border-gray-300 p-2 text-end text-lg font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$t("Total"))}</th><th class="border border-gray-300 p-2 text-end text-lg font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$decimal_qty(__props.record.items.reduce((a2, i2) => Number(i2.quantity) + a2, 0)))}</th>`);
            if (unref(page).props.settings.show_discount == 1) {
              _push(`<th class="border border-gray-300 p-2 text-end text-lg font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$currency(__props.record.total_discount_amount))}</th>`);
            } else {
              _push(`<!---->`);
            }
            if (unref(page).props.settings.show_tax == 1) {
              _push(`<th class="border border-gray-300 p-2 text-end text-lg font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$currency(__props.record.total_tax_amount))}</th>`);
            } else {
              _push(`<!---->`);
            }
            _push(`<th class="border border-gray-300 p-2 text-end text-lg font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$currency(__props.record.total))}</th></tr>`);
          } else {
            _push(`<!--[-->`);
            if (unref(page).props.settings.show_discount == 1 && Number(__props.record.total_discount_amount) > 0) {
              _push(`<tr><th${ssrRenderAttr("colspan", colspan.value)} class="border border-gray-300 p-2 text-end text-lg font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$t("Discount"))}</th><th class="border border-gray-300 p-2 text-end text-lg font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$currency(__props.record.total_discount_amount))}</th></tr>`);
            } else {
              _push(`<!---->`);
            }
            if (_ctx.$decimal(__props.record.total_tax_amount, true) > 0) {
              _push(`<!--[--><tr><th${ssrRenderAttr("colspan", colspan.value)} class="border border-gray-300 p-2 text-end text-lg font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$t("Subtotal"))}</th><th class="border border-gray-300 p-2 text-end text-lg font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$currency(__props.record.subtotal))}</th></tr><tr><th${ssrRenderAttr("colspan", colspan.value)} class="border border-gray-300 p-2 text-end text-lg font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$t("Tax"))}</th><th class="border border-gray-300 p-2 text-end text-lg font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$currency(__props.record.total_tax_amount))}</th></tr><!--]-->`);
            } else if (unref(page).props.settings.show_zero_taxes == 1) {
              _push(`<tr><th${ssrRenderAttr("colspan", colspan.value)} class="border border-gray-300 p-2 text-end text-lg font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$t("Tax"))}</th><th class="border border-gray-300 p-2 text-end text-lg font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$currency(__props.record.total_tax_amount))}</th></tr>`);
            } else {
              _push(`<!---->`);
            }
            _push(`<tr><th${ssrRenderAttr("colspan", colspan.value)} class="border border-gray-300 p-2 text-end text-lg font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$t("Total"))}</th><th class="border border-gray-300 p-2 text-end text-lg font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$currency(__props.record.grand_total))}</th></tr>`);
            if (typeConfig.value.showPaid) {
              _push(`<tr><th${ssrRenderAttr("colspan", colspan.value)} class="border border-gray-300 p-2 text-end text-lg font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$t("Paid"))}</th><th class="border border-gray-300 p-2 text-end text-lg font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$currency(__props.record.paid))}</th></tr>`);
            } else {
              _push(`<!---->`);
            }
            if (typeConfig.value.showBalance) {
              _push(`<tr><th${ssrRenderAttr("colspan", colspan.value)} class="border-x border-gray-300 p-2 text-end text-lg font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$t("Balance"))}</th><th class="border-x border-gray-300 p-2 text-end text-lg font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$currency(__props.record.grand_total - __props.record.paid))}</th></tr>`);
            } else {
              _push(`<!---->`);
            }
            _push(`<!--]-->`);
          }
          _push(`</tfoot>`);
        } else {
          _push(`<tfoot><tr><td colspan="2" class="border border-gray-300 px-2 pt-1 pb-2 text-center font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$t("Total Quantity"))}</td><td class="w-[80px] border border-gray-300 px-2 pt-1 pb-2 text-center font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$number_qty(__props.record.items.reduce((a2, i2) => Number(i2.quantity) + a2, 0)))}</td></tr></tfoot>`);
        }
        _push(`</table></div>`);
      } else {
        _push(`<!---->`);
      }
      _push(`<div class="-mx-4">`);
      ssrRenderSlot(_ctx.$slots, "amount", { record: __props.record }, null, _push, _parent);
      _push(`</div>`);
      _push(ssrRenderComponent(unref(_sfc_main$7), {
        modal: false,
        fields: __props.custom_fields,
        title: _ctx.$t("Custom Fields"),
        extra_attributes: __props.record.extra_attributes
      }, null, _parent));
      if (__props.record.details) {
        _push(`<div class="mt-6 rounded-md border border-gray-300 p-4 text-sm dark:border-gray-700">${ssrInterpolate(__props.record.details)}</div>`);
      } else {
        _push(`<!---->`);
      }
      if (__props.record.attachments && __props.record.attachments.length) {
        _push(`<div class="mt-8 w-full py-2 print:hidden">`);
        _push(ssrRenderComponent(unref(_sfc_main$u), {
          attachments: __props.record.attachments
        }, null, _parent));
        _push(`</div>`);
      } else {
        _push(`<!---->`);
      }
      _push(`</div>`);
      if (typeConfig.value.showPayments && __props.record.payments && __props.record.payments.length) {
        _push(`<div class="mx-6 mb-6 rounded-sm border border-gray-200 dark:border-gray-700 print:hidden"><h4 class="border-b border-gray-200 px-4 py-2 text-base font-extrabold dark:border-gray-700">${ssrInterpolate(_ctx.$t("Payments"))}</h4><div class="-m-px"><table class="w-full text-sm"><thead><tr><th class="w-[140px] p-2 text-start font-bold uppercase">${ssrInterpolate(_ctx.$t("Date"))}</th><th class="p-2 text-start font-bold uppercase">${ssrInterpolate(_ctx.$t("Reference"))}</th><th class="w-[100px] p-2 text-start font-bold uppercase">${ssrInterpolate(_ctx.$t("Method"))}</th><th class="w-[120px] p-2 text-center font-bold uppercase">${ssrInterpolate(_ctx.$t("Amount"))}</th></tr></thead><tbody><!--[-->`);
        ssrRenderList(__props.record.payments, (p2) => {
          _push(`<tr><td class="border-t border-gray-300 p-2 whitespace-nowrap dark:border-gray-700">${ssrInterpolate(_ctx.$date(p2.date))}</td><td class="border-t border-gray-300 p-2 dark:border-gray-700">${ssrInterpolate(p2.reference)}</td><td class="border-t border-gray-300 p-2 whitespace-nowrap dark:border-gray-700">${ssrInterpolate(_ctx.$t(p2.method))}</td><td class="border-t border-gray-300 p-2 text-end dark:border-gray-700">${ssrInterpolate(_ctx.$currency(p2.amount))}</td></tr>`);
        });
        _push(`<!--]--></tbody></table></div></div>`);
      } else {
        _push(`<!---->`);
      }
      if (__props.showPackingList) {
        _push(ssrRenderComponent(unref(_sfc_main$L), {
          show: packing.value,
          "max-width": "2xl",
          onClose: ($event) => packing.value = false,
          class: "modal-2"
        }, {
          default: withCtx((_2, _push2, _parent2, _scopeId) => {
            if (_push2) {
              _push2(ssrRenderComponent(_sfc_main$5, {
                record: __props.record,
                type: __props.type
              }, null, _parent2, _scopeId));
            } else {
              return [
                createVNode(_sfc_main$5, {
                  record: __props.record,
                  type: __props.type
                }, null, 8, ["record", "type"])
              ];
            }
          }),
          _: 1
        }, _parent));
      } else {
        _push(`<!---->`);
      }
      _push(`</div>`);
    };
  }
};
const _sfc_setup$2 = _sfc_main$2.setup;
_sfc_main$2.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Templates/TemplateThree.vue");
  return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
};
const _sfc_main$1 = {
  __name: "TemplateTwo",
  __ssrInlineRender: true,
  props: {
    record: { type: Object, required: true },
    type: { type: String, required: true },
    custom_fields: { type: Array, default: () => [] },
    editRow: { type: Function, default: null },
    xfetch: { type: Boolean, default: false },
    qrUrl: { type: String, default: null },
    showPackingList: { type: Boolean, default: false }
  },
  setup(__props) {
    const { t: t3 } = useI18n();
    const page = usePage();
    const props = __props;
    const colspan = ref(4);
    const qrcode = ref(null);
    const packing = ref(false);
    const typeConfig = computed(() => {
      const configs = {
        sale: {
          label: t3("Sale"),
          noLabel: t3("Sale No. {x}", { x: props.record?.id }),
          permission: "update-sales",
          personLabel: t3("Sell To"),
          showPerson: true,
          personField: "customer",
          showAddress: true,
          showItems: true,
          showPayments: true,
          showPaid: true,
          showBalance: true,
          priceField: "price",
          quantityField: "quantity"
        },
        quotation: {
          label: t3("Quotation"),
          noLabel: t3("Quotation No. {x}", { x: props.record?.id }),
          permission: "update-quotations",
          personLabel: t3("Quote To"),
          showPerson: true,
          personField: "customer",
          showAddress: true,
          showItems: true,
          showPayments: false,
          showPaid: false,
          showBalance: false,
          priceField: "price",
          quantityField: "quantity"
        },
        purchase: {
          label: t3("Purchase"),
          noLabel: t3("Purchase No. {x}", { x: props.record?.id }),
          permission: "update-purchases",
          personLabel: t3("Purchase From"),
          showPerson: true,
          personField: "supplier",
          showAddress: false,
          showItems: true,
          showPayments: true,
          showPaid: false,
          showBalance: false,
          priceField: "cost",
          quantityField: "quantity"
        },
        payment: {
          label: t3("Payment"),
          noLabel: t3("Payment No. {x}", { x: props.record?.id }),
          permission: "update-payments",
          personLabel: t3("From"),
          showPerson: true,
          personField: "customer",
          showAddress: false,
          showItems: false,
          showPayments: false,
          showPaid: false,
          showBalance: false
        },
        expense: {
          label: t3("Expense"),
          noLabel: t3("Expense No. {x}", { x: props.record?.id }),
          permission: "update-expenses",
          personLabel: t3("Order To"),
          showPerson: true,
          personField: "supplier",
          showAddress: false,
          showItems: false,
          showPayments: false,
          showPaid: false,
          showBalance: false
        },
        transfer: {
          label: t3("Transfer"),
          noLabel: t3("Transfer No. {x}", { x: props.record?.id }),
          permission: "update-transfers",
          personLabel: t3("Transfer To"),
          showPerson: true,
          personField: "to_store",
          showAddress: false,
          showItems: true,
          showPayments: false,
          showPaid: false,
          showBalance: false,
          showPrices: false,
          quantityField: "quantity"
        },
        adjustment: {
          label: t3("Adjustment"),
          noLabel: t3("Adjustment No. {x}", { x: props.record?.id }),
          permission: "update-adjustments",
          showPerson: false,
          showAddress: false,
          showItems: true,
          showPayments: false,
          showPaid: false,
          showBalance: false,
          showPrices: false,
          quantityField: "quantity"
        },
        return_order: {
          label: t3("Return Order"),
          noLabel: t3("Return Order No. {x}", { x: props.record?.id }),
          permission: "update-return-orders",
          personLabel: props.record?.type === "Purchase" ? t3("Returned To") : t3("Returned From"),
          showPerson: true,
          personField: props.record?.type === "Purchase" ? "supplier" : "customer",
          showAddress: false,
          showItems: true,
          showPayments: false,
          showPaid: false,
          showBalance: false,
          priceField: props.record?.type === "Purchase" ? "cost" : "price",
          quantityField: "quantity"
        },
        delivery: {
          label: t3("Delivery"),
          noLabel: t3("Delivery Order No. {x}", { x: props.record?.id }),
          permission: "update-deliveries",
          personLabel: t3("Deliver To"),
          showPerson: true,
          personField: "customer",
          showAddress: true,
          showItems: false,
          showPayments: false,
          showPaid: false,
          showBalance: false
        }
      };
      return configs[props.type] || configs.sale;
    });
    const person = computed(() => {
      if (!typeConfig.value.showPerson || !typeConfig.value.personField) return null;
      return props.record[typeConfig.value.personField];
    });
    onMounted(async () => {
      if (page.props.settings.show_discount == 1) {
        colspan.value++;
      }
      if (page.props.settings.show_tax == 1) {
        colspan.value++;
      }
      await nextTick();
      if (props.qrUrl) {
        qrcode.value = await generateQR(props.qrUrl);
      }
      JsBarcode(".barcode").init();
    });
    async function generateQR(text) {
      try {
        return await QRCode.toString(text, { type: "svg" });
      } catch (err) {
        console.error(err);
        return `<span class="text-red-500">${err.toString()}</span>`;
      }
    }
    return (_ctx, _push, _parent, _attrs) => {
      const _component_Icon = resolveComponent("Icon");
      _push(`<div${ssrRenderAttrs(_attrs)}>`);
      if (!__props.xfetch) {
        _push(`<!--[--><span class="absolute end-12 top-4 inline-flex items-center gap-x-4 sm:end-14 print:hidden"><button type="button" class="link -m-2 p-2">`);
        _push(ssrRenderComponent(_component_Icon, {
          name: "print-o",
          class: "size-5"
        }, null, _parent));
        _push(`</button>`);
        if (__props.showPackingList) {
          _push(`<button type="button" class="link -m-2 p-2">`);
          _push(ssrRenderComponent(_component_Icon, {
            name: "archive",
            class: "size-5"
          }, null, _parent));
          _push(`</button>`);
        } else {
          _push(`<!---->`);
        }
        if (__props.editRow && _ctx.$can(typeConfig.value.permission)) {
          _push(`<button type="button" class="link -m-2 p-2">`);
          _push(ssrRenderComponent(_component_Icon, {
            name: "edit-o",
            class: "size-5"
          }, null, _parent));
          _push(`</button>`);
        } else {
          _push(`<!---->`);
        }
        _push(`</span><div class="border-b border-gray-200 px-4 py-4 sm:px-6 dark:border-gray-700 print:hidden"><div class="sm:flex sm:items-baseline sm:justify-between"><div class="sm:w-0 sm:flex-1"><h1 class="text-focus text-base font-semibold">${ssrInterpolate(typeConfig.value.label)} #${ssrInterpolate(__props.record?.id)} (${ssrInterpolate(__props.record?.reference)})</h1><p class="text-mute mt-1 truncate text-sm">${ssrInterpolate(_ctx.$t("Please view the details below"))}</p></div></div></div><!--]-->`);
      } else {
        _push(`<!---->`);
      }
      ssrRenderSlot(_ctx.$slots, "alerts", {}, null, _push, _parent);
      _push(`<div class="flex flex-col gap-6 p-6 print:p-0"><div class="flex items-end justify-between gap-x-8"><div class="w-2/3"><div class="max-h-16 max-w-[250px]">`);
      if (__props.record.store?.logo) {
        _push(`<img class="h-16 max-w-full"${ssrRenderAttr("src", __props.record.store.logo)}${ssrRenderAttr("alt", __props.record.store.name)}>`);
      } else {
        _push(`<!--[-->`);
        if (_ctx.$page.props.settings?.logo) {
          _push(`<img${ssrRenderAttr("alt", _ctx.$page.props.settings?.name)}${ssrRenderAttr("src", _ctx.$page.props.settings?.logo)} class="h-16 max-w-full dark:hidden print:block!">`);
        } else {
          _push(`<!---->`);
        }
        if (_ctx.$page.props.settings?.logo_dark) {
          _push(`<img${ssrRenderAttr("alt", _ctx.$page.props.settings?.name)}${ssrRenderAttr("src", _ctx.$page.props.settings?.logo_dark)} class="hidden h-16 max-w-full dark:block print:hidden!">`);
        } else {
          _push(`<!---->`);
        }
        _push(`<!--]-->`);
      }
      _push(`</div><div><div class="text-lg font-semibold">${ssrInterpolate(__props.record.store?.name)}</div><div class="text-sm">${ssrInterpolate(_ctx.$address(__props.record.store))}</div>`);
      if (__props.record.store?.phone) {
        _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Phone"))}: ${ssrInterpolate(__props.record.store.phone)}</div>`);
      } else {
        _push(`<!---->`);
      }
      if (__props.record.store?.email) {
        _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Email"))}: ${ssrInterpolate(__props.record.store.email)}</div>`);
      } else {
        _push(`<!---->`);
      }
      _push(`</div></div><div class="w-1/3 whitespace-nowrap"><h1 class="text-focus text-3xl font-bold uppercase">${ssrInterpolate(typeConfig.value.label)}</h1><div class="mt-1 text-sm"><div class="text-sm">${ssrInterpolate(typeConfig.value.noLabel)}</div><div class="text-sm">${ssrInterpolate(_ctx.$t("Date"))}: ${ssrInterpolate(_ctx.$date(__props.record.date || __props.record.created_at))}</div><div class="text-sm">${ssrInterpolate(_ctx.$t("Created at"))}: ${ssrInterpolate(_ctx.$datetime(__props.record.created_at))}</div><div class="flex gap-1 text-sm">${ssrInterpolate(_ctx.$t("Reference"))}: <p class="truncate hover:text-clip print:block print:text-clip" dir="rtl">${ssrInterpolate(__props.record.reference)}</p></div>`);
      if (__props.record.due_date) {
        _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Due Date"))}: ${ssrInterpolate(_ctx.$date(__props.record.due_date))}</div>`);
      } else {
        _push(`<!---->`);
      }
      _push(`</div></div></div>`);
      if (__props.qrUrl) {
        _push(`<div class="flex items-center justify-center gap-6"><div class="bc-image h-[80px] overflow-hidden rounded"><svg class="barcode"${ssrRenderAttr("jsbarcode-width", 1)}${ssrRenderAttr("jsbarcode-margin", 5)}${ssrRenderAttr("jsbarcode-height", 70)}${ssrRenderAttr("jsbarcode-fontsize", 12)}${ssrRenderAttr("jsbarcode-textmargin", 3)} jsbarcode-format="CODE128" jsbarcode-fontoptions="bold"${ssrRenderAttr("jsbarcode-displayvalue", false)}${ssrRenderAttr("jsbarcode-value", __props.record.reference)}></svg></div><div class="qr-image qrcode h-[80px] overflow-hidden rounded">${qrcode.value ?? ""}</div></div>`);
      } else {
        _push(`<!---->`);
      }
      if (person.value) {
        _push(`<div class="flex justify-between text-sm"><div class="max-w-xs"><div class="mb-2 font-bold">${ssrInterpolate(typeConfig.value.personLabel)}:</div><div class="text-base font-semibold">${ssrInterpolate(person.value.company || person.value.name)}</div><div class="text-sm">${ssrInterpolate(_ctx.$address(person.value))}</div>`);
        if (person.value.phone) {
          _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Phone"))}: ${ssrInterpolate(person.value.phone)}</div>`);
        } else {
          _push(`<!---->`);
        }
        if (person.value.email) {
          _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Email"))}: ${ssrInterpolate(person.value.email)}</div>`);
        } else {
          _push(`<!---->`);
        }
        _push(`</div>`);
        if (typeConfig.value.showAddress && __props.record.address) {
          _push(`<div class="max-w-xs text-end"><div class="mb-2 font-bold">${ssrInterpolate(_ctx.$t("Ship To"))}:</div><div class="text-base font-semibold">${ssrInterpolate(__props.record.customer?.company || __props.record.customer?.name)}</div><div class="text-sm">${ssrInterpolate(_ctx.$address(__props.record.address))}</div>`);
          if (__props.record.address.phone) {
            _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Phone"))}: ${ssrInterpolate(__props.record.address.phone)}</div>`);
          } else {
            _push(`<!---->`);
          }
          if (__props.record.address.email) {
            _push(`<div class="text-sm">${ssrInterpolate(_ctx.$t("Email"))}: ${ssrInterpolate(__props.record.address.email)}</div>`);
          } else {
            _push(`<!---->`);
          }
          _push(`</div>`);
        } else {
          _push(`<!---->`);
        }
        _push(`</div>`);
      } else {
        _push(`<!---->`);
      }
      ssrRenderSlot(_ctx.$slots, "content", {
        record: __props.record,
        typeConfig: typeConfig.value
      }, null, _push, _parent);
      if (typeConfig.value.showItems && __props.record.items) {
        _push(`<div><div class="rounded-corners"><table class="w-full border-collapse text-sm"><thead class="bg-gray-100 dark:bg-gray-900"><tr><th class="border border-gray-300 p-3 text-start font-semibold dark:border-gray-700">${ssrInterpolate(_ctx.$t("Code"))}</th><th class="border border-gray-300 p-3 text-start font-semibold dark:border-gray-700">${ssrInterpolate(_ctx.$t("Name"))}</th>`);
        if (typeConfig.value.showPrices !== false) {
          _push(`<th class="border border-gray-300 p-3 text-center font-semibold dark:border-gray-700">${ssrInterpolate(_ctx.$t("Price"))}</th>`);
        } else {
          _push(`<!---->`);
        }
        _push(`<th class="border border-gray-300 p-3 text-center font-semibold dark:border-gray-700">${ssrInterpolate(_ctx.$t("Qty"))}</th>`);
        if (typeConfig.value.showPrices !== false) {
          _push(`<!--[-->`);
          if (unref(page).props.settings.show_discount == 1) {
            _push(`<th class="w-[80px] border border-gray-300 p-3 text-center font-semibold dark:border-gray-700">${ssrInterpolate(_ctx.$t("Discount"))}</th>`);
          } else {
            _push(`<!---->`);
          }
          if (unref(page).props.settings.show_tax == 1) {
            _push(`<th class="w-[80px] border border-gray-300 p-3 text-center font-semibold dark:border-gray-700">${ssrInterpolate(_ctx.$t("Tax"))}</th>`);
          } else {
            _push(`<!---->`);
          }
          _push(`<th class="border border-gray-300 p-3 text-center font-semibold dark:border-gray-700">${ssrInterpolate(_ctx.$t("Total"))}</th><!--]-->`);
        } else {
          _push(`<!---->`);
        }
        _push(`</tr></thead><!--[-->`);
        ssrRenderList(__props.record.items, (item2, index) => {
          _push(`<!--[-->`);
          if (item2.variations && item2.variations.length) {
            _push(`<tbody><tr><td class="w-7 border border-gray-300 p-2 text-end dark:border-gray-700">${ssrInterpolate(index + 1)}</td><td class="border border-gray-300 px-2 py-1 dark:border-gray-700"><div class="flex items-center gap-2">`);
            if (item2.product && unref(page).props.settings.show_image == 1) {
              _push(`<!--[-->`);
              if (item2.product.photo) {
                _push(`<img class="h-8 w-8 self-start rounded-xs"${ssrRenderAttr("src", item2.product.photo)} alt="Product Image">`);
              } else {
                _push(`<img class="me-2 h-8 w-8 self-start rounded-xs" src="img/no-image.png" alt="No Image">`);
              }
              _push(`<!--]-->`);
            } else {
              _push(`<!---->`);
            }
            _push(`<div>${ssrInterpolate(item2.product?.name || "")} `);
            if (item2.comment) {
              _push(`<div class="text-xs">${ssrInterpolate(item2.comment)}</div>`);
            } else {
              _push(`<!---->`);
            }
            _push(`</div></div></td>`);
            if (typeConfig.value.showPrices !== false) {
              _push(`<td class="border border-gray-300 p-2 dark:border-gray-700"></td>`);
            } else {
              _push(`<!---->`);
            }
            _push(`<td class="border border-gray-300 p-2 text-end dark:border-gray-700"></td>`);
            if (typeConfig.value.showPrices !== false) {
              _push(`<!--[-->`);
              if (unref(page).props.settings.show_discount == 1) {
                _push(`<td class="p-2 text-end"></td>`);
              } else {
                _push(`<!---->`);
              }
              if (unref(page).props.settings.show_tax == 1) {
                _push(`<td class="p-2"></td>`);
              } else {
                _push(`<!---->`);
              }
              _push(`<td class="border border-gray-300 p-2 dark:border-gray-700"></td><!--]-->`);
            } else {
              _push(`<!---->`);
            }
            _push(`</tr><!--[-->`);
            ssrRenderList(item2.variations, (variation2) => {
              _push(`<tr><td class="w-7 border border-gray-300 dark:border-gray-700"></td><td class="border border-gray-300 p-2 dark:border-gray-700">${ssrInterpolate(_ctx.$meta(variation2.meta))}</td>`);
              if (typeConfig.value.showPrices !== false) {
                _push(`<td class="border border-gray-300 p-2 text-end dark:border-gray-700">${ssrInterpolate(_ctx.$number(variation2.pivot[typeConfig.value.priceField]))}</td>`);
              } else {
                _push(`<!---->`);
              }
              _push(`<td class="border border-gray-300 p-2 text-center dark:border-gray-700"><div class="flex items-center justify-center">${ssrInterpolate(_ctx.$number_qty(variation2.pivot.quantity))}${ssrInterpolate(variation2.pivot?.unit?.code || "")}</div></td>`);
              if (typeConfig.value.showPrices !== false) {
                _push(`<!--[-->`);
                if (unref(page).props.settings.show_discount == 1) {
                  _push(`<td class="border border-gray-300 p-2 text-end dark:border-gray-700">${ssrInterpolate(_ctx.$number(variation2.pivot.discount_amount))}</td>`);
                } else {
                  _push(`<!---->`);
                }
                if (unref(page).props.settings.show_tax == 1) {
                  _push(`<td class="p-2 text-end">${ssrInterpolate(_ctx.$number(variation2.pivot.tax_amount))}</td>`);
                } else {
                  _push(`<!---->`);
                }
                _push(`<td class="border border-gray-300 p-2 text-end font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$number(variation2.pivot.total))}</td><!--]-->`);
              } else {
                _push(`<!---->`);
              }
              _push(`</tr>`);
            });
            _push(`<!--]--></tbody>`);
          } else {
            _push(`<tbody class="divide-y divide-gray-200 border-y border-gray-200 dark:divide-gray-700 dark:border-gray-700 print:divide-gray-400 dark:print:divide-gray-400"><tr><td class="w-7 border border-gray-300 p-2 text-center dark:border-gray-700">${ssrInterpolate(item2.product?.code || __props.record.repair_order_id || "")}</td><td class="border border-gray-300 px-2 py-1 dark:border-gray-700"><div class="flex items-center gap-2">`);
            if (item2.product && unref(page).props.settings.show_image == 1) {
              _push(`<!--[-->`);
              if (item2.product.photo) {
                _push(`<img class="h-8 w-8 self-start rounded-xs"${ssrRenderAttr("src", item2.product.photo)} alt="Product Image">`);
              } else {
                _push(`<img class="me-2 h-8 w-8 self-start rounded-xs" src="img/no-image.png" alt="No Image">`);
              }
              _push(`<!--]-->`);
            } else {
              _push(`<!---->`);
            }
            _push(`<div>${ssrInterpolate(item2.product?.name || "")} `);
            if (item2.comment) {
              _push(`<div class="${ssrRenderClass(item2.product?.name ? "text-xs" : "")}">${ssrInterpolate(item2.comment)}</div>`);
            } else {
              _push(`<!---->`);
            }
            _push(`</div></div></td>`);
            if (typeConfig.value.showPrices !== false) {
              _push(`<td class="border border-gray-300 p-2 text-end dark:border-gray-700">${ssrInterpolate(_ctx.$number(item2[typeConfig.value.priceField]))}</td>`);
            } else {
              _push(`<!---->`);
            }
            _push(`<td class="border border-gray-300 p-2 text-center dark:border-gray-700"><div class="flex items-center justify-center">${ssrInterpolate(_ctx.$number_qty(item2.quantity))}${ssrInterpolate(item2.unit?.code || "")}</div></td>`);
            if (typeConfig.value.showPrices !== false) {
              _push(`<!--[-->`);
              if (unref(page).props.settings.show_discount == 1) {
                _push(`<td class="border border-gray-300 p-2 text-end font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$number(item2.discount_amount))}</td>`);
              } else {
                _push(`<!---->`);
              }
              if (unref(page).props.settings.show_tax == 1) {
                _push(`<td class="border border-gray-300 p-2 text-end font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$number(item2.tax_amount))}</td>`);
              } else {
                _push(`<!---->`);
              }
              _push(`<td class="border border-gray-300 p-2 text-end font-bold dark:border-gray-700">${ssrInterpolate(_ctx.$number(item2.total))}</td><!--]-->`);
            } else {
              _push(`<!---->`);
            }
            _push(`</tr></tbody>`);
          }
          _push(`<!--]-->`);
        });
        _push(`<!--]--></table></div>`);
        if (typeConfig.value.showPrices !== false) {
          _push(`<div class="mt-6 flex break-inside-avoid justify-between gap-x-6 text-sm"><div class="max-w-sm"></div><div class="max-w-xs text-end"><div class="flex gap-x-6"><div class="grow font-semibold">${ssrInterpolate(_ctx.$t("Subtotal"))}</div><div class="w-24 font-bold">${ssrInterpolate(_ctx.$currency(__props.record.subtotal))}</div></div><div class="mt-1 flex gap-x-6"><div class="grow font-semibold">${ssrInterpolate(_ctx.$t("Tax"))}</div><div class="w-24">${ssrInterpolate(_ctx.$currency(__props.record.total_tax_amount))}</div></div>`);
          if (__props.record.total_discount_amount > 0) {
            _push(`<div class="mt-1 flex gap-x-6"><div class="grow font-semibold">${ssrInterpolate(_ctx.$t("Discount"))}</div><div class="w-24">${ssrInterpolate(_ctx.$currency(__props.record.total_discount_amount))}</div></div>`);
          } else {
            _push(`<!---->`);
          }
          _push(`<div class="mt-3 flex gap-x-6 border-t border-gray-400 pt-3 text-lg font-bold dark:border-gray-600"><div class="grow">${ssrInterpolate(_ctx.$t("Grand Total"))}</div><div class="w-24">${ssrInterpolate(_ctx.$currency(__props.record.grand_total))}</div></div>`);
          if (typeConfig.value.showPaid) {
            _push(`<div class="mt-1 flex gap-x-6"><div class="grow font-semibold">${ssrInterpolate(_ctx.$t("Paid"))}</div><div class="w-24 font-bold">${ssrInterpolate(_ctx.$currency(__props.record.paid))}</div></div>`);
          } else {
            _push(`<!---->`);
          }
          if (typeConfig.value.showBalance) {
            _push(`<div class="mt-1 flex gap-x-6"><div class="grow font-semibold">${ssrInterpolate(_ctx.$t("Balance"))}</div><div class="w-24 font-bold">${ssrInterpolate(_ctx.$currency(__props.record.grand_total - __props.record.paid))}</div></div>`);
          } else {
            _push(`<!---->`);
          }
          _push(`</div></div>`);
        } else {
          _push(`<div class="mt-4 flex justify-center"><div class="font-bold">${ssrInterpolate(_ctx.$t("Total Quantity"))}: ${ssrInterpolate(_ctx.$number_qty(__props.record.items.reduce((a2, i2) => Number(i2.quantity) + a2, 0)))}</div></div>`);
        }
        _push(`</div>`);
      } else {
        _push(`<!---->`);
      }
      _push(`<div class="-mx-4">`);
      ssrRenderSlot(_ctx.$slots, "amount", { record: __props.record }, null, _push, _parent);
      _push(`</div>`);
      _push(ssrRenderComponent(unref(_sfc_main$7), {
        modal: false,
        fields: __props.custom_fields,
        title: _ctx.$t("Custom Fields"),
        extra_attributes: __props.record.extra_attributes
      }, null, _parent));
      if (__props.record.details) {
        _push(`<div class="rounded-md border border-gray-300 p-4 text-sm dark:border-gray-700">${ssrInterpolate(__props.record.details)}</div>`);
      } else {
        _push(`<!---->`);
      }
      if (__props.record.attachments && __props.record.attachments.length) {
        _push(`<div class="mt-8 w-full py-2 print:hidden">`);
        _push(ssrRenderComponent(unref(_sfc_main$u), {
          attachments: __props.record.attachments
        }, null, _parent));
        _push(`</div>`);
      } else {
        _push(`<!---->`);
      }
      _push(`</div>`);
      if (typeConfig.value.showPayments && __props.record.payments && __props.record.payments.length) {
        _push(`<div class="mx-6 mb-6 rounded-sm border border-gray-200 dark:border-gray-700 print:hidden"><h4 class="border-b border-gray-200 px-4 py-2 text-base font-extrabold dark:border-gray-700">${ssrInterpolate(_ctx.$t("Payments"))}</h4><div class="-m-px"><table class="w-full divide-y divide-gray-200 text-sm dark:divide-gray-700"><thead><tr><th class="w-[140px] p-2 text-start font-bold uppercase">${ssrInterpolate(_ctx.$t("Date"))}</th><th class="p-2 text-start font-bold uppercase">${ssrInterpolate(_ctx.$t("Reference"))}</th><th class="w-[100px] p-2 text-start font-bold uppercase">${ssrInterpolate(_ctx.$t("Method"))}</th><th class="w-[120px] p-2 text-center font-bold uppercase">${ssrInterpolate(_ctx.$t("Amount"))}</th></tr></thead><tbody><!--[-->`);
        ssrRenderList(__props.record.payments, (p2) => {
          _push(`<tr><td class="p-2 whitespace-nowrap">${ssrInterpolate(_ctx.$date(p2.date))}</td><td class="p-2">${ssrInterpolate(p2.reference)}</td><td class="p-2 whitespace-nowrap">${ssrInterpolate(_ctx.$t(p2.method))}</td><td class="p-2 text-end">${ssrInterpolate(_ctx.$currency(p2.amount))}</td></tr>`);
        });
        _push(`<!--]--></tbody></table></div></div>`);
      } else {
        _push(`<!---->`);
      }
      if (__props.showPackingList) {
        _push(ssrRenderComponent(unref(_sfc_main$L), {
          show: packing.value,
          "max-width": "2xl",
          onClose: ($event) => packing.value = false,
          class: "modal-2"
        }, {
          default: withCtx((_2, _push2, _parent2, _scopeId) => {
            if (_push2) {
              _push2(ssrRenderComponent(_sfc_main$5, {
                record: __props.record,
                type: __props.type
              }, null, _parent2, _scopeId));
            } else {
              return [
                createVNode(_sfc_main$5, {
                  record: __props.record,
                  type: __props.type
                }, null, 8, ["record", "type"])
              ];
            }
          }),
          _: 1
        }, _parent));
      } else {
        _push(`<!---->`);
      }
      _push(`</div>`);
    };
  }
};
const _sfc_setup$1 = _sfc_main$1.setup;
_sfc_main$1.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Components/Templates/TemplateTwo.vue");
  return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
};
const mixin = {
  computed: {
    $isAdmin() {
      return this.$page.props.auth.user && this.$page.props.auth.user.roles.find((r2) => r2.name == "Super Admin");
    },
    $company() {
      return this.$page.props.company;
    },
    $settings() {
      return this.$page.props.settings;
    }
  },
  methods: {
    $title(string) {
      return $capitalize(string);
    },
    $capitalize(string) {
      return string.charAt(0).toUpperCase() + string.slice(1);
    },
    $hasRole(name) {
      if (this.$isAdmin) {
        return this.$page.props.is_impersonating ? this.$page.props.acting_as_user?.roles?.find((r2) => r2.name == name) : true;
      }
      return this.$page.props.auth.user && this.$page.props.auth.user.roles.find((r2) => r2.name == name) || this.$page.props.acting_as_user?.roles?.find((r2) => r2.name == name);
    },
    $extra_attributes(extras) {
      return Object.keys(extras).map((k2) => {
        return '<div><span class="text-gray-500 dark:text-gray-400">' + k2 + ":</span> " + extras[k2] + "</div>";
      }).join("");
    },
    $address(row) {
      return $address(row);
    },
    $decimal(amount) {
      return $decimal(amount);
    },
    $decimal_qty(amount) {
      return $decimal_qty(amount);
    },
    $number(amount, locale, options) {
      return $number(amount, locale, options);
    },
    $currency(amount, locale, options) {
      return $currency(amount, locale, options);
    },
    $number_qty(amount, unit2, locale, options) {
      return $number_qty(amount, unit2, locale, options);
    },
    $weight(amount, locale, options) {
      return $weight(amount, locale, options);
    },
    $date(date, locale, style, force = false) {
      return $date(date, locale, style, force);
    },
    $isValidDate(date) {
      return isValidDate(date);
    },
    $datetime(datetime, locale, style, force = false) {
      return $datetime(datetime, locale, style, force);
    },
    $boolean(v2, c2 = false) {
      return $boolean(v2, c2);
    },
    $can(permissions) {
      return $can(permissions);
    },
    $meta(obj) {
      return $meta(obj);
    },
    $parseNumber(amount, locale) {
      if (!locale || locale.length != 2 && locale.length != 5) {
        locale = this.$page.props.settings.default_locale;
      }
      var thousandSeparator = Intl.NumberFormat(locale).format(11111).replace(new RegExp("\\p{Number}", "gu"), "");
      var decimalSeparator = Intl.NumberFormat(locale).format(1.1).replace(new RegExp("\\p{Number}", "gu"), "");
      return parseFloat(amount.replace(new RegExp("\\" + thousandSeparator, "g"), "").replace(new RegExp("\\" + decimalSeparator), "."));
    },
    $formatJSDate(date) {
      var d2 = new Date(date), month = "" + (d2.getMonth() + 1), day = "" + d2.getDate(), year = d2.getFullYear();
      if (month.length < 2) month = "0" + month;
      if (day.length < 2) day = "0" + day;
      return [year, month, day].join("-");
    },
    $dateDay(date, locale) {
      let formatted = new Date(Date.parse(date));
      if (!locale || locale.length != 2 && locale.length != 5) {
        locale = this.$page.props.settings.default_locale;
      }
      try {
        return formatted.toLocaleString(locale, { day: "numeric", weekday: "short" });
      } catch {
        return formatted.toLocaleString("en-US", { day: "numeric", weekday: "short" });
      }
    },
    $month(month, locale, style = "short") {
      let formatted = new Date(Date.parse(month));
      if (!locale || locale.length != 2 && locale.length != 5) {
        locale = this.$page.props.settings.default_locale;
      }
      try {
        return formatted.toLocaleString(locale, { month: style, year: "numeric" });
      } catch {
        return formatted.toLocaleString("en-US", { month: style, year: "numeric" });
      }
    },
    $monthName(month, locale, style = "long") {
      let formatted = new Date(Date.parse(month));
      if (!locale || locale.length != 2 && locale.length != 5) {
        locale = this.$page.props.settings.default_locale;
      }
      try {
        return formatted.toLocaleString(locale, { month: style });
      } catch {
        return formatted.toLocaleString("en-US", { month: style });
      }
    },
    $time(date, locale) {
      let formatted = new Date(Date.parse(date));
      if (!locale || locale.length != 2 && locale.length != 5) {
        locale = this.$page.props.settings.default_locale;
      }
      try {
        return formatted.toLocaleString(locale, {
          timeStyle: "short",
          hour12: true
          // this.$page.props.settings.hour12 == 1
        });
      } catch {
        return formatted.toLocaleString("en-US", {
          timeStyle: "short",
          hour12: true
          // this.$page.props.settings.hour12 == 1
        });
      }
    }
  }
};
const _sfc_main = {};
function _sfc_ssrRender(_ctx, _push, _parent, _attrs) {
  _push(`<header${ssrRenderAttrs(mergeProps({ class: "flex items-start justify-between gap-x-6 border-b border-gray-200 px-4 py-3 sm:px-6 md:items-center lg:px-8 dark:border-gray-700" }, _attrs))}><div><h1 class="text-focus text-base leading-7 font-semibold">`);
  ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
  _push(`</h1><p class="text-mute mt-0.5 text-sm">`);
  ssrRenderSlot(_ctx.$slots, "subheading", {}, null, _push, _parent);
  _push(`</p></div><div class="z-1">`);
  ssrRenderSlot(_ctx.$slots, "menu", {}, null, _push, _parent);
  _push(`</div></header>`);
}
const _sfc_setup = _sfc_main.setup;
_sfc_main.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Layouts/Components/Header.vue");
  return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};
const Header = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
const appName = "SMA SaaS";
createServer(
  (page) => createInertiaApp({
    page,
    render: renderToString,
    title: (title) => `${title} - ${appName}`,
    resolve: (name) => {
      const pages = /* @__PURE__ */ Object.assign({ "./Pages/API/Index.vue": () => import("./assets/Index-CVP0n-JU.js"), "./Pages/API/Partials/ApiTokenManager.vue": () => import("./assets/ApiTokenManager-CNA6tkZW.js"), "./Pages/Auth/ConfirmPassword.vue": () => import("./assets/ConfirmPassword-ksMr0aDY.js"), "./Pages/Auth/ForgotPassword.vue": () => import("./assets/ForgotPassword-PYX_FOHq.js"), "./Pages/Auth/Login.vue": () => import("./assets/Login-CaYUMJpI.js"), "./Pages/Auth/Register.vue": () => import("./assets/Register-Bi21CM6L.js"), "./Pages/Auth/ResetPassword.vue": () => import("./assets/ResetPassword-Bd-ysoRd.js"), "./Pages/Auth/TwoFactorChallenge.vue": () => import("./assets/TwoFactorChallenge-9VFO_r0u.js"), "./Pages/Auth/VerifyEmail.vue": () => import("./assets/VerifyEmail-LLlghseD.js"), "./Pages/Error.vue": () => import("./assets/Error-Cd6rq40D.js"), "./Pages/PrivacyPolicy.vue": () => import("./assets/PrivacyPolicy-Db70eAuW.js"), "./Pages/Profile/Partials/DeleteUserForm.vue": () => import("./assets/DeleteUserForm-o5Fir1RV.js"), "./Pages/Profile/Partials/LogoutOtherBrowserSessionsForm.vue": () => import("./assets/LogoutOtherBrowserSessionsForm-DOmv_7mi.js"), "./Pages/Profile/Partials/TwoFactorAuthenticationForm.vue": () => import("./assets/TwoFactorAuthenticationForm-Xt7sI1eb.js"), "./Pages/Profile/Partials/UpdatePasswordForm.vue": () => import("./assets/UpdatePasswordForm-eKEhoFK1.js"), "./Pages/Profile/Partials/UpdateProfileInformationForm.vue": () => import("./assets/UpdateProfileInformationForm-B7zWXfDC.js"), "./Pages/Profile/Show.vue": () => import("./assets/Show-C1HFyToV.js"), "./Pages/Public/RepairStatus.vue": () => import("./assets/RepairStatus-DFUPdHAS.js"), "./Pages/Sma/Accounting/Account/Form.vue": () => import("./assets/Form-BbbJCT_B.js"), "./Pages/Sma/Accounting/Account/Index.vue": () => import("./assets/Index-Dglit5pq.js"), "./Pages/Sma/Accounting/Account/Statement.vue": () => import("./assets/Statement-CZ-FRjV0.js"), "./Pages/Sma/Accounting/AccountTransaction/Form.vue": () => import("./assets/Form-DGSyKlXG.js"), "./Pages/Sma/Accounting/AccountTransaction/Index.vue": () => import("./assets/Index-BvdDPnVf.js"), "./Pages/Sma/Accounting/AccountTransfer/Form.vue": () => import("./assets/Form-D0M4D-wX.js"), "./Pages/Sma/Accounting/AccountTransfer/Index.vue": () => import("./assets/Index-BTNw-XWY.js"), "./Pages/Sma/Accounting/AccountType/Form.vue": () => import("./assets/Form-tKUJm9E3.js"), "./Pages/Sma/Accounting/AccountType/Index.vue": () => import("./assets/Index-aorme7bU.js"), "./Pages/Sma/Accounting/Asset/Form.vue": () => import("./assets/Form-BDCTvDRU.js"), "./Pages/Sma/Accounting/Asset/Index.vue": () => import("./assets/Index-KxIv8-1-.js"), "./Pages/Sma/Accounting/AssetAllocation/Form.vue": () => import("./assets/Form-_xrXRFou.js"), "./Pages/Sma/Accounting/AssetAllocation/Index.vue": () => import("./assets/Index-BUw3w1Id.js"), "./Pages/Sma/Accounting/AssetCategory/Form.vue": () => import("./assets/Form-D2uObyJL.js"), "./Pages/Sma/Accounting/AssetCategory/Index.vue": () => import("./assets/Index-DDywO10E.js"), "./Pages/Sma/Accounting/AssetMaintenance/Form.vue": () => import("./assets/Form-D6naLur0.js"), "./Pages/Sma/Accounting/AssetMaintenance/Index.vue": () => import("./assets/Index-BhYH8jS7.js"), "./Pages/Sma/Dashboard.vue": () => import("./assets/Dashboard-C5POFQ0T.js"), "./Pages/Sma/Order/Delivery/Form.vue": () => import("./assets/Form-C2JCI_Uj.js"), "./Pages/Sma/Order/Delivery/Index.vue": () => import("./assets/Index-wyct8WZ_.js"), "./Pages/Sma/Order/Delivery/QuickView.vue": () => import("./assets/QuickView-B3h-jGH_.js"), "./Pages/Sma/Order/Expense/Form.vue": () => import("./assets/Form-DQJKr6Di.js"), "./Pages/Sma/Order/Expense/Index.vue": () => import("./assets/Index-CXV8sprN.js"), "./Pages/Sma/Order/Expense/QuickView.vue": () => import("./assets/QuickView-BeR2ck_r.js"), "./Pages/Sma/Order/GiftCard/Form.vue": () => import("./assets/Form-DilWFf9e.js"), "./Pages/Sma/Order/GiftCard/Index.vue": () => import("./assets/Index-AmNHmhXa.js"), "./Pages/Sma/Order/GiftCard/Logs.vue": () => import("./assets/Logs-DFl_POO6.js"), "./Pages/Sma/Order/GiftCard/Topup.vue": () => import("./assets/Topup-Uo66rwgS.js"), "./Pages/Sma/Order/Income/Form.vue": () => import("./assets/Form-Dlc8RHc3.js"), "./Pages/Sma/Order/Income/Index.vue": () => import("./assets/Index-BhUi-k9b.js"), "./Pages/Sma/Order/Income/QuickView.vue": () => import("./assets/QuickView-Do87Y5-s.js"), "./Pages/Sma/Order/Payment/Form.vue": () => import("./assets/Form-CjOrK6Hk.js"), "./Pages/Sma/Order/Payment/Index.vue": () => import("./assets/Index-BVpN24Gv.js"), "./Pages/Sma/Order/Payment/QuickView.vue": () => import("./assets/QuickView-Dm-op8At.js"), "./Pages/Sma/Order/Payment/View.vue": () => import("./assets/View-Poq22ec_.js"), "./Pages/Sma/Order/Purchase/Form.vue": () => import("./assets/Form-B4EI5UM5.js"), "./Pages/Sma/Order/Purchase/Index.vue": () => import("./assets/Index-B_GOIKeN.js"), "./Pages/Sma/Order/Purchase/QuickView.vue": () => import("./assets/QuickView-tP13xyEp.js"), "./Pages/Sma/Order/Purchase/View.vue": () => import("./assets/View-BhTZfdY4.js"), "./Pages/Sma/Order/Quotation/Form.vue": () => import("./assets/Form-d0h5ypC4.js"), "./Pages/Sma/Order/Quotation/Index.vue": () => import("./assets/Index-lxmHzy2Z.js"), "./Pages/Sma/Order/Quotation/QuickView.vue": () => import("./assets/QuickView-TL6q8VqL.js"), "./Pages/Sma/Order/Quotation/View.vue": () => import("./assets/View-BMMgmm_q.js"), "./Pages/Sma/Order/ReturnOrder/Form.vue": () => import("./assets/Form-P3GsdJw1.js"), "./Pages/Sma/Order/ReturnOrder/Index.vue": () => import("./assets/Index-C-3ijqF0.js"), "./Pages/Sma/Order/ReturnOrder/QuickView.vue": () => import("./assets/QuickView-DfB1rF51.js"), "./Pages/Sma/Order/ReturnOrder/View.vue": () => import("./assets/View-R_aCdZpc.js"), "./Pages/Sma/Order/Sale/Form.vue": () => import("./assets/Form-1dNn07-Y.js"), "./Pages/Sma/Order/Sale/Index.vue": () => import("./assets/Index-DWNX5bNU.js"), "./Pages/Sma/Order/Sale/QuickView.vue": () => import("./assets/QuickView-CBaPqMrE.js"), "./Pages/Sma/Order/Sale/View.vue": () => import("./assets/View-eiNdbY9S.js"), "./Pages/Sma/People/Address/Form.vue": () => import("./assets/Form-uqFen3dS.js"), "./Pages/Sma/People/Address/Index.vue": () => import("./assets/Index-vK_7XuSa.js"), "./Pages/Sma/People/Customer/Form.vue": () => import("./assets/Form-CmpQ93Bo.js"), "./Pages/Sma/People/Customer/Import.vue": () => import("./assets/Import-Cu2Ao_WW.js"), "./Pages/Sma/People/Customer/Index.vue": () => import("./assets/Index-ORj3n9T0.js"), "./Pages/Sma/People/Customer/Statement.vue": () => import("./assets/Statement-Dv5uANfI.js"), "./Pages/Sma/People/Customer/View.vue": () => import("./assets/View-IduA8Y8s.js"), "./Pages/Sma/People/CustomerGroup/Form.vue": () => import("./assets/Form-Cq6HM65j.js"), "./Pages/Sma/People/CustomerGroup/Index.vue": () => import("./assets/Index-B7eRylNj.js"), "./Pages/Sma/People/PriceGroup/Form.vue": () => import("./assets/Form-CaxrbiHH.js"), "./Pages/Sma/People/PriceGroup/Index.vue": () => import("./assets/Index-CcC68A_T.js"), "./Pages/Sma/People/Role/Form.vue": () => import("./assets/Form-vJvhIUWJ.js"), "./Pages/Sma/People/Role/Index.vue": () => import("./assets/Index-BqlJxjzv.js"), "./Pages/Sma/People/Supplier/Form.vue": () => import("./assets/Form-CUTJRLTU.js"), "./Pages/Sma/People/Supplier/Import.vue": () => import("./assets/Import-DTkCQmPQ.js"), "./Pages/Sma/People/Supplier/Index.vue": () => import("./assets/Index-BGdxClgl.js"), "./Pages/Sma/People/Supplier/Statement.vue": () => import("./assets/Statement-BOhpsX4l.js"), "./Pages/Sma/People/Supplier/View.vue": () => import("./assets/View-CN1XoDt8.js"), "./Pages/Sma/People/User/Form.vue": () => import("./assets/Form-MQVNFqQg.js"), "./Pages/Sma/People/User/Index.vue": () => import("./assets/Index-cySGx21N.js"), "./Pages/Sma/People/User/View.vue": () => import("./assets/View-Dz1L3uXp.js"), "./Pages/Sma/Pos/Components/AddGiftCard.vue": () => import("./assets/AddGiftCard-DDc28fEQ.js"), "./Pages/Sma/Pos/Components/FinalizeSale.vue": () => import("./assets/FinalizeSale-B-ECyH7u.js"), "./Pages/Sma/Pos/Components/FormActions.vue": () => import("./assets/FormActions-CdcmoHmT.js"), "./Pages/Sma/Pos/Components/FormItem.vue": () => import("./assets/FormItem-Cyvlp6q6.js"), "./Pages/Sma/Pos/Components/Keyboard/KeyBoard.vue": () => Promise.resolve().then(() => KeyBoard$1), "./Pages/Sma/Pos/Components/OpenOrder.vue": () => import("./assets/OpenOrder-BtYbW7mv.js"), "./Pages/Sma/Pos/Components/OpenRegister.vue": () => import("./assets/OpenRegister-DV9kVVJ3.js"), "./Pages/Sma/Pos/Components/OrderDiscount.vue": () => import("./assets/OrderDiscount-DO9fdkw7.js"), "./Pages/Sma/Pos/Components/OrderSummary.vue": () => import("./assets/OrderSummary-CRH4BSJ8.js"), "./Pages/Sma/Pos/Components/PrintBill.vue": () => import("./assets/PrintBill-DTWrRwL2.js"), "./Pages/Sma/Pos/Components/PrintOrder.vue": () => import("./assets/PrintOrder-DKz6_tOb.js"), "./Pages/Sma/Pos/Components/PrintReceipt.vue": () => import("./assets/PrintReceipt-CgjA-UU4.js"), "./Pages/Sma/Pos/Components/RegisterDetails.vue": () => import("./assets/RegisterDetails-BTMTGPz_.js"), "./Pages/Sma/Pos/Components/ShowOrders.vue": () => import("./assets/ShowOrders-BY2_ltmv.js"), "./Pages/Sma/Pos/Components/ShowQrOrders.vue": () => import("./assets/ShowQrOrders-Dt0cSAC5.js"), "./Pages/Sma/Pos/Components/UpdateFormItem.vue": () => import("./assets/UpdateFormItem-XcZvcQm9.js"), "./Pages/Sma/Pos/Components/VerifyPinCode.vue": () => import("./assets/VerifyPinCode-mQb7Dovq.js"), "./Pages/Sma/Pos/CustomerView.vue": () => import("./assets/CustomerView-DaZyhkKJ.js"), "./Pages/Sma/Pos/Hall/Form.vue": () => import("./assets/Form-DcFxPIoa.js"), "./Pages/Sma/Pos/Hall/Index.vue": () => import("./assets/Index-CLcmyqC9.js"), "./Pages/Sma/Pos/Modern.vue": () => import("./assets/Modern-DsjVaudz.js"), "./Pages/Sma/Pos/Orders.vue": () => import("./assets/Orders-CrMlYTWG.js"), "./Pages/Sma/Pos/QrCode/Index.vue": () => import("./assets/Index-Cvnzwxtj.js"), "./Pages/Sma/Pos/RegistersReport.vue": () => import("./assets/RegistersReport-C7YDrsC1.js"), "./Pages/Sma/Pos/Setting.vue": () => import("./assets/Setting-Y2pj7HHN.js"), "./Pages/Sma/Pos/Simple.vue": () => import("./assets/Simple-DXeu5c-b.js"), "./Pages/Sma/Pos/Table/Form.vue": () => import("./assets/Form-CGIs1goe.js"), "./Pages/Sma/Pos/Table/Index.vue": () => import("./assets/Index-LUzFL6bJ.js"), "./Pages/Sma/Product/Adjustment/Form.vue": () => import("./assets/Form-61PRZ1qA.js"), "./Pages/Sma/Product/Adjustment/Index.vue": () => import("./assets/Index-BFhVRcvy.js"), "./Pages/Sma/Product/Adjustment/QuickView.vue": () => import("./assets/QuickView-Cx9WM4ka.js"), "./Pages/Sma/Product/Brand/Form.vue": () => import("./assets/Form-ClQm4H_T.js"), "./Pages/Sma/Product/Brand/Import.vue": () => import("./assets/Import-BhFtsBGK.js"), "./Pages/Sma/Product/Brand/Index.vue": () => import("./assets/Index-DP57JG7X.js"), "./Pages/Sma/Product/Category/Form.vue": () => import("./assets/Form-tUjXlMzq.js"), "./Pages/Sma/Product/Category/Import.vue": () => import("./assets/Import-B5EMgsnC.js"), "./Pages/Sma/Product/Category/Index.vue": () => import("./assets/Index-BOfUz5YA.js"), "./Pages/Sma/Product/Form.vue": () => import("./assets/Form-Bq5XwqwA.js"), "./Pages/Sma/Product/Import.vue": () => import("./assets/Import-BCIuHMaK.js"), "./Pages/Sma/Product/Index.vue": () => import("./assets/Index-DhJBs_C5.js"), "./Pages/Sma/Product/Label.vue": () => import("./assets/Label-D9FVJ9PG.js"), "./Pages/Sma/Product/Promotion/Form.vue": () => import("./assets/Form-CLoa0lee.js"), "./Pages/Sma/Product/Promotion/Index.vue": () => import("./assets/Index-DFy_95ra.js"), "./Pages/Sma/Product/QuickView.vue": () => import("./assets/QuickView-El7CEqZz.js"), "./Pages/Sma/Product/StockCount/Form.vue": () => import("./assets/Form-CS1jSQY9.js"), "./Pages/Sma/Product/StockCount/Index.vue": () => import("./assets/Index-NRLkWSHG.js"), "./Pages/Sma/Product/StockCount/QuickView.vue": () => import("./assets/QuickView-DDUD5b6B.js"), "./Pages/Sma/Product/Track.vue": () => import("./assets/Track-Bj2aED8x.js"), "./Pages/Sma/Product/Transfer/Form.vue": () => import("./assets/Form-CrahKTFe.js"), "./Pages/Sma/Product/Transfer/Index.vue": () => import("./assets/Index-DRjL5Weu.js"), "./Pages/Sma/Product/Transfer/QuickView.vue": () => import("./assets/QuickView-CyEmTfsu.js"), "./Pages/Sma/Product/Transfer/View.vue": () => import("./assets/View-DgNUNI7_.js"), "./Pages/Sma/Product/Unit/Form.vue": () => import("./assets/Form-D4_hWQOY.js"), "./Pages/Sma/Product/Unit/Index.vue": () => import("./assets/Index-wkEqy043.js"), "./Pages/Sma/Repair/RepairOrder/Form.vue": () => import("./assets/Form-COyqQ41F.js"), "./Pages/Sma/Repair/RepairOrder/Index.vue": () => import("./assets/Index-Ic_xmtva.js"), "./Pages/Sma/Repair/RepairOrder/QuickView.vue": () => import("./assets/QuickView-DIPyHkR1.js"), "./Pages/Sma/Repair/ServiceType/Form.vue": () => import("./assets/Form-DaqnjOes.js"), "./Pages/Sma/Repair/ServiceType/Index.vue": () => import("./assets/Index-BP_g-qzh.js"), "./Pages/Sma/Repair/Technician/Form.vue": () => import("./assets/Form-DeYwk6nw.js"), "./Pages/Sma/Repair/Technician/Index.vue": () => import("./assets/Index-D3HQh8tc.js"), "./Pages/Sma/Report/Activity.vue": () => import("./assets/Activity-B6S_Onwf.js"), "./Pages/Sma/Report/Adjustment.vue": () => import("./assets/Adjustment-BFerKBD9.js"), "./Pages/Sma/Report/Brand.vue": () => import("./assets/Brand-BTF2qEmb.js"), "./Pages/Sma/Report/Category.vue": () => import("./assets/Category-Bc-5ydg2.js"), "./Pages/Sma/Report/Customer.vue": () => import("./assets/Customer-DL0cPhl4.js"), "./Pages/Sma/Report/DailySales.vue": () => import("./assets/DailySales-B5mkdWQ6.js"), "./Pages/Sma/Report/Expense.vue": () => import("./assets/Expense-CZRZIobs.js"), "./Pages/Sma/Report/Form.vue": () => import("./assets/Form-oUZjicUF.js"), "./Pages/Sma/Report/MonthlySales.vue": () => import("./assets/MonthlySales-8M0usbJ_.js"), "./Pages/Sma/Report/Payment.vue": () => import("./assets/Payment-BuNWag3z.js"), "./Pages/Sma/Report/Product.vue": () => import("./assets/Product-Dwi1kQOY.js"), "./Pages/Sma/Report/ProfitLoss.vue": () => import("./assets/ProfitLoss-Bh1Vp1X3.js"), "./Pages/Sma/Report/Purchase.vue": () => import("./assets/Purchase-BxbTlj9z.js"), "./Pages/Sma/Report/ReturnOrder.vue": () => import("./assets/ReturnOrder-pqUhLfzh.js"), "./Pages/Sma/Report/Sale.vue": () => import("./assets/Sale-BeV-zbRW.js"), "./Pages/Sma/Report/Staff.vue": () => import("./assets/Staff-CUDDyqFB.js"), "./Pages/Sma/Report/Supplier.vue": () => import("./assets/Supplier-DRuGCgVh.js"), "./Pages/Sma/Report/Transfer.vue": () => import("./assets/Transfer-DUy_qPJE.js"), "./Pages/Sma/Setting/CustomField/Form.vue": () => import("./assets/Form-5So6MRHj.js"), "./Pages/Sma/Setting/CustomField/Index.vue": () => import("./assets/Index-BM3WMOPJ.js"), "./Pages/Sma/Setting/Index.vue": () => import("./assets/Index-Cje8wVfe.js"), "./Pages/Sma/Setting/Mail.vue": () => import("./assets/Mail-vAaC-vRr.js"), "./Pages/Sma/Setting/Payment.vue": () => import("./assets/Payment-D6xV8reg.js"), "./Pages/Sma/Setting/ScaleBarcode.vue": () => import("./assets/ScaleBarcode-D_VZYbKG.js"), "./Pages/Sma/Setting/ScaleBarcodeDrawer.vue": () => import("./assets/ScaleBarcodeDrawer-DFwIyL08.js"), "./Pages/Sma/Setting/Store/Form.vue": () => import("./assets/Form-Ch5dbVGX.js"), "./Pages/Sma/Setting/Store/Index.vue": () => import("./assets/Index-CreoY5MY.js"), "./Pages/Sma/Setting/Tax/Form.vue": () => import("./assets/Form-CCgGBqKa.js"), "./Pages/Sma/Setting/Tax/Index.vue": () => import("./assets/Index-BJnVqdyb.js"), "./Pages/Sma/Setting/V3Import.vue": () => import("./assets/V3Import-DYGbp7Zi.js"), "./Pages/TermsOfService.vue": () => import("./assets/TermsOfService-Bv9oX2zw.js"), "./Pages/Welcome.vue": () => import("./assets/Welcome-DjrY8wTu.js") });
      return pages[`./Pages/${name}.vue`];
    },
    setup({ App, props, plugin }) {
      router.on("success", (event) => {
        if (event.detail.page.props.flash?.message) {
          notify({
            group: "main",
            type: "success",
            title: "Success!",
            text: event.detail.page.props.flash.message
          });
        }
        if (event.detail.page.props.flash?.error) {
          notify({
            group: "main",
            type: "error",
            title: "Failed!",
            text: event.detail.page.props.flash.error
          });
        }
      });
      router.on("error", (errors) => {
        notify(
          {
            group: "main",
            type: "error",
            title: "Failed!",
            text: Object.values(errors.detail.errors).join("<br />")
          },
          5e3
        );
      });
      return createSSRApp({
        render: () => h$1(App, props),
        mounted: () => {
          setTimeout(() => {
            document.addEventListener("keyup", shortcuts);
            document.getElementById("app-loading").style.display = "none";
          }, 250);
        },
        beforeDestroy() {
          document.removeEventListener("keyup", shortcuts);
        }
      }).use(i18n).use(plugin).mixin(mixin).use(U).use(Notifications$1).component("Head", Head).component("Icon", _sfc_main$6).component("Link", Link).component("Header", Header);
    }
  }),
  { cluster: true, port: 13721 }
);
export {
  $decimal as $,
  AuthenticationCard as A,
  _sfc_main$B as B,
  _sfc_main$v as C,
  getDocumentDirection as D,
  ApplicationLogo as E,
  _sfc_main$c as F,
  $currency as G,
  axios$1 as H,
  _sfc_main$o as I,
  $extras as J,
  _sfc_main$l as K,
  LANGUAGES as L,
  $address as M,
  _sfc_main$k as N,
  _sfc_main$u as O,
  P,
  _sfc_main$m as Q,
  _sfc_main$8 as R,
  SectionBorder as S,
  _sfc_main$4 as T,
  _sfc_main$2 as U,
  _sfc_main$1 as V,
  _sfc_main$3 as W,
  $random as X,
  _sfc_main$n as Y,
  calculate_item as Z,
  _sfc_main$A as _,
  _sfc_main$T as a,
  _sfc_main$e as a0,
  convert_to_base_unit as a1,
  discount_keypress as a2,
  check_promotions as a3,
  _sfc_main$b as a4,
  _sfc_main$7 as a5,
  vKeyboard as a6,
  _sfc_main$g as a7,
  _sfc_main$h as a8,
  $date as a9,
  $datetime as aa,
  $number as ab,
  $number_qty as ac,
  $meta as ad,
  $decimal_qty as ae,
  ApplicationMark as af,
  useClickOutside as ag,
  searchItems as ah,
  KeyBoard as ai,
  _sfc_main$a as aj,
  chunkArray as ak,
  _sfc_main$d as al,
  _sfc_main$H as b,
  _sfc_main$z as c,
  _sfc_main$F as d,
  _sfc_main$I as e,
  _sfc_main$M as f,
  _sfc_main$R as g,
  _sfc_main$J as h,
  _sfc_main$G as i,
  _sfc_main$K as j,
  _sfc_main$D as k,
  _sfc_main$r as l,
  _sfc_main$N as m,
  _sfc_main$E as n,
  _sfc_main$j as o,
  _sfc_main$q as p,
  _sfc_main$C as q,
  _sfc_main$s as r,
  _sfc_main$i as s,
  _sfc_main$w as t,
  _sfc_main$f as u,
  _sfc_main$L as v,
  _sfc_main$9 as w,
  _sfc_main$p as x,
  $can as y,
  _sfc_main$x as z
};
