֦i R d dl Z d dlZd dlZd dlZd dlZd dlmZmZmZm Z m Z mZ ddlm Z eej ef ZeZdedefdZded ede fd Zded edefdZ dded eded ede f dZ dded eded edef dZdedee fdZdededefdZded edeej6 fdZy) N)UnionIterableContextManagerBinaryIOTextIOAny )_commonpathreturnc t | }t j j | \ }}|rt | d |S )Nz must be only a file name)strosr split ValueError)r str_pathparent file_names 4/usr/lib64/python3.12/importlib/resources/_legacy.pynormalize_pathr sE 4yH h/FI D8#<=>> packageresourcec d t j | t | z j d S )Nrbr filesr openr r s r open_binaryr s) NMM'"^H%==CCDIIr c b t j | t | z j S N)r r r read_bytesr s r read_binaryr$ s' 5MM'"^H%==IIKKr encodingerrorsc j t j | t | z j d|| S )Nr)r% r&