North Dakota
Legislators get an up-close look to interconnected ag industry of central North Dakota
JAMESTOWN, N.D. — Desiree van Oosting’s first week after being elected to the North Dakota Legislature included a whirlwind look at one of the state’s most important industries: agriculture.
The voters of North Dakota’s District 36 on Nov. 5 elected Van Oosting to represent them in the state Senate. Van Oosting, a Republican from New Salem, grew up on a farm, as did her husband. So while she knew the importance of agriculture to North Dakota, she hadn’t seen some facets of the modern industry up close.
Van Oosting was among a group of new and experienced legislators to take a tour through central North Dakota agriculture on Nov. 8.
The group started off with a behind-the-scenes look at Cavendish Farms, a potato processing plant, before going to the Gayne Gasal farm and feedlot. Lunchtime included a look at North Dakota’s ag economic contribution, and an outlook panel featuring Howard Olson, the senior vice president of government and public affairs for AgCountry Farm Credit Services, along with ag producers Justin Sherlock, of Dazey, Ed Kessel, of Dickinson, and Warren Zenker, of Gackle. After lunch came a walking tour of Dakota Spirit ethanol plant and a bus tour of Green Bison Soy Processing.
For Van Oosting, it was an eye-opening day.
Jenny Schlecht / Agweek
“I haven’t seen any of these places. This is my first tour of the soybean plant, the ethanol plant and Cavendish farms,” she said.
At Cavendish Farms, the group donned hard hats and hair nets to see what happens as potatoes are brought in, washed and processed into a variety of products, including french fries, hash browns and more. At the Gasal farm, they heard about what happens on a corn and soybean farm and walked through a 3,000-head feedlot. And the tours of the ethanol and soybean crush plants gave a better idea at how the state’s biggest crops get turned into feedstocks for fuels, along with other products.
Each stop included opportunities for participants — which also included representatives from ag groups in the state — to ask questions. Topics discussed included the Renewable Fuels Standard, labor and transportation.
“Everything is just so interconnected,” Van Oosting said.
Jenny Schlecht / Agweek
Nowhere was that connection more apparent than at the Gasal farm, where Gayne Gasal, Blayke Gasal and Josh Daulton answered questions and showed everyone around the feedlot. The family has been in the Jamestown area for generations and on the current farm since 1949. Gayne Gasal boasted that the farm no longer is in the farm program, being able to operate without crop insurance or other government programs and payments. The farm grows corn and soybeans, which can be sold at the nearby plants.
The farm is also located near Cavendish Farms, which has put the feedlot sector in a unique position to use byproducts from the processing plants as feeds. The feedlot feeds waste products from Cavendish, along with dried distiller’s grain from Dakota Spirit and waste products of the soybean crush process from Green Bison.
Jenny Schlecht / Agweek
“French fries make good cattle feed,” Gayne Gasal said.
“The feed costs are the key to the operation,” Daulton said.
And all of the manure from the feedlot gets spread back on the fields, where more crops are grown.
The feedlot purchases calves around 500 pounds and feeds them to finish, shipping them to a Tyson plant in Dakota City, Nebraska. Having a beef packing plant closer would certainly be helpful for transportation costs, the Gasals and Daulton said. The size of finished cattle means the cost per head to truck to Nebraska gets steep.
“Trucking would be significantly better,” Daulton said.
Infrastructure was a big takeaway for Van Oosting.
“What I’m hearing today is the importance of roads and infrastructure for these businesses that bring in a lot of product to the soybean plant, the potatoes to Cavendish farms,” she said. “Learning a lot, especially as a freshman.”
Over lunchtime, the group heard from Matt Perdue, government relations director for North Dakota Farmers Union, about what ag means to North Dakota, including that the industry supports 110,480 jobs in the state. While researchers at North Dakota State University who completed a study on
ag’s economic contribution to North Dakota
, wouldn’t say that ag is the “largest driver of employment in the state,” Perdue said, “that is probably a fair assumption.”
Jenny Schlecht / Agweek
While the industry’s success means a lot to the state, there have been struggles in recent years. Olson, Sherlock, Zenker and Kessel discussed low grain prices and high input costs. Olson stressed that things aren’t as bad as the 1980s, when high interest rates and low prices were devastating to many family farms. But the problems are very real.
“We’ve got commodity prices that have dropped considerably the last two years, input costs have come down a little bit, but they still remain very high, and we find many of our farmers are in a net-loss situation this year where they’re losing money,” Olson said. “When you have those kinds of losses, they’re burning through their working capital. They’re burning through their cash. Now they have to figure out, how am I going to rebuild that working capital?”
While Sherlock said he might lose $300,000 this year — money that he says he “tucked away” over past years of better prices and high government payments — he said there are important things in North Dakota that make the future of agriculture look positive.
“Because of the Bank of North Dakota and some of the groundwork laid in the past” he said he can afford advancements like drain tiling that should make his land more productive in the future.
He and Kessel also talked about the importance of having value-added opportunities in the state, like the North Dakota State Mill’s white wheat program and ethanol and soybean plants. Domestic demand is vital, Sherlock said, pointing out that during the
trade war in 2018-19
, “50% of the revenue on my farm had nowhere to go.”
While
cattle prices
have been a bright spot in the ag market, Zenker, who has a cow-calf and feeder operation, compared equipment costs as an illustration that it’s still tough to make a profit. In the mid-’90s, he bought a new baler for $14,000. That was when a 500-pound calf brought about 40 cents per pound. Now, with like-sized calves bringing well over $3 per pound, his new baler cost $70,000.
“That 500-pound calf is not going to pay for that baler,” Zenker said.
A big talking point in the state in recent legislative sessions has been about expanding animal agriculture in North Dakota, which lags nearby states in livestock numbers. Zenker said lack of end processing remains an obstacle, with freight charges lingering around $60 per head, but he’s not sure whether communities in North Dakota would accept the changes that come with a processing plant. Sherlock suggested that a government entity should take the lead on looking into factors keeping animal agriculture in the state from growing.
In closing remarks to legislators, Kessel said lawmakers should keep regulations friendly to agriculture. Zenker agreed and said property tax relief also is important. Sherlock said things like working toward helping ensure affordable daycare are important.
“We’ve got to keep our small communities livable,” he said.
After the tours were finished, Olson said it is important to “help (legislators) get a better understanding of production agriculture, what we’ve got going on, the uphill battles that our farmers always face.” Showing them the importance of what value-added agriculture means for producers and the state is vital, he said.
“We’re so dependent on our export markets, whether it’s foreign exports or even just export out of the state. If we can be processing that product here and send it out in components, or feed it in the livestock and send it out as meat instead of meal, that’s just so much better for our agriculture,” he said.
North Dakota
Wintering Well Series Back For Another Season At McKenzie Co. Heritage Park & North Dakota Oil Museum
For those who are looking for community interaction, interested in learning an old-fashioned skill, or just simply looking for a way to offset those winter blues, join McKenzie County Heritage Park & North Dakota Oil Museum, 904 2nd Ave. SW, Watford City, for another season of Wintering Well: Slow Down & Savor. Classes begin Jan. 2, 2026, and will continue the first Friday of each month through the winter, 5-7 p.m. CT..
The holiday season is a time where many remember and honor past traditions, though it can also be a time where the usual business of life gets ramped up. In this modern word, we are heavily inundated with outside pressures that tell us to “keep busy and work harder”. Technology can be a constant pull, drawing us away from quiet connection.
But, for many of the people who settled and lived in this region before us, life, the holidays and winter in general carried a different feeling altogether. The winter season was often a time that was looked forward to and folks seemed more willing to go along with nature rather than struggling against it. Winter is a time of rest and renewal. A time for life to slow, and strength and energy to be gathered for spring, summer and fall. With the cold winter outside their doors, people were content to sit by the fire, catch up with friends and family, and engage in pastimes that were both fun and functional.
These Hygge style Wintering Well evenings offer an opportunity to slow down and savor this time of year. Bring a crocheting, knitting or embroidery project or start a new one. Even if you have no experience with these skills, bring a crochet hook and some yarn and other participants can help you get started. In addition to learning new skills and practicing existing ones, there is good conversation to share, new relationships to foster and snacks will be served.
These classes are intended for adults, but tweens who want to learn are welcome to come along with their parents. There is no charge to join, but donations are always welcome.
Take a step back from technology and busy schedules to reconnect with the old-fashioned life at these cozy, creative sessions, and Winter Well this season.
For more information, visit McKenzie County Heritage Park & North Dakota Oil Museum’s Facebook page or call them at 701-842-6434.
North Dakota
‘Changed me and saved me’: AIR program in North Dakota helps those in recovery
EDITOR’S NOTE: For help with substance abuse or addiction, North Dakota residents can contact the All of Us In Recovery program at
allofusinrecovery.com
or the North Dakota Department of Human Services at
hhs.nd.gov/behavioral-health
. National help is also available at 1-800-662-4357.
FARGO — A special program for those battling addiction in North Dakota is finding huge successes with a state program called “All of Us In Recovery,” or AIR.
The proof can be found in the lives now changed because of the team approach.
${t||””}${r?`(${n}: ${r})`.replace(/s+/g,” “):””}
`;var u=n(2799),i=n(974);function o(e,t){const{message:n,code:o}=t,s=r(e.get(“id”),n,e.get(“localization”).errors.errorCode,o.toString()),a=e.get(“width”),c=e.get(“height”),l=(0,u.az)(s);return(0,i.oB)(l,{width:a.toString().indexOf(“%”)>0?a:`${a}px`,height:c.toString().indexOf(“%”)>0?c:`${c}px`}),l}},9926:(e,t,n)=>{“use strict”;n.d(t,{Z:()=>c});var r=n(1776),u=n(2799),i=n(974);const o=[];let s=-1;const a=()=>{(0,r.W)(s),s=(0,r.U)(()=>{o.forEach(e=>{e.view.updateBounds();const t=e.view.model.get(“containerWidth”);e.resized=e.width!==t,e.width=t}),o.forEach(e=>{e.contractElement.scrollLeft=2*e.width}),o.forEach(e=>{(0,i.oB)(e.expandChild,{width:e.width+1}),e.resized&&e.view.model.get(“visibility”)&&e.view.updateStyles()}),o.forEach(e=>{e.expandElement.scrollLeft=e.width+1}),o.forEach(e=>{e.resized&&e.view.checkResized()})})};class c{constructor(e,t,n){const r={display:”block”,position:”absolute”,top:0,left:0},s={width:”100%”,height:”100%”},c=(0,u.az)(”),l=c.firstChild,d=l.firstChild,f=l.nextSibling;(0,i.oB)([l,f],Object.assign({overflow:”auto”},r,s)),(0,i.oB)(c,Object.assign({},r,s)),this.expandElement=l,this.expandChild=d,this.contractElement=f,this.hiddenElement=c,this.element=e,this.view=t,this.model=n,this.width=0,this.resized=!1,e.firstChild?e.insertBefore(c,e.firstChild):e.appendChild(c),e.addEventListener(“scroll”,a,!0),o.push(this),a()}destroy(){if(this.view){const e=o.indexOf(this);-1!==e&&o.splice(e,1),this.element.removeEventListener(“scroll”,a,!0),this.element.removeChild(this.hiddenElement),this.view=this.model=null}}}},4671:(e,t,n)=>{“use strict”;n.d(t,{Z:()=>p});var r=n(6875);const u=[],i=[],o=[],s={};let a,c=!1;const l=(e,t)=>{for(let n=t.length;n–;){const r=t[n];if(e.target===r.getContainer()){r.setIntersection(e);break}}},d=()=>{u.forEach(e=>{e.model.set(“activeTab”,(0,r.Z)())})},f=(e,t)=>{const n=t.indexOf(e);-1!==n&&t.splice(n,1)},h=e=>{o.forEach(t=>{t(e)})};document.addEventListener(“visibilitychange”,d),document.addEventListener(“webkitvisibilitychange”,d);const p={add(e){u.push(e)},remove(e){f(e,u),document.removeEventListener(“visibilitychange”,d),document.removeEventListener(“webkitvisibilitychange”,d),window.removeEventListener(“scroll”,h)},addScrollHandler(e){c||(c=!0,window.addEventListener(“scroll”,h)),o.push(e)},removeScrollHandler(e){const t=o.indexOf(e);-1!==t&&o.splice(t,1)},addWidget(e){i.push(e)},removeWidget(e){f(e,i)},size:()=>u.length,observe(e){(()=>{const e=window.IntersectionObserver;a||(a=new e(e=>{if(null!=e&&e.length)for(let t=e.length;t–;){const n=e[t];l(n,u),l(n,i)}},{threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}))})(),s[e.id]||(s[e.id]=!0,a.observe(e))},unobserve(e){a&&s[e.id]&&(delete s[e.id],a.unobserve(e))}}},2445:(e,t,n)=>{“use strict”;n.d(t,{ZP:()=>v,qG:()=>F});var r=n(5083),u=n(1569),i=n(6042),o=n(7034),s=n(6577),a=n(6599),c=n(462);const l=”__CONTEXTUAL__”,d=(e,t)=>{const n=e.querySelector(t);if(n)return n.getAttribute(“content”)};var f=n(4737),h=n.n(f),p=n(67),D=n(7164);const g=e=>”string”==typeof e&&/^//(?:content.jwplatform|cdn.jwplayer).com//.test(e),m=e=>`https:${e}`,y=e=>{const t=(0,c.Z)(e.edition),n=e.related,r=!t(“discovery”)||n!==Object(n),u=!n||”none”!==n.displayMode,i=n||{};let o=void 0===i.oncomplete?”none”:i.oncomplete,s=i.autoplaytimer;!1===o||e.repeat?o=”hide”:”none”===o&&(s=0);const a=”autoplay”===o&&s{if(t){e[t.client||(0,D.sb)(n)]=t,delete t.client}},F=e=>{const t=Object.assign({},e.plugins),n=(0,c.Z)(e.edition);if(n(“ads”)){const n=Object.assign({},e.advertising),r=n.client;if(r){t[(0,D.sb)(r)||r]=n,delete n.client}n.bids&&C(t,n.bids,”bidding”)}if(n(“jwpsrv”)){let n=e.analytics;n!==Object(n)&&(n={}),C(t,n,”jwpsrv”)}return C(t,e.ga,”gapro”),C(t,e.interactive,”interactive”),C(t,e.keepWatching,”keepWatching”),t},v=function(e,t){var c;let f=(0,r.ZP)(e,t);const D=f.key||s.default.key,C=new a.ZP(D),v=C.edition();if(“free”===C.edition()&&(f=Object.assign({skin:{active:”#ff0046″,timeslider:{progress:”none”}},logo:{position:”control-bar”,file:h()}},r.ke,(0,i.ei)(f,[“analytics”,”aspectratio”,”base”,”file”,”height”,”playlist”,”sources”,”timeSlider”,”width”]))),f.key=D,f.edition=v,f.error=C.error(),f.generateSEOMetadata=f.generateSEOMetadata||!1,null!=(c=f).enableVideoThumbnails||(c.enableVideoThumbnails=!0),”unlimited”===v){const e=(0,u.getScriptPath)(“jwplayer.js”);if(!e)throw new Error(“Error setting up player: Could not locate jwplayer.js script tag”);n.p=e}var A,E,b;if(f.related=y(f),f.ab&&(f.ab=(e=>{let t=e.ab;return t.clone&&(t=t.clone()),Object.keys(t.tests).forEach(n=>{t.tests[n].forEach(t=>{t.addConfig&&t.addConfig(e,t.selection)})}),t})(f)),f.plugins=F(f),A=f.playlist,(0,i.HD)(A)&&A.indexOf(l)>-1&&(f.playlist=((e,t)=>{var n;const r=null==e||null==e.querySelector||null==(n=e.querySelector(“title”))?void 0:n.textContent,u=d(e,’meta[property=”og:title”]’);let i=encodeURIComponent(u||r||””);const o=d(e,’meta[property=”og:description”]’)||d(e,’meta[name=”description”]’);return o&&(i+=`&page_description=${encodeURIComponent(o)}`),t.replace(l,i)})(document,f.playlist),f.contextual=!0),(0,o.isFileProtocol)()){const{playlist:e,t}=f;g(e)&&(f.playlist=m(e)),t&&g(t.file)&&(t.file=m(t.file))}return f.__abSendDomainToFeeds&&(b=f.playlist,/.jwplatform.com|.jwplayer.com/.test(b))&&(f.playlist=(E=f.playlist)+`${-1!==E.indexOf(“?”)?”&”:”?”}page_domain=${encodeURIComponent((0,p.X)())}`),f}},6577:(e,t,n)=>{“use strict”;n.d(t,{default:()=>re});n(5723);var r=n(1096),u=n.n(r);window.Promise||(window.Promise=u());var i=n(1569),o=n(6391),s=n(6593),a=n(670);const c={availableProviders:s.B,registerProvider:a.Z};var l=n(4425);c.registerPlugin=function(e,t,n){“jwpsrv”!==e&&(0,l.fo)(e,t,n)};const d=c;var f=n(6601),h=n(4742),p=n(8348),D=n(3399),g=n(1643),m=n(7411),y=n(328),C=n(7164);const F=[[“vastxml”,”adtag”,”schedules”]],v={googima:F,vast:F,cnx:F,jwx:F},A=(e,t)=>{const n=e.getPlugin(t),r=Object.keys(v);if(-1===r.indexOf(t))throw new Error(`destroyDynamicPlugin must be called with plugins with one of the following plugins: ${r.toString()}`);if(!n)return;if(n.resize&&e.off(“resize”,n.resizeHandler),delete e.plugins[t],n.destroy)try{n.destroy()}catch(t){e.utils.logger.debug(“jwplayer/plugins/dynamic-plugins: “,t)}const u=n.div;null!=u&&u.parentElement&&u.parentElement.removeChild(u),e.trigger(“pluginDestroyed”,{type:”pluginDestroyed”,name:t})},E=(e,t,n,r)=>{const u=(0,C.Nq)(t),i=Object.keys(v),o=((e,t)=>{if(t[e])return t[e];const n=(0,C.sb)(e);if(t[n])return t[n];const r=(0,C.Nq)(e);return t[r]?t[r]:{}})(t,r);if(-1===i.indexOf(u))throw new Error(`setupDynamicPlugin must be called with plugins with one of the following plugins: ${i.toString()}`);A(e,u);const s=((e,t,n)=>{const r=Object.assign({},e),u=Object.assign({},t),i=Object.keys(u).filter(e=>null===e);return i.forEach(e=>delete r[e]),i.forEach(e=>delete u[e]),n.forEach(e=>{e.some(e=>u[e])&&e.forEach(e=>delete r[e])}),Object.assign({},r,u)})(o,n,v[u]);return(0,l.Ve)(t,s,e)};var b=n(8494),w=n(6042),B=n(8762);let k=0;const j=function(e,t){const n=new D.ZP(t);return n.on(g.Rc,t=>{e._qoe.tick(“ready”),t.setupTime=e._qoe.between(“setup”,”ready”)}),n.on(“all”,(t,n)=>{e.trigger(t,n)}),n},P=function(e,t){const n=e.plugins,r=Object.keys(n).map(e=>{const t=n[e];return delete n[e],t}),u=e.utils.logger.child(“jwplayer/api/api”);t.get(“setupConfig”)&&e.trigger(“remove”),e.off(),t.playerDestroy(),r.forEach(e=>{if(e.reset)try{e.reset()}catch(e){u.debug(e)}else if(e.destroy)try{e.destroy()}catch(e){u.debug(e)}}),t.getContainer().removeAttribute(“data-jwplayer-id”)};function S(e){const t=++k,n=e.id||`player-${t}`,r=new m.Z,u={},i=new B.Z(`JWPlayer[${n}]`);let s=j(this,e);r.tick(“init”),e.setAttribute(“data-jwplayer-id”,n),Object.defineProperties(this,{id:{enumerable:!0,get:()=>n},uniqueId:{enumerable:!0,get:()=>t},plugins:{enumerable:!0,get:()=>u},_qoe:{enumerable:!0,get:()=>r},version:{enumerable:!0,get:()=>f.i},Events:{enumerable:!0,get:()=>y.ZP},utils:{enumerable:!0,get:()=>Object.assign({},b.Z,{logger:i})},_:{enumerable:!0,get:()=>w.ZP}}),Object.assign(this,{_events:{},setup(t){return r.clear(“ready”),r.tick(“setup”),s&&P(this,s),s=j(this,e),s.init(t,this),this.on(t.events,null,this)},remove(){return this.getPip()&&this.setPip(!1),function(e){for(let t=o.Z.length;t–;)if(o.Z[t].uniqueId===e.uniqueId){o.Z.splice(t,1);break}}(this),s&&P(this,s),Object.keys(u).forEach(e=>{delete u[e]}),this},qoe(){const e=s.getItemQoe();return{setupTime:this._qoe.between(“setup”,”ready”),firstFrame:e.getFirstFrame?e.getFirstFrame():null,player:this._qoe.dump(),item:e.dump()}},addCues(e){return Array.isArray(e)&&s.addCues(e),this},getAudioTracks:()=>s.getAudioTracks(),getBuffer:()=>s.get(“buffer”),getCaptions:()=>s.get(“captions”),getCaptionsList:()=>s.getCaptionsList(),getConfig:()=>s.getConfig(),getContainer:()=>s.getContainer(),getControls:()=>s.get(“controls”),getCues:()=>s.getCues(),getCurrentAudioTrack:()=>s.getCurrentAudioTrack(),getCurrentCaptions:()=>s.getCurrentCaptions(),getCurrentQuality:()=>s.getCurrentQuality(),getCurrentTime:()=>s.get(“currentTime”),getAbsolutePosition:()=>s.getAbsolutePosition(),getDuration:()=>s.get(“duration”),getEnvironment:()=>p,getFullscreen:()=>s.get(“fullscreen”),getHeight:()=>s.getHeight(),getItemMeta:()=>s.get(“itemMeta”)||{},getMute:()=>s.getMute(),getContainerPercentViewable:()=>s.get(“intersectionRatio”),getPercentViewable:()=>s.get(“visibility”),getPip:()=>s.get(“pip”),getPlaybackRate:()=>s.get(“playbackRate”),getPlaylist:()=>s.get(“playlist”),getPlaylistIndex:()=>s.get(“item”),getPlaylistItem(e){if(!b.Z.exists(e))return s.get(“playlistItem”);const t=this.getPlaylist();return t?t[e]:null},getPosition:()=>s.get(“position”),getProvider:()=>s.getProvider(),getQualityLevels:()=>s.getQualityLevels(),getSafeRegion:(e=!0)=>s.getSafeRegion(e),getState:()=>s.getState(),getStretching:()=>s.get(“stretching”),getContainerViewable:()=>s.get(“containerViewable”),getViewable:()=>s.get(“viewable”),getVisualQuality:()=>s.getVisualQuality(),getVolume:()=>s.get(“volume”),getWidth:()=>s.getWidth(),isReady:()=>s.isReady(),setCaptions(e){return s.setCaptions(e),this},setConfig(e){return s.setConfig(e),this},setControls(e){return s.setControls(e),this},setCurrentAudioTrack(e){s.setCurrentAudioTrack(e)},setCurrentCaptions(e){s.setCurrentCaptions(e)},setCurrentQuality(e){s.setCurrentQuality(e)},setFullscreen(e){return s.setFullscreen(e),this},setAllowFullscreen(e){return s.setAllowFullscreen(e),this},setMute(e){return s.setMute(e),this},setPip(e){return s.setPip(e),this},setPlaybackRate(e){return s.setPlaybackRate(e),this},setPlaylistItem(e,t){return s.setPlaylistItem(e,t),this},setCues(e){return Array.isArray(e)&&s.setCues(e),this},setVolume(e){return s.setVolume(e),this},load(e,t){return s.load(e,t),this},preload(e){return s.preload(e),this},play(e){return s.play(e),this},pause(e){return s.pause(e),this},playToggle(e){switch(this.getState()){case g.r0:case g.Kb:return this.pause(e);default:return this.play(e)}},seek(e,t){return s.seek(e,t),this},playlistItem(e,t){return s.playlistItem(e,t),this},playlistNext(e){return s.playlistNext(e),this},playlistPrev(e){return s.playlistPrev(e),this},next(e){return s.next(e),this},requestPip(e){return s.requestPip(e),this},castToggle(){return s.castToggle(),this},stopCasting(){return s.stopCasting(),this},requestCast(e){return s.requestCast(e),this},createInstream:()=>s.createInstream(),stop(){return s.stop(),this},resize(e,t){return s.resize(e,t),this},addButton(e,t,n,r,u){return s.addButton(e,t,n,r,u),this},removeButton(e){return s.removeButton(e),this},getMediaElement:()=>s.getMediaElement(),attachMedia(){return s.attachMedia(),this},detachMedia(){return s.detachMedia(),this},isBeforeComplete:()=>s.isBeforeComplete(),isBeforePlay:()=>s.isBeforePlay(),setPlaylistItemCallback(e,t){s.setItemCallback(e,t)},removePlaylistItemCallback(){s.setItemCallback(null)},getPlaylistItemPromise:e=>s.getItemPromise(e),getFloating:()=>Boolean(s.get(“isFloating”)),setFloating(e){s.setConfig({floating:{mode:e?”always”:”never”}})},getChapters:()=>s.getChapters(),getCurrentChapter:()=>s.getCurrentChapter(),setChapter:e=>s.setChapter(e),setupDynamicPlugin(e,t){return e?E(this,e,t,s.get(“plugins”)):Promise.resolve()},destroyDynamicPlugin(e){if(e)return A(this,e)}})}Object.assign(S.prototype,{on(e,t,n){return y.on.call(this,e,t,n)},once(e,t,n){return y.IH.call(this,e,t,n)},off(e,t,n){return y.S1.call(this,e,t,n)},trigger(e,t){return(t=w.ZP.isObject(t)?Object.assign({},t):{}).type=e,h.Z.debug?y.X$.call(this,e,t):y.wj.call(this,e,t)},getPlugin(e){return this.plugins[e]},addPlugin(e,t){this.plugins[e]=t,”function”==typeof t.addToPlayer&&(this.isReady()?t.addToPlayer.call(this,!0):this.on(“ready”,function(){t.addToPlayer.call(this,!1)})),t.resize&&this.on(“resize”,t.resizeHandler)},registerPlugin(e,t,n){(0,l.fo)(e,t,n)},getAdBlock:()=>!1,playAd(e){},pauseAd(e){},skipAd(){},setAdMacros(e){},getAdMacros(){},updateQueryJSAdTargeting(e){},getQueryJSAdTargeting(){}}),n.p=(0,i.loadFrom)();const O=e=>{for(let t=0;t