Bakersfield Answering Service (2026) | Top 5 Compared | Zinng

Bakersfield Answering Service: Top 5 Compared (2026)

Bakersfield is California's energy capital: Kern County ranks first in the state and seventh nationally in oil production, fourth in the country for agricultural value with crops including almonds, grapes, and pistachios, a growing renewable energy sector with 5,000+ wind turbines in the Tehachapi-Mojave corridor, a healthcare network anchored by Bakersfield Memorial Hospital and Mercy Hospital, 420,000+ residents who are over 54% Hispanic, and one of the most affordable metro areas in the state. We reviewed five answering services against the demands of this energy-and-agriculture powerhouse.

Written by Timothy Bramlett ·

At a Glance

  • The best Bakersfield answering service for most businesses is Zinng, an AI-powered service at $49/month with 100 minutes included and $0.12/minute overage.
  • Traditional live answering services in Bakersfield range from $44/month (SAS, pay-as-you-go) to $720/month (Ruby, 200 minutes), with per-minute rates from $1.30 to $5.40.
  • Kern County ranks first in California and seventh nationally in oil production, with over 13,000 residents employed directly and indirectly in oil and gas. The county also ranks fourth in the U.S. for agricultural value, growing almonds, grapes, pistachios, citrus, and cotton.
  • Over 54% of Bakersfield residents are Hispanic or Latino, and 33.6% of households speak Spanish at home. Bilingual English/Spanish answering is a baseline requirement for energy, agricultural, healthcare, and legal businesses.
  • Zinng offers a 14-day free trial with no credit card required. Full call transcripts, bilingual support, spam filtering, and unlimited simultaneous calls included.

Why Bakersfield Businesses Need an Answering Service

Kern County produces more oil than any other county in California and ranks seventh in the entire nation. The same land that yields crude oil also ranks fourth nationally in agricultural value, with farms growing almonds, grapes, pistachios, citrus, carrots, and cotton across one of the most productive valleys on earth. Bakersfield sits at the center of both industries, a city of over 420,000 where pump jacks and pistachio orchards share the horizon along Highway 99.

But the economy here is shifting. The Tehachapi-Mojave wind corridor, just east of the city, runs more than 5,000 turbines and is expanding. Solar farms are spreading across the valley floor. Bakersfield is becoming a dual-energy city, where legacy petroleum companies and renewable energy developers compete for the same workforce and the same customers. Healthcare is the city's largest employment sector, with 14.3% of all jobs. Bakersfield Memorial Hospital operates 385 beds and a Nationally Certified Stroke Center. Mercy Hospital has served the community since 1910. Kern Medical handles 15,500 inpatients and 125,000 clinic outpatient visits annually as the county's safety-net hospital. And over 54% of residents are Hispanic or Latino, with one in three households speaking Spanish at home.

The people running these operations are not sitting by a phone. A wellsite supervisor is at a drilling rig in the Kern River Oil Field. A farm manager is coordinating an almond harvest in McFarland. An emergency physician at Bakersfield Memorial is stabilizing a trauma patient. An immigration attorney is in court at the Kern County Superior Courthouse. A wind turbine technician is 300 feet above the Tehachapi Pass. When the phone rings, it might be a buyer offering $4 million for a crude oil futures contract, a shipping company confirming a 40-foot container of pistachios bound for Shanghai, a patient requesting an urgent referral, or a family seeking legal help. Every one of those calls has a deadline. An answering service catches what Bakersfield's field-intensive economy would otherwise lose.

What Drives Bakersfield's Communication Needs

Bakersfield's economy generates communication demands unlike any other California city:

  • Oil and gas operations run on urgent, time-sensitive calls: Kern County's oil fields produce roughly 70% of California's crude. Over 13,000 residents work directly or indirectly in oil and gas extraction, refining, and distribution. An oilfield services company coordinates drilling crews, equipment rentals, safety inspections, environmental compliance, and buyer negotiations across shifts that run 24 hours a day. A call from a rig supervisor reporting an equipment failure at 2am needs immediate routing. A call from an environmental inspector scheduling a site visit needs documentation. A call from a crude oil buyer negotiating a purchase price needs to be captured verbatim. Traditional answering services struggle with the technical vocabulary of petroleum operations: API gravity readings, barrel-per-day production rates, H2S safety alerts, and well completion schedules. Every unanswered or poorly documented call carries financial and safety consequences.
  • Agriculture operates on biological deadlines that ignore business hours: Kern County's agricultural output places it fourth nationally by value. The crop calendar dictates everything: almond pollination in February, grape thinning in spring, pistachio harvest from September through October, citrus picking through winter. A packing house manager coordinating shipments of table grapes to Asian markets receives calls from freight brokers, cold storage facilities, USDA inspectors, and international buyers across every time zone. A pest control advisor answering a call about an armyworm infestation in an almond orchard needs to relay specific block numbers, acreage, and treatment urgency. Harvest season call volumes can double or triple overnight, then drop back to baseline within weeks. The answering service must scale with agricultural cycles without charging year-round for peak-season capacity.
  • Renewable energy is adding a second layer of industrial communication: The Tehachapi-Mojave wind corridor contains over 5,000 turbines and continues to expand. Solar developers are building utility-scale projects across the valley. Kern County ranks third in the nation for economic diversity partly because of this energy transition. Wind farm operators coordinate maintenance crews, parts suppliers, and grid interconnection engineers. Solar installers field residential and commercial inquiries from property owners seeing their neighbors go solar. The renewable sector brings its own vocabulary (inverter specifications, power purchase agreements, interconnection queue positions) and its own urgency (grid dispatch calls during peak generation hours). Bakersfield businesses now span legacy petroleum and emerging renewables, and the answering service must understand both.
  • Healthcare serves an underserved population across a vast geography: Healthcare employs 24,897 people in Bakersfield, more than any other sector. Bakersfield Memorial Hospital's 385 beds include 48 critical care beds and 13 surgical suites. Mercy Hospital Southwest is the only hospital west of Highway 99 in one of the city's fastest-growing areas. Kern Medical is the county safety-net hospital, handling 125,000 clinic visits per year for patients who often have limited insurance or access. Clinica Sierra Vista provides primary care to agricultural workers and their families across multiple locations. After-hours calls about prescriptions, test results, appointment changes, and urgent symptoms require HIPAA-compliant handling that protects patient information while ensuring the right message reaches the right provider.
  • Over 54% of the population is Hispanic or Latino: Bakersfield has no majority non-Hispanic group. The Hispanic community makes up 54.7% of residents, and 33.6% of all households speak Spanish at home. Agricultural workers, oil field laborers, healthcare patients, and small business owners communicate primarily in Spanish. A Spanish-speaking farmworker calling a clinic about heat exhaustion, a family calling an attorney about a workplace injury, or a homeowner requesting a solar installation quote all need to be understood in their language. Bilingual English/Spanish answering is not a premium feature in Bakersfield. It is a baseline requirement for reaching the majority of the city.
  • Affordability defines the business calculus: Bakersfield's median household income sits at $80,540, and the cost of living ranks among the lowest in California. Businesses locate here precisely because overhead is lower than in coastal cities. Office rent is a fraction of Los Angeles or San Francisco rates. Spending $250 to $720 per month on a traditional answering service undermines the cost advantage that brought businesses to Bakersfield in the first place. The right answering service should reflect the same value proposition that makes the city attractive: reliable quality at a price that makes sense for inland California economics.

Top 5 Answering Services for Bakersfield Businesses

We evaluated these services against Bakersfield's specific requirements: 24/7 coverage for oil field operations and agricultural emergencies, bilingual English/Spanish as a baseline for a majority-Hispanic city, HIPAA compliance for the region's largest employment sector, seasonal scalability for agricultural and energy cycles, and cost efficiency in one of California's most affordable metros.

1. Zinng: Best Overall (AI-Powered)

Zinng AI answering service homepage

Zinng answers every call with AI trained on your specific business. No hold queue when an oil field emergency and a pistachio buyer call at the same time. No quality difference between the call that arrives during a quiet Tuesday afternoon and the one that comes in at 3am during a wellsite incident. No cap on simultaneous calls during harvest season when every grower, packer, and freight broker is on the phone at once. For energy companies coordinating across drilling shifts, agricultural operations managing international export timelines, healthcare practices serving Kern County's underserved communities, and legal firms handling oil field injury and immigration cases, Zinng provides consistent coverage that never varies regardless of call volume or time of day.

Every call generates a verbatim transcript delivered by email with SMS alerts for urgent items. An oilfield services manager gets the exact well number, equipment failure description, and crew location from a rig supervisor who called at 1am. A pistachio exporter gets the precise container count, vessel name, and port arrival time from a Chinese buyer calling across a 15-hour time difference. A Bakersfield Memorial-affiliated cardiologist gets detailed symptoms, medication list, and insurance information from a patient calling after clinic hours. Verbatim transcription replaces the summarized notes that human operators produce with searchable, auditable records that energy companies, agricultural businesses, and medical practices can act on immediately.

  • Pricing: $49/month with 100 minutes included. Additional minutes at $0.12 each. Growth plan at $99/month with 250 minutes. Business plan at $199/month with 600 minutes.
  • Best for: Bakersfield businesses across oil and gas, agriculture, renewable energy, healthcare, and legal services that need affordable 24/7 coverage with HIPAA compliance, verbatim transcripts, bilingual support, and unlimited call capacity.
  • Key features: 24/7 AI answering, full call transcripts, SMS alerts for urgent calls, HIPAA compliant, custom call routing, spam blocking, appointment scheduling, bilingual support, 14-day free trial with no credit card.
  • Standout: A Bakersfield oil services company or medical practice handling 250 minutes pays $67 with Zinng ($49 + $18 overage). The next cheapest traditional option at that volume is MAP Communications at $179 for 125 minutes plus $162.50 in overage (125 extra minutes at $1.30), totaling $341.50. Over a year, the difference exceeds $3,294. In a city where businesses operate on oil field margins and agricultural commodity prices, that savings covers two months of office rent.

2. Ruby Receptionists: Best Premium Live Service

Ruby Receptionists homepage

Ruby Receptionists has built a reputation for courteous, highly trained live operators. The Portland-based company assigns real people to answer your phone, and callers consistently report positive experiences. For a Bakersfield law firm handling high-value oil field injury litigation, where first impressions with potential clients carry significant weight, Ruby's polished phone manner can set the right tone. Bilingual English/Spanish inbound answering is available 24/7 on all plans, which is non-negotiable in a city where over half the population is Hispanic.

Ruby offers 10 pricing tiers, starting with Call Ruby 50 at $250/month for 50 minutes. Outbound calling is limited to Monday through Friday, 5am to 6pm Pacific, which works for standard business operations but leaves gaps for oil field companies that need callbacks during evening and weekend shifts. Appointment scheduling and call routing are included. The brand recognition alone gives some business owners confidence, particularly professional services firms accustomed to paying a premium for quality.

  • Pricing: Call Ruby 50 at $250/month for 50 minutes ($5.40/min overage). Call Ruby 100 at $395/month for 100 minutes ($4.50/min overage). Call Ruby 200 at $720/month for 200 minutes ($4.40/min overage). Call Ruby 500 at $1,725/month for 500 minutes ($4.00/min overage).
  • Best for: Bakersfield law firms, financial advisors, and professional services businesses that prioritize a polished caller experience and can afford premium per-minute pricing.
  • Key features: Live virtual receptionists, bilingual inbound English/Spanish 24/7, outbound calling (Mon-Fri 5am-6pm PT), call routing, appointment scheduling, 10 pricing tiers.
  • Drawback: Ruby is the most expensive service on this list by a wide margin. The 200-minute plan costs $720/month, which works out to $3.60/min effective. A Bakersfield oilfield services company handling 200 minutes with Zinng pays $61. The $659/month difference buys a lot of pipe fittings. Ruby's outbound calling hours also do not extend to evenings or weekends, leaving oil field operations without callback capability during the shifts when incidents most commonly occur.

3. PATLive: Best for 24/7 Reliability

PATLive homepage

PATLive has been answering phones since 1990, making it one of the longest-running services in the industry. The Tallahassee-based company provides live receptionists around the clock, 365 days a year. For Bakersfield energy companies running 24-hour drilling operations, the guarantee of a human voice at any hour provides a level of assurance. PATLive handles call transfers, appointment scheduling, and order processing, covering the administrative tasks that oil field dispatchers, agricultural suppliers, and medical offices need managed when staff are unavailable.

The Flex Platform pricing starts at $235/month for 75 minutes on the Starter tier. Bilingual English/Spanish is available as a $20/month add-on rather than being included, which is a notable gap for a Bakersfield market where Spanish speakers represent the majority. Higher tiers offer more concurrent lines: Standard gives you 3, Premium gives 5, and Pro gives 10. For an agricultural operation that receives bursts of calls during harvest coordination, the multi-line capacity on higher plans prevents busy signals.

  • Pricing: Starter at $235/month for 75 minutes ($2.25/min overage, 1 line). Standard at $415/month for 200 minutes ($2.10/min overage, 3 lines). Premium at $650/month for 350 minutes ($1.90/min overage, 5 lines). Pro at $1,050/month for 600 minutes ($1.85/min overage, 10 lines).
  • Best for: Bakersfield energy and agricultural companies that value a proven track record and need multi-line capacity for peak call periods.
  • Key features: 24/7 live answering, bilingual English/Spanish ($20/mo add-on), appointment scheduling, order processing, call transfers, multiple concurrent lines on higher tiers.
  • Drawback: Bilingual support costs extra in a city where it should be standard. The Starter plan's single-line limit means a second caller gets a busy signal or voicemail during the exact moments you need coverage most. At 200 minutes, the Standard plan costs $415 compared to Zinng's $61. Over a year, that is $4,248 more, enough to fund an entire seasonal worker's wages during harvest. PATLive's 35-year track record is commendable, but the pricing model was designed for an era before AI made 24/7 answering dramatically more affordable.

4. MAP Communications: Most Budget-Friendly Traditional

MAP Communications homepage

MAP Communications is the only 100% employee-owned (ESOP) answering service on this list. Founded in 1990 and headquartered in Chesapeake, Virginia, the company offers the lowest traditional starting price at $49/month for a pay-per-minute base plan with zero included minutes. For a Bakersfield small business testing whether an answering service adds value, or a seasonal agricultural operation that only needs coverage during the three-month harvest window, MAP's flexible pay-as-you-go model minimizes risk.

MAP provides 24/7 live answering, bilingual English/Spanish, customizable call scripts, and HIPAA compliance. The scripting flexibility is particularly useful for Bakersfield businesses: an oil well services company can create different scripts for safety incidents versus routine scheduling calls, and an agricultural equipment dealer can have separate flows for parts orders versus service requests. The 125-minute plan at $179/month offers the best value if you know your call volume will be consistent.

  • Pricing: Pay-per-use at $49/month base + $1.37/min. 125-minute plan at $179/month ($1.30/min overage). 250-minute plan at $339/month. 500-minute plan at $649/month.
  • Best for: Bakersfield small businesses, seasonal agricultural operations, and budget-conscious companies that want traditional live answering with low monthly commitment and HIPAA compliance.
  • Key features: 24/7 live answering, bilingual English/Spanish, customizable scripts, HIPAA compliant, overflow call handling, 100% employee-owned (ESOP).
  • Drawback: The $49 base plan includes zero minutes. Every second of talk time costs $1.37/min on top. A 200-minute month on the pay-per-use plan runs $49 + $274 = $323. Even the 125-minute plan at $179 plus 75 overage minutes at $1.30 totals $276.50 for 200 minutes. Zinng covers the same volume for $61. MAP's scripting is flexible, but human operators rotate through hundreds of client accounts per shift. The oil field terminology, agricultural logistics vocabulary, and medical scheduling protocols that Bakersfield businesses rely on are unlikely to be delivered with the same consistency as an AI trained specifically on your business.

5. SAS (Specialty Answering Service): Most Flexible Pricing

Specialty Answering Service (SAS) homepage

Specialty Answering Service operates out of King of Prussia, Pennsylvania, and offers one of the widest pricing ranges in the industry. The pay-as-you-go plan starts at just $44/month plus $1.54 per minute, making it the lowest base price of any service reviewed here. Flat-rate plans run from $159/month for 100 minutes up to $10,599/month for 10,000 minutes, covering everything from a solo practitioner to a large energy company dispatch center. SAS also offers a 2-week free trial with no credit card, matching Zinng's risk-free onboarding approach.

For Bakersfield's diverse business landscape, where an independent farmworker legal aid clinic and a multinational petroleum refining company might both need answering services, SAS's range accommodates vastly different scales. Bilingual English/Spanish is included, HIPAA compliance is available, and 24/7 coverage is standard. Message taking, order processing, and appointment scheduling round out the feature set.

  • Pricing: Pay-as-you-go at $44/month + $1.54/min. Flat rate at $159/month for 100 minutes, scaling to $10,599/month for 10,000 minutes.
  • Best for: Bakersfield businesses of any size that want pricing flexibility, from solo agricultural consultants to large energy companies needing thousands of minutes.
  • Key features: 24/7 live answering, bilingual English/Spanish, message taking, order processing, appointment scheduling, HIPAA compliant, 2-week free trial (no credit card).
  • Drawback: Quality consistency is SAS's known weakness. The company serves a massive client base across industries, and operators rotating through oil field services, medical practices, and agricultural logistics accounts may not retain the specific terminology each Bakersfield business depends on. At 200 minutes on the pay-as-you-go plan, costs reach $44 + $308 = $352. The 100-minute flat rate at $159 plus 100 overage minutes at $1.54 totals $313. Zinng handles 200 minutes for $61, with AI that learns and retains your business vocabulary permanently rather than relying on a rotating shift of human operators.

Pricing Comparison

Here is what each service costs for a Bakersfield business handling approximately 200 minutes of calls per month.

Service Starting Price Cost for 200 min Per-Min Rate 24/7?
Zinng $49/mo $61/mo* $0.12/min overage Yes
Ruby $250/mo $720/mo** $4.40-$5.40/min Yes
PATLive $235/mo $415/mo*** $2.10/min overage Yes
MAP $49/mo $276.50/mo**** $1.30/min overage Yes
SAS $44/mo $313/mo***** $1.54/min overage Yes

*Zinng: $49 base + $12 (100 overage min at $0.12). **Ruby: Call Ruby 200 plan at $720 for 200 included minutes. ***PATLive: Standard plan at $415 for 200 included minutes. ****MAP: 125-minute plan at $179 + $97.50 (75 overage min at $1.30). *****SAS: 100-minute flat rate at $159 + $154 (100 overage min at $1.54).

AI vs. Human Answering Services for Bakersfield

Bakersfield's economy tests answering services in ways that most cities do not. Oil field operations generate calls at every hour of the day with technical vocabulary that general-purpose receptionists rarely encounter. Agricultural harvests create call volume spikes that can triple overnight and disappear within weeks. Healthcare demands HIPAA compliance across every interaction. And over half the population communicates primarily in Spanish.

Traditional live answering services handle these challenges by hiring, training, and scheduling human operators. The operators are real people who bring warmth, empathy, and conversational flexibility. But they also bring the limitations inherent to any human workforce: shift changes that reset context, sick days that reduce coverage, training periods where new operators learn your terminology by making mistakes on real calls, and per-minute costs that make extended conversations financially painful. An oil field services company that needs a 12-minute call to capture a detailed incident report pays $26.40 at PATLive's Standard rate or $52.80 at Ruby's 200-minute rate. The same call with Zinng costs $1.44.

AI answering eliminates the variables that make traditional services inconsistent. Zinng's AI learns your business vocabulary once and retains it permanently. It does not forget the difference between a workover rig and a drilling rig after a shift change. It does not mispronounce a pistachio variety name because it was trained on East Coast medical accounts last week. It does not take a sick day during almond harvest, the one week of the year when your call volume peaks. It handles 1 call or 50 simultaneous calls identically. And it documents every word of every conversation in a searchable transcript rather than a paraphrased message slip.

Human answering services still have a place for businesses where callers specifically need emotional support or complex relationship management. A hospice care service, a crisis hotline, or a concierge practice may benefit from a live person's empathy. But for Bakersfield's oil fields, farms, medical offices, and legal practices, where accuracy, availability, and affordability determine outcomes, AI is the stronger choice.

Frequently Asked Questions

What is the best answering service in Bakersfield?

For most Bakersfield businesses, Zinng is the best answering service in 2026. It provides 24/7 AI-powered call answering at $49/month with 100 minutes included, full call transcripts, HIPAA compliance, bilingual support, and unlimited simultaneous calls. Kern County's dual identity as California's oil capital and one of the nation's top agricultural counties creates communication demands that are both technical and time-sensitive. Zinng handles the terminology, the volume spikes, and the after-hours urgency at a fraction of what traditional services charge.

How much does a Bakersfield answering service cost?

Pricing ranges from $44/month (SAS, pay-as-you-go with $1.54/min usage) to $720/month (Ruby, 200 minutes included). For 200 minutes of monthly coverage, Zinng costs $61, MAP costs $276.50, SAS costs $313, PATLive costs $415, and Ruby costs $720. Bakersfield's affordable cost of living is a primary reason businesses operate here. AI answering preserves that economic advantage by delivering professional call coverage at a price point aligned with inland California economics.

Do Bakersfield answering services handle oil and gas industry calls?

All five services reviewed here provide 24/7 answering that can take messages and route calls for oil and gas companies. The difference is in vocabulary retention and documentation quality. Human operators at traditional services rotate through hundreds of client accounts and may not retain specialized petroleum terminology (API gravity, workover schedules, H2S safety protocols, barrel-per-day production rates) from call to call. Zinng's AI is trained specifically on your business and retains every term permanently, producing verbatim transcripts that oil field managers can act on without callbacks for clarification.

Are there HIPAA-compliant answering services in Bakersfield?

Yes. Zinng, SAS, and MAP offer HIPAA-compliant call handling. Bakersfield's healthcare sector is the city's largest employer, led by Bakersfield Memorial Hospital (385 beds, Nationally Certified Stroke Center), Mercy Hospital (serving the community since 1910), Kern Medical (15,500 inpatients and 125,000 clinic visits annually), and Clinica Sierra Vista (primary care for agricultural workers). Medical practices, dental offices, behavioral health providers, and home health agencies throughout Kern County need answering services that protect patient information during every call.

Can an answering service handle bilingual calls for Bakersfield's Hispanic community?

Most services on this list include or offer bilingual English/Spanish support. Over 54% of Bakersfield residents are Hispanic or Latino, and one in three households speaks Spanish at home. Zinng, SAS, MAP, and Ruby include bilingual support (Ruby for inbound calls). PATLive offers it as a $20/month add-on. For healthcare providers serving agricultural worker communities through Clinica Sierra Vista, legal offices handling immigration and workers' compensation cases, and service businesses throughout Kern County, bilingual capability is essential to reaching the majority of the local population.

Final Verdict

Bakersfield runs on two things: energy and agriculture. Both industries operate around the clock, generate technical communication that general-purpose receptionists struggle to capture accurately, and produce seasonal or shift-driven call volume swings that traditional per-minute pricing penalizes. Over half the population speaks Spanish at home. Healthcare is the top employer. And the entire business community is here because Bakersfield is affordable.

Ruby delivers polished live receptionists at premium pricing that makes sense for high-value professional services but not for the oil field and agricultural operations that define the local economy. PATLive brings 35 years of reliability but charges bilingual support as an add-on in a majority-Hispanic city. MAP offers the most flexible traditional pricing with HIPAA compliance and employee ownership. SAS provides the lowest base price with the widest range of plans for businesses of any size.

Zinng costs $61/month for the 200 minutes that the next cheapest traditional service charges $276.50 to cover. It answers in English and Spanish without add-on fees. It produces verbatim transcripts instead of paraphrased messages. It scales from 1 call to 50 simultaneous calls without busy signals, overage penalties, or degraded quality. And it retains the specialized vocabulary of petroleum operations, agricultural logistics, and medical terminology permanently, not just until the next shift change.

For an oil capital that is also an agricultural powerhouse, a healthcare hub, and one of California's most diverse and affordable cities, the math and the technology both point to the same conclusion. Start a free 14-day trial with Zinng and hear the difference on your next call.

Timothy Bramlett

Written by

Timothy Bramlett

Co-Founder & CEO, Zinng

Software engineer and entrepreneur building AI-powered communication tools that help businesses never miss a customer call.

View author profile
]; var tocLinks = document.querySelectorAll('.toc-link'); function updateTOC() { var currentSection = 0; sections.forEach(function(section, index) { var element = document.getElementById(section.id); if (element) { var rect = element.getBoundingClientRect(); if (rect.top <= 120) { currentSection = index; } } }); tocLinks.forEach(function(link, index) { if (index === currentSection) { link.classList.add('border-indigo-500', 'text-gray-900'); link.classList.remove('border-transparent', 'text-gray-400'); } else { link.classList.remove('border-indigo-500', 'text-gray-900'); link.classList.add('border-transparent', 'text-gray-400'); } }); } window.addEventListener('scroll', updateTOC); updateTOC(); })();