import{a as t}from"./chunk-de721f0a.js";import{c as n,d as r,e,f as i,g as o,h as s,i as a,j as u,k as c,l as f,m as p,n as h,o as l,p as v}from"./chunk-237a2f57.js";function d(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t.length;if(0===r)throw new Error("list of properties cannot be empty.");return function(n){return u(function(t,n){return function(r){for(var e=r,i=0;i<n;i++){var o=e[t[i]];if(void 0===o)return;e=o}return e}}(t,r))(n)}}function m(t,n){return void 0===n&&(n=!1),function(r){return r.lift(new x(t,n))}}var x=function(){function t(t,n){this.predicate=t,this.inclusive=n}return t.prototype.call=function(t,n){return n.subscribe(new w(t,this.predicate,this.inclusive))},t}(),w=function(n){function r(t,r,e){var i=n.call(this,t)||this;return i.predicate=r,i.inclusive=e,i.index=0,i}return t(r,n),r.prototype._next=function(t){var n,r=this.destination;try{n=this.predicate(t,this.index++)}catch(t){return void r.error(t)}this.nextOrComplete(t,n)},r.prototype.nextOrComplete=function(t,n){var r=this.destination;Boolean(n)?r.next(t):(this.inclusive&&r.next(t),r.complete())},r}(e);export{m as a,d as b};